Skip to content

Commit

Permalink
Organization and Modular Worldspawn
Browse files Browse the repository at this point in the history
  • Loading branch information
RhapsodyInGeek committed Feb 12, 2025
1 parent a6b8e89 commit f4e53f1
Show file tree
Hide file tree
Showing 19 changed files with 920 additions and 0 deletions.
449 changes: 449 additions & 0 deletions FuncGodot Entities/GD Script/modular_worldspawn/entities/worldspawn.gd

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://x7t67m1uo617"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_a4lu3"]

[resource]
script = ExtResource("1_a4lu3")
classname = "Worldspawn_Adjustments"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"adjustment_brightness": 1.0,
"adjustment_color_correction_path": "",
"adjustment_contrast": 1.0,
"adjustment_enabled": false,
"adjustment_saturation": 1.0
}
class_property_descriptions = {}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://cxckph0lt4js5"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_3h5po"]

[resource]
script = ExtResource("1_3h5po")
classname = "Worldspawn_AmbientLight"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"ambient_light_color": Color(1, 1, 1, 1),
"ambient_light_energy": 1.0,
"ambient_light_sky_contribution": 1.0,
"ambient_light_source": {
"background": 0,
"color": 2,
"disabled": 1,
"sky": 3
}
}
class_property_descriptions = {
"ambient_light_source": ["", 2]
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://c53s30pt2h3rj"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_u5atl"]

[resource]
script = ExtResource("1_u5atl")
classname = "Worldspawn_BG"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"bg_camera_feed_id": 1,
"bg_canvas_max_layer": 0,
"bg_color": Color(0, 0, 0, 1),
"bg_energy_multiplier": 1.0,
"bg_mode": {
"camera_feed": 5,
"canvas": 3,
"clear_color": 0,
"color": 1,
"keep": 4,
"sky": 2
}
}
class_property_descriptions = {
"bg_mode": ["", 1]
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://cg8y28cc5be80"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_dlwy0"]

[resource]
script = ExtResource("1_dlwy0")
classname = "Worldspawn_Fog"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"fog_density": 0.01,
"fog_depth_begin": 10.0,
"fog_depth_curve": 1.0,
"fog_depth_end": 100.0,
"fog_enabled": false,
"fog_height": 0.0,
"fog_height_density": 0.0,
"fog_light_color": Color(0.517647, 0.552941, 0.607843, 1),
"fog_light_energy": 1.0,
"fog_mode": {
"depth": 1,
"exponential": 0
},
"fog_sky_affect": 1.0,
"fog_sun_scatter": 0.0
}
class_property_descriptions = {
"fog_mode": ["", 0]
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://bkcb80nihb3ta"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_056wq"]

[resource]
script = ExtResource("1_056wq")
classname = "Worldspawn_Glow"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"glow_blend_mode": {
"additive": 0,
"mix": 4,
"replace": 3,
"screen": 1,
"softlight": 2
},
"glow_bloom": 0.0,
"glow_enabled": false,
"glow_hdr_luminance_cap": 12.0,
"glow_hdr_scale": 2.0,
"glow_hdr_threshold": 1.0,
"glow_intensity": 0.8,
"glow_level_1": 0.0,
"glow_level_2": 0.0,
"glow_level_3": 1.0,
"glow_level_4": 0.0,
"glow_level_5": 1.0,
"glow_level_6": 0.0,
"glow_level_7": 0.0,
"glow_map_image_path": "",
"glow_map_strength": 0.8,
"glow_normalized": false,
"glow_strength": 1.0
}
class_property_descriptions = {
"glow_blend_mode": ["", 2]
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://bstf13ywqtowx"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_fc7om"]

[resource]
script = ExtResource("1_fc7om")
classname = "Worldspawn_ReflectedLightSource"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"reflected_light_source": {
"background": 0,
"disabled": 1,
"sky": 2
}
}
class_property_descriptions = {
"reflected_light_source": ["", 1]
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://dxo6wswuhjbgp"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_srmf6"]

[resource]
script = ExtResource("1_srmf6")
classname = "Worldspawn_SDFGI"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"sdfgi_bounce_feedback": 0.5,
"sdfgi_cascade0_distance": 12.8,
"sdfgi_cascades": 4,
"sdfgi_enabled": false,
"sdfgi_energy": 1.0,
"sdfgi_max_distance": 204.8,
"sdfgi_min_cell_size": 0.2,
"sdfgi_normal_bias": 1.1,
"sdfgi_probe_bias": 1.1,
"sdfgi_read_sky_light": true,
"sdfgi_use_occlusion": false,
"sdfgi_y_scale": {
"100 Percent": 2,
"50 Percent": 0,
"75 Percent": 1
}
}
class_property_descriptions = {
"sdfgi_y_scale": ["", 1]
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://b3h3ebmyf1tgi"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_vjd74"]

[resource]
script = ExtResource("1_vjd74")
classname = "Worldspawn_Sky"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"sky_fov": 0.0,
"sky_material": "",
"sky_process_mode": {
"automatic": 0,
"incremental": 2,
"quality": 1,
"realtime": 3
},
"sky_radiance_size": {
"1024": 5,
"128": 2,
"2048": 6,
"256": 3,
"32": 0,
"512": 4,
"64": 1
},
"sky_rotation": Vector3(0, 0, 0)
}
class_property_descriptions = {
"sky_process_mode": ["", 0],
"sky_radiance_size": ["", 3]
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://b6cs7giu705jj"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_nkdgd"]

[resource]
script = ExtResource("1_nkdgd")
classname = "Worldspawn_SSAO"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"ssao_ao_channel_affect": 0.0,
"ssao_detail": 0.5,
"ssao_enabled": false,
"ssao_horizon": 0.06,
"ssao_intensity": 2.0,
"ssao_light_affect": 0.0,
"ssao_power": 1.5,
"ssao_radius": 1.0,
"ssao_sharpness": 0.98
}
class_property_descriptions = {}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://u5owgegpulg4"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_y8spm"]

[resource]
script = ExtResource("1_y8spm")
classname = "Worldspawn_SSIL"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"ssil_enabled": false,
"ssil_intensity": 1.0,
"ssil_normal_rejection": 1.0,
"ssil_radius": 5.0,
"ssil_sharpness": 0.98
}
class_property_descriptions = {}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://d2bk0vf1dxvdw"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_7yrc3"]

[resource]
script = ExtResource("1_7yrc3")
classname = "Worldspawn_SSR"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"ssr_depth_tolerance": 0.2,
"ssr_enabled": false,
"ssr_fade_in": 0.15,
"ssr_fade_out": 2.0,
"ssr_max_steps": 64
}
class_property_descriptions = {}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://bppk0apwmcy4"]

[ext_resource type="Script" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_t546n"]

[resource]
script = ExtResource("1_t546n")
classname = "Worldspawn_Tonemap"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([])
class_properties = {
"tonemap_exposure": 1.0,
"tonemap_mode": {
"aces": 3,
"filmic": 2,
"linear": 0,
"reinhardt": 1
},
"tonemap_white": 1.0
}
class_property_descriptions = {
"tonemap_mode": ["", 0]
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0.8, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
Loading

0 comments on commit f4e53f1

Please sign in to comment.