Add footstep classes to TB configs, use in vessel
This commit is contained in:
parent
c874a1372c
commit
9687e5d9e0
30
godot/maps/entities/func_footstep.tres
Normal file
30
godot/maps/entities/func_footstep.tres
Normal file
@ -0,0 +1,30 @@
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDSolidClass" format=3 uid="uid://kucduml23ld1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://5cow84q03m6a" path="res://addons/func_godot/src/fgd/func_godot_fgd_solid_class.gd" id="1_u647r"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_u647r")
|
||||
collision_layer = 4
|
||||
collision_mask = 0
|
||||
classname = "func_footstep"
|
||||
description = "Allows configuring a specific footstep sound to be emitted when walked over."
|
||||
class_properties = Dictionary[String, Variant]({
|
||||
"kind": {
|
||||
"Bone": "Bone",
|
||||
"Grass": "Grass",
|
||||
"Grate": "Grate",
|
||||
"Gravel": "Gravel",
|
||||
"Metal": "Metal",
|
||||
"Normal": "Normal",
|
||||
"Sand": "Sand",
|
||||
"Tile": "Tile",
|
||||
"Water": "Water",
|
||||
"Wood": "Wood"
|
||||
}
|
||||
})
|
||||
class_property_descriptions = Dictionary[String, Variant]({
|
||||
"kind": "The footstep noise category used"
|
||||
})
|
||||
auto_apply_to_matching_node_properties = true
|
||||
node_class = "FootstepBox"
|
||||
metadata/_custom_type_script = "uid://5cow84q03m6a"
|
||||
15
godot/maps/entities/func_throughshootable_footstep.tres
Normal file
15
godot/maps/entities/func_throughshootable_footstep.tres
Normal file
@ -0,0 +1,15 @@
|
||||
[gd_resource type="Resource" script_class="FuncGodotFGDSolidClass" format=3 uid="uid://dvv2b1bgyu45g"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://5cow84q03m6a" path="res://addons/func_godot/src/fgd/func_godot_fgd_solid_class.gd" id="1_5g55y"]
|
||||
[ext_resource type="Resource" uid="uid://kucduml23ld1" path="res://maps/entities/func_footstep.tres" id="1_bb8l2"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_5g55y")
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
classname = "func_throughshootable_footstep"
|
||||
description = "Otherwise like a regular worldspawn brush, but can be shot through, and can also specify the footstep sound. Generally useful for e.g. grates / fences."
|
||||
base_classes = Array[Resource]([ExtResource("1_bb8l2")])
|
||||
auto_apply_to_matching_node_properties = true
|
||||
node_class = "FootstepBox"
|
||||
metadata/_custom_type_script = "uid://5cow84q03m6a"
|
||||
@ -8,10 +8,12 @@
|
||||
[ext_resource type="Resource" uid="uid://btmowkranpsd8" path="res://maps/entities/func_killbox.tres" id="5_t5oe3"]
|
||||
[ext_resource type="Resource" uid="uid://dps4b2wkpjfgo" path="res://maps/entities/item_health.tres" id="6_qvuam"]
|
||||
[ext_resource type="Resource" uid="uid://ppwmhibt413x" path="res://maps/entities/func_throughshootable.tres" id="7_2s17x"]
|
||||
[ext_resource type="Resource" uid="uid://kucduml23ld1" path="res://maps/entities/func_footstep.tres" id="8_fkacr"]
|
||||
[ext_resource type="Resource" uid="uid://dvv2b1bgyu45g" path="res://maps/entities/func_throughshootable_footstep.tres" id="9_wpah7"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_2w5ia")
|
||||
fgd_name = "SkullBall"
|
||||
base_fgd_files = Array[Resource]([ExtResource("1_j17uj")])
|
||||
entity_definitions = Array[Resource]([ExtResource("1_fkacr"), ExtResource("3_qwe78"), ExtResource("4_x6tyy"), ExtResource("5_t5oe3"), ExtResource("6_qvuam"), ExtResource("7_2s17x")])
|
||||
entity_definitions = Array[Resource]([ExtResource("1_fkacr"), ExtResource("3_qwe78"), ExtResource("4_x6tyy"), ExtResource("5_t5oe3"), ExtResource("6_qvuam"), ExtResource("7_2s17x"), ExtResource("8_fkacr"), ExtResource("9_wpah7")])
|
||||
metadata/_custom_type_script = "uid://drlmgulwbjwqu"
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
Reference in New Issue
Block a user