stick-the-quick/characters/base/base_character.tscn

77 lines
5.3 KiB
Plaintext
Raw Normal View History

2025-03-29 11:13:11 -07:00
[gd_scene load_steps=30 format=3 uid="uid://blpbgwklc21k5"]
2025-03-28 19:02:51 -07:00
[ext_resource type="Script" uid="uid://jshmfmeoj28y" path="res://characters/base/character.gd" id="1_f78fl"]
[ext_resource type="Script" uid="uid://vogde76hsl0j" path="res://characters/base/character_state_properties.gd" id="2_cchsv"]
[ext_resource type="AudioStream" uid="uid://hv8sb7mxhcnb" path="res://audio/land.ogg" id="2_ggkgm"]
[ext_resource type="Script" uid="uid://dl5vblkrydr4q" path="res://util/property_save_restore_stack.gd" id="2_lii0y"]
[ext_resource type="Resource" uid="uid://sqqxxbj4duf4" path="res://characters/base/template_csp_idle.tres" id="3_4vv4m"]
[ext_resource type="Script" uid="uid://bafxukojlafvh" path="res://util/state_machine.gd" id="3_l7dgf"]
[ext_resource type="Resource" uid="uid://5mv3ctktmsbm" path="res://characters/base/template_csp_walk.tres" id="4_0mnbh"]
[ext_resource type="Resource" uid="uid://bjgfhx1i6g8pu" path="res://characters/base/template_csp_run.tres" id="5_lyvph"]
[ext_resource type="Resource" uid="uid://bvruotly1ghl8" path="res://characters/base/template_csp_sprint.tres" id="6_aigsb"]
[ext_resource type="Resource" uid="uid://da512s5hs7ly" path="res://characters/base/template_csp_jump.tres" id="7_q5w5h"]
[ext_resource type="Resource" uid="uid://bhq36aidyidqr" path="res://characters/base/template_csp_fall.tres" id="8_wjwdx"]
[ext_resource type="Resource" uid="uid://cmk3r1rli555v" path="res://characters/base/template_csp_skid.tres" id="9_e1qjb"]
[ext_resource type="Resource" uid="uid://btu3efdwlpr7k" path="res://characters/base/template_csp_wall_slide.tres" id="10_5e0lb"]
[ext_resource type="Resource" uid="uid://caskx8dmdd3h5" path="res://characters/base/template_csp_hang.tres" id="11_euyh3"]
[ext_resource type="Resource" uid="uid://blflaoqntbe7w" path="res://characters/base/template_csp_pull_up.tres" id="12_5etud"]
[ext_resource type="Resource" uid="uid://bhwoe6hvwy4ak" path="res://characters/base/template_csp_hit.tres" id="13_5d22g"]
[ext_resource type="Resource" uid="uid://oi0fr0o3ieis" path="res://characters/base/template_csp_defeat.tres" id="14_j1rrh"]
[ext_resource type="Resource" uid="uid://cjqc2nyywenfk" path="res://characters/base/template_csp_victory1.tres" id="15_hhowv"]
[ext_resource type="Resource" uid="uid://bss0mt60m7lep" path="res://characters/base/template_csp_victory2.tres" id="16_0pfk6"]
[ext_resource type="Resource" uid="uid://dlenj6oro0pfn" path="res://characters/base/template_csp_pick_up.tres" id="17_0mnbh"]
[ext_resource type="Resource" uid="uid://c2x7tc3irusqo" path="res://characters/base/template_csp_put_down.tres" id="18_lyvph"]
[ext_resource type="Resource" uid="uid://cwxqc1hw103ns" path="res://characters/base/template_csp_idle_while_holding.tres" id="19_euyh3"]
[ext_resource type="Resource" uid="uid://dn6h1cdnxolmk" path="res://characters/base/template_csp_walk_while_holding.tres" id="20_5etud"]
[ext_resource type="Resource" uid="uid://c4u68hfaaoeoe" path="res://characters/base/template_csp_run_while_holding.tres" id="21_5d22g"]
[ext_resource type="Resource" uid="uid://b5sb0w2ex8hyn" path="res://characters/base/template_csp_fall_while_holding.tres" id="22_j1rrh"]
[ext_resource type="Resource" uid="uid://cgx3p61bbw6sw" path="res://characters/base/template_csp_jump_while_holding.tres" id="23_hhowv"]
[ext_resource type="Resource" uid="uid://dc346050qtltb" path="res://characters/base/template_csp_swim.tres" id="24_0pfk6"]
[ext_resource type="Resource" uid="uid://mgefvwuayfk4" path="res://characters/base/template_csp_swim_while_holding.tres" id="25_hpxkk"]
2025-03-29 11:13:11 -07:00
[ext_resource type="Resource" uid="uid://bgunca0v4g3jg" path="res://characters/base/template_csp_throw.tres" id="26_5etud"]
2025-03-28 19:02:51 -07:00
[node name="BaseCharacter" type="RigidBody3D" node_paths=PackedStringArray("_audio_player", "_property_save_restore_stack", "_state_machine")]
mass = 60.0
script = ExtResource("1_f78fl")
_audio_player = NodePath("AudioStreamPlayer3D")
_property_save_restore_stack = NodePath("PropertySaveRestoreStack")
_state_machine = NodePath("StateMachine")
_state_properties = Dictionary[StringName, ExtResource("2_cchsv")]({
&"defeat": ExtResource("14_j1rrh"),
&"fall": ExtResource("8_wjwdx"),
&"fall-while-holding": ExtResource("22_j1rrh"),
&"hang": ExtResource("11_euyh3"),
&"hit": ExtResource("13_5d22g"),
&"idle": ExtResource("3_4vv4m"),
&"idle-while-holding": ExtResource("19_euyh3"),
&"jump": ExtResource("7_q5w5h"),
&"jump-while-holding": ExtResource("23_hhowv"),
&"pick-up": ExtResource("17_0mnbh"),
&"pull-up": ExtResource("12_5etud"),
&"put-down": ExtResource("18_lyvph"),
&"run": ExtResource("5_lyvph"),
&"run-while-holding": ExtResource("21_5d22g"),
&"skid": ExtResource("9_e1qjb"),
&"sprint": ExtResource("6_aigsb"),
&"swim": ExtResource("24_0pfk6"),
&"swim-while-holding": ExtResource("25_hpxkk"),
2025-03-29 11:13:11 -07:00
&"throw": ExtResource("26_5etud"),
2025-03-28 19:02:51 -07:00
&"victory1": ExtResource("15_hhowv"),
&"victory2": ExtResource("16_0pfk6"),
&"walk": ExtResource("4_0mnbh"),
&"walk-while-holding": ExtResource("20_5etud"),
&"wall-slide": ExtResource("10_5e0lb")
})
_landing_sound = ExtResource("2_ggkgm")
metadata/_custom_type_script = "uid://jshmfmeoj28y"
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
[node name="PropertySaveRestoreStack" type="Node" parent="."]
script = ExtResource("2_lii0y")
metadata/_custom_type_script = "uid://dl5vblkrydr4q"
[node name="StateMachine" type="Node" parent="."]
script = ExtResource("3_l7dgf")
metadata/_custom_type_script = "uid://bafxukojlafvh"