Skip to content

Commit f2aaa64

Browse files
2025.12 Tweaks
- Update property descriptions in Map Settings. - Reorder `CullInteriorFaces` in default FGD File to be written before inheriting entities. - Made FGD Entity Class abstract, as it is not a valid entity for FGDs and only intended to be extended from.
1 parent 3211efd commit f2aaa64

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

addons/func_godot/fgd/func_godot_fgd.tres

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
[resource]
1414
script = ExtResource("1_axt3h")
15-
entity_definitions = Array[Resource]([ExtResource("1_ehab8"), ExtResource("2_7jebp"), ExtResource("2_ri2rx"), ExtResource("3_7jigp"), ExtResource("3_fqfww"), ExtResource("5_b2q3p"), ExtResource("4_c4ucw"), ExtResource("3_h5cmk")])
15+
entity_definitions = Array[Resource]([ExtResource("1_ehab8"), ExtResource("2_7jebp"), ExtResource("3_h5cmk"), ExtResource("2_ri2rx"), ExtResource("3_7jigp"), ExtResource("3_fqfww"), ExtResource("5_b2q3p"), ExtResource("4_c4ucw")])

addons/func_godot/src/fgd/func_godot_fgd_entity_class.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@icon("res://addons/func_godot/icons/icon_godot_ranger.svg")
2-
class_name FuncGodotFGDEntityClass extends Resource
2+
@abstract class_name FuncGodotFGDEntityClass extends Resource
33
## Entity definition template. WARNING! Not to be used directly! Use [FuncGodotFGDBaseClass], [FuncGodotFGDSolidClass], or [FuncGodotFGDPointClass] instead.
44
##
55
## Entity definition template. It holds all of the common entity class properties shared between [FuncGodotFGDBaseClass], [FuncGodotFGDSolidClass], or [FuncGodotFGDPointClass].

addons/func_godot/src/map/func_godot_map_settings.gd

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,19 @@ var scale_factor: float = 0.03125
4747
## Nodes will be named `"entity_" + name_property`. An entity's name should be unique, otherwise you may run into unexpected behavior.
4848
@export var entity_name_property: String = ""
4949

50-
## Class property that determines whether the [FuncGodotFGDSolidClass] entity performs mesh smoothing operations.
50+
## Entity class property that determines whether the [FuncGodotFGDSolidClass] entity performs mesh smoothing operations.
5151
@export var entity_smoothing_property: String = "_phong"
5252

53-
## Class property that contains the angular threshold that determines when a [FuncGodotFGDSolidClass] entity's mesh vertices are smoothed.
53+
## Entity class property that contains the angular threshold that determines when a [FuncGodotFGDSolidClass] entity's mesh vertices are smoothed.
5454
@export var entity_smoothing_angle_property: String = "_phong_angle"
5555

56-
## Class property that contains the snapping epsilon for generated vertices of [FuncGodotFGDSolidClass] entities.
56+
## Entity class property that contains the snapping epsilon for generated vertices of [FuncGodotFGDSolidClass] entities.
5757
## Utilizing this property can help reduce instances of seams between polygons.
5858
@export var vertex_merge_distance_property: String = "_vertex_merge_distance"
5959

60-
## Class property that tells whether interior faces should be culled for that brush entity
61-
## Interior faces are faces that are not visible from any angle
60+
## Entity class property that tells whether interior faces should be culled for that brush entity.
61+
## Interior faces are faces with matching vertices or are flush within a larger face.
62+
## Note that this has a performance impact that scales with how many brushes are in the entity.
6263
@export var cull_interior_faces_property: String = "_cull_interior_faces"
6364

6465
@export_subgroup("")

0 commit comments

Comments
 (0)