1083 lines
40 KiB
Plaintext
1083 lines
40 KiB
Plaintext
[gd_scene load_steps=67 format=3 uid="uid://bei4nhkf8lwdo"]
|
|
|
|
[ext_resource type="Script" uid="uid://bbbrf5ckydfna" path="res://player_controller/Scripts/PlayerController.cs" id="1_poq2x"]
|
|
[ext_resource type="PackedScene" uid="uid://cf3rrgr1imvv4" path="res://scenes/path/path.tscn" id="2_6lejt"]
|
|
[ext_resource type="Script" uid="uid://jitubgv6judn" path="res://components/damage/RDamage.cs" id="2_x835q"]
|
|
[ext_resource type="Script" uid="uid://b44cse62qru7j" path="res://components/knockback/RKnockback.cs" id="3_cb2lu"]
|
|
[ext_resource type="Resource" uid="uid://bl5crtu1gkrtr" path="res://systems/inputs/base_mode/base_mode.tres" id="3_cresl"]
|
|
[ext_resource type="PackedScene" uid="uid://c4ikbhojckpnc" path="res://components/health/CHealth.tscn" id="3_q7bng"]
|
|
[ext_resource type="Script" uid="uid://baiapod3csndf" path="res://components/health/RHealth.cs" id="4_abfq8"]
|
|
[ext_resource type="Resource" uid="uid://bjyd801wvverk" path="res://player_controller/resources/player_health.tres" id="4_m8gvy"]
|
|
[ext_resource type="Resource" uid="uid://cpdaw41ah5gic" path="res://systems/inputs/base_mode/rotate_y.tres" id="4_rxwoh"]
|
|
[ext_resource type="Resource" uid="uid://ccrb5xsnphc8" path="res://systems/inputs/base_mode/rotate_floorplane.tres" id="5_4u7i3"]
|
|
[ext_resource type="PackedScene" uid="uid://hpsg4fqwrx1u" path="res://components/damage/CDamageable.tscn" id="5_jb43f"]
|
|
[ext_resource type="Resource" uid="uid://f3vs6l4m623s" path="res://systems/inputs/base_mode/move_left.tres" id="5_q14ux"]
|
|
[ext_resource type="PackedScene" uid="uid://duju3atqgltkg" path="res://scenes/enemies/explosion.tscn" id="5_ue7xq"]
|
|
[ext_resource type="Resource" uid="uid://dyru7mxo121w6" path="res://player_controller/resources/player_normal_damage_mod.tres" id="6_cmijs"]
|
|
[ext_resource type="Resource" uid="uid://t612lts1wi1s" path="res://systems/inputs/base_mode/move_right.tres" id="6_q7bng"]
|
|
[ext_resource type="Script" uid="uid://cwbvxlfvmocc1" path="res://player_controller/Scripts/StairsSystem.cs" id="7_bmt5a"]
|
|
[ext_resource type="Resource" uid="uid://brswsknpgwal2" path="res://systems/inputs/base_mode/move_front.tres" id="7_m8gvy"]
|
|
[ext_resource type="PackedScene" uid="uid://bctpe34ddamg5" path="res://components/knockback/CKnockback.tscn" id="7_x835q"]
|
|
[ext_resource type="Resource" uid="uid://s1l0n1iitc6m" path="res://systems/inputs/base_mode/move_back.tres" id="8_jb43f"]
|
|
[ext_resource type="Resource" uid="uid://j1o5ud0plk4" path="res://systems/inputs/base_mode/aim_release.tres" id="8_lhb11"]
|
|
[ext_resource type="Resource" uid="uid://bs8b0oojixm4q" path="res://player_controller/resources/player_knockback.tres" id="8_m8gvy"]
|
|
[ext_resource type="Resource" uid="uid://c3e0ivgaxrsyb" path="res://systems/inputs/base_mode/aim_down.tres" id="8_obsfv"]
|
|
[ext_resource type="PackedScene" uid="uid://wq1okogkhc5l" path="res://systems/mantle/mantle_system.tscn" id="8_qu4wy"]
|
|
[ext_resource type="AudioStream" uid="uid://clfggn87oeg1s" path="res://player_controller/Audio/InteractiveSFX.tres" id="9_jb43f"]
|
|
[ext_resource type="Resource" uid="uid://bebstkm608wxx" path="res://systems/inputs/base_mode/aim_pressed.tres" id="9_nob5r"]
|
|
[ext_resource type="Resource" uid="uid://bdit2jy5gbpts" path="res://systems/inputs/base_mode/jump.tres" id="10_4u7i3"]
|
|
[ext_resource type="Resource" uid="uid://b5gx3q8nvu72e" path="res://systems/inputs/base_mode/hit.tres" id="11_cresl"]
|
|
[ext_resource type="PackedScene" uid="uid://0ysqmqphq6mq" path="res://systems/head/head_system.tscn" id="11_rxwoh"]
|
|
[ext_resource type="Resource" uid="uid://d2r0ur8k3cuu3" path="res://systems/inputs/base_mode/dash.tres" id="12_34snm"]
|
|
[ext_resource type="Resource" uid="uid://55b0dsvioj08" path="res://systems/inputs/base_mode/jump_pressed.tres" id="13_nob5r"]
|
|
[ext_resource type="Shape3D" uid="uid://keseacdcooot" path="res://player_controller/resources/PlayerShape.tres" id="13_r7i3q"]
|
|
[ext_resource type="Script" uid="uid://b5nk6ntlps3x0" path="res://systems/inputs/input_system.gd" id="16_v31n3"]
|
|
[ext_resource type="Resource" uid="uid://b334rau1yxmm7" path="res://systems/inputs/base_mode/slide_released.tres" id="17_6lejt"]
|
|
[ext_resource type="Resource" uid="uid://htqvokm8mufq" path="res://systems/inputs/base_mode/move.tres" id="17_h6vvl"]
|
|
[ext_resource type="PackedScene" uid="uid://cqduhd4opgwvm" path="res://systems/dash/dash_system.tscn" id="18_q5h8a"]
|
|
[ext_resource type="Resource" uid="uid://bbce5wfwxpns1" path="res://systems/inputs/base_mode/slide_pressed.tres" id="18_q14ux"]
|
|
[ext_resource type="Resource" uid="uid://spo3pbqjx0eb" path="res://systems/inputs/base_mode/parry.tres" id="18_ruloh"]
|
|
[ext_resource type="Resource" uid="uid://dxy0071ic1wdj" path="res://systems/inputs/base_mode/slam.tres" id="20_nob5r"]
|
|
[ext_resource type="PackedScene" uid="uid://dbe5f0p6lvqtr" path="res://systems/tween_queue/tween_queue_system.tscn" id="22_rpwev"]
|
|
[ext_resource type="PackedScene" uid="uid://bcwkugn6v3oy7" path="res://addons/godot_state_charts/utilities/state_chart_debugger.tscn" id="24_q5h8a"]
|
|
[ext_resource type="Script" uid="uid://couw105c3bde4" path="res://addons/godot_state_charts/state_chart.gd" id="25_wv70j"]
|
|
[ext_resource type="Script" uid="uid://jk2jm1g6q853" path="res://addons/godot_state_charts/compound_state.gd" id="26_infe6"]
|
|
[ext_resource type="Script" uid="uid://cytafq8i1y8qm" path="res://addons/godot_state_charts/atomic_state.gd" id="27_34snm"]
|
|
[ext_resource type="Script" uid="uid://c1vp0ojjvaby1" path="res://addons/godot_state_charts/parallel_state.gd" id="27_infe6"]
|
|
[ext_resource type="Script" uid="uid://tjiji63wlom5" path="res://systems/wall_hug/WallHugSystem.cs" id="27_n7qhm"]
|
|
[ext_resource type="Script" uid="uid://cf1nsco3w0mf6" path="res://addons/godot_state_charts/transition.gd" id="28_n7qhm"]
|
|
[ext_resource type="PackedScene" uid="uid://ckm3d6k08a72u" path="res://systems/weapon/weapon.tscn" id="29_wv70j"]
|
|
[ext_resource type="Script" uid="uid://bhuwv2nlcrunt" path="res://player_controller/PlayerUi.cs" id="30_2ghaa"]
|
|
[ext_resource type="Texture2D" uid="uid://bnwj7ltdfximr" path="res://icon.svg" id="30_h23go"]
|
|
[ext_resource type="Texture2D" uid="uid://chvt6g0xn5c2m" path="res://systems/dash/light-ring.jpg" id="32_lgpc8"]
|
|
[ext_resource type="Script" uid="uid://b4dwolbvt8our" path="res://addons/godot_state_charts/history_state.gd" id="41_ruloh"]
|
|
[ext_resource type="Texture2D" uid="uid://buu21kg4kkhiw" path="res://guide_examples/shared/fireball/fireball.svg" id="42_cmijs"]
|
|
|
|
[sub_resource type="Resource" id="Resource_cb2lu"]
|
|
script = ExtResource("2_x835q")
|
|
DamageDealt = 30.0
|
|
metadata/_custom_type_script = "uid://jitubgv6judn"
|
|
|
|
[sub_resource type="Resource" id="Resource_abfq8"]
|
|
script = ExtResource("3_cb2lu")
|
|
Modifier = 10.0
|
|
metadata/_custom_type_script = "uid://b44cse62qru7j"
|
|
|
|
[sub_resource type="Resource" id="Resource_ue7xq"]
|
|
script = ExtResource("4_abfq8")
|
|
StartingHealth = 10.0
|
|
metadata/_custom_type_script = "uid://baiapod3csndf"
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_xc2g5"]
|
|
height = 1.7
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_6lejt"]
|
|
radius = 0.45
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_q14ux"]
|
|
radius = 1.0
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nodcl"]
|
|
transparency = 1
|
|
albedo_color = Color(0, 0.627451, 0.6313726, 0.49019608)
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_nodcl"]
|
|
material = SubResource("StandardMaterial3D_nodcl")
|
|
top_radius = 0.2
|
|
bottom_radius = 0.2
|
|
height = 1.0
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_abfq8"]
|
|
radius = 2.0
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_cmijs"]
|
|
radius = 1.0
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_6lejt"]
|
|
radius = 1.0
|
|
height = 3.5
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_nob5r"]
|
|
radius = 0.4
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_ue7xq"]
|
|
radius = 1.5
|
|
|
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_2q0ik"]
|
|
blend_mode = 1
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
collision_mask = 272
|
|
script = ExtResource("1_poq2x")
|
|
RDamage = SubResource("Resource_cb2lu")
|
|
RKnockback = SubResource("Resource_abfq8")
|
|
RHealth = SubResource("Resource_ue7xq")
|
|
TargetingDistance = 5.0
|
|
Explosion = ExtResource("5_ue7xq")
|
|
WalkSpeed = 7.5
|
|
AccelerationFloor = 4.0
|
|
DecelerationFloor = 3.0
|
|
AccelerationAir = 0.8
|
|
DecelerationAir = 0.02
|
|
Weight = 4.0
|
|
MantleTime = 0.3
|
|
MantlePath = ExtResource("2_6lejt")
|
|
MantleDashStrength = 25.0
|
|
MantleJumpStartVelocity = 15.0
|
|
CoyoteTime = 0.3
|
|
InputBufferFrames = 5
|
|
SimpleJumpStartVelocity = 6.0
|
|
SimpleJumpHangTimeInFrames = 1
|
|
SimpleJumpGravityLesseningFactor = 2.0
|
|
DoubleJumpHangTimeInFrames = 3
|
|
DoubleJumpGravityLesseningFactor = 1.5
|
|
WallJumpStartVelocity = 8.0
|
|
MaxNumberOfEmpoweredActions = 3
|
|
SimpleDashStrength = 18.0
|
|
SimpleDashTime = 0.2
|
|
AimedDashTime = 0.2
|
|
PostDashSpeed = 30.0
|
|
SlamSpeed = 80.0
|
|
FlatGroundSlideSpeedLossRate = 0.996
|
|
GroundSlideJumpMultiplier = 0.1
|
|
GroundSlideJumpSpeedFactor = 0.1
|
|
GroundSlideDownSlopeAcceleration = 0.2
|
|
GroundSlideDownSlopeMaxSpeed = 30.0
|
|
AirGlideVSpeed = 4.0
|
|
AccelerationAirGlide = 0.4
|
|
AirGlideVerticalAcceleration = 8.0
|
|
AirGlideJumpMultiplier = 0.1
|
|
AirGlideJumpSpeedFactor = 0.05
|
|
WallHugGravityLesseningFactor = 15.0
|
|
WallHugDownwardMaxSpeed = 4.0
|
|
WallHugHorizontalDeceleration = 1.0
|
|
|
|
[node name="CHealth" parent="." instance=ExtResource("3_q7bng")]
|
|
RHealth = ExtResource("4_m8gvy")
|
|
|
|
[node name="CDamageable" parent="." instance=ExtResource("5_jb43f")]
|
|
DamageModifiers = Array[Object]([ExtResource("6_cmijs")])
|
|
|
|
[node name="CKnockback" parent="." instance=ExtResource("7_x835q")]
|
|
RKnockback = ExtResource("8_m8gvy")
|
|
|
|
[node name="SFXPlayer" type="AudioStreamPlayer3D" parent="."]
|
|
stream = ExtResource("9_jb43f")
|
|
autoplay = true
|
|
bus = &"SFX"
|
|
|
|
[node name="WallRunSnapper" type="RayCast3D" parent="."]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0)
|
|
target_position = Vector3(0, 0, -5)
|
|
collision_mask = 256
|
|
|
|
[node name="InputController" type="Node3D" parent="."]
|
|
script = ExtResource("16_v31n3")
|
|
base_mode = ExtResource("3_cresl")
|
|
move = ExtResource("17_h6vvl")
|
|
move_left = ExtResource("5_q14ux")
|
|
move_right = ExtResource("6_q7bng")
|
|
move_front = ExtResource("7_m8gvy")
|
|
move_back = ExtResource("8_jb43f")
|
|
rotate_vertical = ExtResource("4_rxwoh")
|
|
rotate_floorplane = ExtResource("5_4u7i3")
|
|
aim_down = ExtResource("8_obsfv")
|
|
aim_pressed = ExtResource("9_nob5r")
|
|
aim_released = ExtResource("8_lhb11")
|
|
jump = ExtResource("10_4u7i3")
|
|
jump_pressed = ExtResource("13_nob5r")
|
|
slide_pressed = ExtResource("18_q14ux")
|
|
slide_released = ExtResource("17_6lejt")
|
|
hit = ExtResource("11_cresl")
|
|
parry = ExtResource("18_ruloh")
|
|
dash = ExtResource("12_34snm")
|
|
slam = ExtResource("20_nob5r")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
|
visible = false
|
|
mesh = SubResource("CapsuleMesh_xc2g5")
|
|
|
|
[node name="StandingCollider" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
|
shape = ExtResource("13_r7i3q")
|
|
debug_color = Color(0, 0.6, 0.701961, 0.341176)
|
|
|
|
[node name="SlideCollider" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.45, 0)
|
|
shape = SubResource("SphereShape3D_6lejt")
|
|
disabled = true
|
|
debug_color = Color(0, 0.6, 0.701961, 0.341176)
|
|
|
|
[node name="HeadSystem" parent="." instance=ExtResource("11_rxwoh")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
|
|
CameraInclineAcceleration = 20.0
|
|
GroundedCameraIncline = 3.0
|
|
SlidingJitterAmplitude = 0.2
|
|
WeaponSway = 8.0
|
|
WeaponLookRotation = 10.0
|
|
WeaponAdjustmentSpeed = 1.0
|
|
|
|
[node name="MantleSystem" parent="HeadSystem" instance=ExtResource("8_qu4wy")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.6, 0)
|
|
MantleEndLocationDistanceFromWall = 0.3
|
|
MantleHeightCastStart = 2.5
|
|
|
|
[node name="WeaponHitbox" type="Area3D" parent="HeadSystem"]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.6, 0)
|
|
collision_layer = 0
|
|
collision_mask = 16
|
|
monitoring = false
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="HeadSystem/WeaponHitbox"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1.5)
|
|
shape = SubResource("SphereShape3D_q14ux")
|
|
|
|
[node name="StairsSystem" type="Node3D" parent="."]
|
|
script = ExtResource("7_bmt5a")
|
|
|
|
[node name="StairsAheadRayCast3D" type="RayCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -0.828)
|
|
target_position = Vector3(0, -0.55, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="StairsBelowRayCast3D" type="RayCast3D" parent="."]
|
|
target_position = Vector3(0, -0.75, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="HeadCollisionDetectors" type="Node3D" parent="."]
|
|
visible = false
|
|
|
|
[node name="HeadCollisionDetector0" type="RayCast3D" parent="HeadCollisionDetectors"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4, -0.210707)
|
|
target_position = Vector3(0, 1, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="HeadCollisionDetector1" type="RayCast3D" parent="HeadCollisionDetectors"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.4, 0.23061)
|
|
target_position = Vector3(0, 1, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="HeadCollisionDetector2" type="RayCast3D" parent="HeadCollisionDetectors"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.296, 1.4, 0)
|
|
target_position = Vector3(0, 1, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="HeadCollisionDetector3" type="RayCast3D" parent="HeadCollisionDetectors"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.296, 1.4, 0)
|
|
target_position = Vector3(0, 1, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="TweenQueueSystem" parent="." instance=ExtResource("22_rpwev")]
|
|
|
|
[node name="WallHugSystem" type="Node3D" parent="."]
|
|
script = ExtResource("27_n7qhm")
|
|
|
|
[node name="back" type="RayCast3D" parent="WallHugSystem"]
|
|
target_position = Vector3(0, 0, 1)
|
|
collision_mask = 256
|
|
|
|
[node name="back2" type="RayCast3D" parent="WallHugSystem"]
|
|
transform = Transform3D(0.70710677, 0, 0.70710677, 0, 1, 0, -0.70710677, 0, 0.70710677, 0, 0, 0)
|
|
target_position = Vector3(0, 0, 1)
|
|
collision_mask = 256
|
|
|
|
[node name="front" type="RayCast3D" parent="WallHugSystem"]
|
|
target_position = Vector3(0, 0, -1)
|
|
collision_mask = 256
|
|
|
|
[node name="front2" type="RayCast3D" parent="WallHugSystem"]
|
|
transform = Transform3D(0.70710677, 0, 0.70710677, 0, 1, 0, -0.70710677, 0, 0.70710677, 0, 0, 0)
|
|
target_position = Vector3(0, 0, -1)
|
|
collision_mask = 256
|
|
|
|
[node name="right" type="RayCast3D" parent="WallHugSystem"]
|
|
target_position = Vector3(1, 0, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="right2" type="RayCast3D" parent="WallHugSystem"]
|
|
transform = Transform3D(0.70710677, 0, 0.70710677, 0, 1, 0, -0.70710677, 0, 0.70710677, 0, 0, 0)
|
|
target_position = Vector3(1, 0, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="left" type="RayCast3D" parent="WallHugSystem"]
|
|
target_position = Vector3(-1, 0, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="left2" type="RayCast3D" parent="WallHugSystem"]
|
|
transform = Transform3D(0.70710677, 0, 0.70710677, 0, 1, 0, -0.70710677, 0, 0.70710677, 0, 0, 0)
|
|
target_position = Vector3(-1, 0, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="DashSystem" parent="." instance=ExtResource("18_q5h8a")]
|
|
DashSpeed = 0.2
|
|
PostDashSpeed = 30.0
|
|
|
|
[node name="WeaponSystem" parent="." instance=ExtResource("29_wv70j")]
|
|
transform = Transform3D(1, 0, 0, 0, 0.173648, -0.984808, 0, 0.984808, 0.173648, 0.45268, 1.44035, -0.692528)
|
|
mass = 10.0
|
|
gravity_scale = 3.0
|
|
ThrowForce = 300.0
|
|
StraightThrowDuration = 0.05
|
|
|
|
[node name="DashIndicator" type="Node3D" parent="."]
|
|
visible = false
|
|
|
|
[node name="DashIndicatorMesh" type="MeshInstance3D" parent="DashIndicator"]
|
|
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, -1)
|
|
mesh = SubResource("CylinderMesh_nodcl")
|
|
|
|
[node name="DashDamage" type="ShapeCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_abfq8")
|
|
target_position = Vector3(0, 0, 0)
|
|
max_results = 512
|
|
collision_mask = 16
|
|
|
|
[node name="CloseEnemyDetector" type="ShapeCast3D" parent="."]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
|
|
shape = SubResource("SphereShape3D_cmijs")
|
|
target_position = Vector3(0, 0, -5)
|
|
collision_mask = 48
|
|
|
|
[node name="GroundDetector" type="ShapeCast3D" parent="."]
|
|
shape = SubResource("CapsuleShape3D_6lejt")
|
|
collision_mask = 256
|
|
|
|
[node name="CeilingDetector" type="ShapeCast3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
|
|
enabled = false
|
|
shape = SubResource("SphereShape3D_nob5r")
|
|
target_position = Vector3(0, 0.4, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="DirectGroundDetector" type="RayCast3D" parent="."]
|
|
target_position = Vector3(0, -2, 0)
|
|
collision_mask = 256
|
|
|
|
[node name="SlidingEnemyDetector" type="Area3D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 16
|
|
monitoring = false
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="SlidingEnemyDetector"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("SphereShape3D_ue7xq")
|
|
|
|
[node name="InvincibilityTime" type="Timer" parent="."]
|
|
one_shot = true
|
|
|
|
[node name="AttackCooldown" type="Timer" parent="."]
|
|
wait_time = 0.3
|
|
one_shot = true
|
|
|
|
[node name="DashCooldown" type="Timer" parent="."]
|
|
wait_time = 0.8
|
|
one_shot = true
|
|
|
|
[node name="AirborneDashCooldown" type="Timer" parent="."]
|
|
wait_time = 0.5
|
|
one_shot = true
|
|
|
|
[node name="PowerCooldown" type="Timer" parent="."]
|
|
wait_time = 2.0
|
|
one_shot = true
|
|
|
|
[node name="TimeScaleAimInAir" type="Timer" parent="."]
|
|
wait_time = 2.0
|
|
one_shot = true
|
|
ignore_time_scale = true
|
|
|
|
[node name="StateChartDebugger" parent="." instance=ExtResource("24_q5h8a")]
|
|
offset_left = 1524.0
|
|
offset_top = 1.0
|
|
offset_right = -8.0
|
|
offset_bottom = 1.0
|
|
enabled = false
|
|
initial_node_to_watch = NodePath("../StateChart")
|
|
|
|
[node name="UI" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 1
|
|
script = ExtResource("30_2ghaa")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="UI"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme_override_constants/margin_left = 50
|
|
theme_override_constants/margin_top = 50
|
|
theme_override_constants/margin_right = 50
|
|
theme_override_constants/margin_bottom = 50
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="UI/MarginContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
|
|
[node name="DashesLabel" type="Label" parent="UI/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Empowered actions"
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="UI/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 30)
|
|
layout_mode = 2
|
|
|
|
[node name="Dash1" type="TextureRect" parent="UI/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
texture = ExtResource("30_h23go")
|
|
expand_mode = 2
|
|
|
|
[node name="Dash2" type="TextureRect" parent="UI/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
texture = ExtResource("30_h23go")
|
|
expand_mode = 2
|
|
|
|
[node name="Dash3" type="TextureRect" parent="UI/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
texture = ExtResource("30_h23go")
|
|
expand_mode = 2
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="UI"]
|
|
custom_minimum_size = Vector2(1920, 1080)
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = -1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="CenterIcon" type="TextureRect" parent="UI/CenterContainer"]
|
|
material = SubResource("CanvasItemMaterial_2q0ik")
|
|
custom_minimum_size = Vector2(5, 5)
|
|
layout_mode = 2
|
|
texture = ExtResource("32_lgpc8")
|
|
expand_mode = 1
|
|
|
|
[node name="CenterContainer2" type="CenterContainer" parent="UI"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="UI/CenterContainer2"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_top = 50
|
|
|
|
[node name="DashCooldownIndicator" type="ColorRect" parent="UI/CenterContainer2/MarginContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 10)
|
|
layout_mode = 2
|
|
|
|
[node name="EnemyTarget" type="TextureRect" parent="UI"]
|
|
unique_name_in_owner = true
|
|
modulate = Color(0, 0.61278194, 0.56044877, 1)
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("42_cmijs")
|
|
expand_mode = 1
|
|
|
|
[node name="StateChart" type="Node" parent="."]
|
|
script = ExtResource("25_wv70j")
|
|
metadata/_custom_type_script = "uid://couw105c3bde4"
|
|
|
|
[node name="Root" type="Node" parent="StateChart"]
|
|
script = ExtResource("27_infe6")
|
|
|
|
[node name="Aim" type="Node" parent="StateChart/Root"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("Off")
|
|
|
|
[node name="ToOff" type="Node" parent="StateChart/Root/Aim"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../Off")
|
|
event = &"aim_released"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Off" type="Node" parent="StateChart/Root/Aim"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="ToOn" type="Node" parent="StateChart/Root/Aim/Off"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../On")
|
|
event = &"aim_down"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="On" type="Node" parent="StateChart/Root/Aim"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="ToCancel" type="Node" parent="StateChart/Root/Aim/On"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Canceled")
|
|
event = &"cancel_aim"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Canceled" type="Node" parent="StateChart/Root/Aim"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="PowerReserve" type="Node" parent="StateChart/Root"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("Full")
|
|
|
|
[node name="ToExpired" type="Node" parent="StateChart/Root/PowerReserve"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../Expired")
|
|
event = &"expired"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Recharge" type="Node" parent="StateChart/Root/PowerReserve"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../AtLeastOneCharge")
|
|
event = &"recharge"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="ToFull" type="Node" parent="StateChart/Root/PowerReserve"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../Full")
|
|
event = &"fully_charged"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Expired" type="Node" parent="StateChart/Root/PowerReserve"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="AtLeastOneCharge" type="Node" parent="StateChart/Root/PowerReserve"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="Full" type="Node" parent="StateChart/Root/PowerReserve"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="PowerUsed" type="Node" parent="StateChart/Root/PowerReserve/Full"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../AtLeastOneCharge")
|
|
event = &"power_used"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Attack" type="Node" parent="StateChart/Root"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("Ready")
|
|
|
|
[node name="Ready" type="Node" parent="StateChart/Root/Attack"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="ToStandardAttack" type="Node" parent="StateChart/Root/Attack/Ready"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../StandardAttack")
|
|
event = &"standard_attack"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="ToDashAttack" type="Node" parent="StateChart/Root/Attack/Ready"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../DashAttack")
|
|
event = &"dash_attack"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="StandardAttack" type="Node" parent="StateChart/Root/Attack"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="ToReady" type="Node" parent="StateChart/Root/Attack/StandardAttack"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Ready")
|
|
event = &"attack_finished"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="ToDashAttack" type="Node" parent="StateChart/Root/Attack/StandardAttack"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../DashAttack")
|
|
event = &"dash_attack"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="DashAttack" type="Node" parent="StateChart/Root/Attack"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="ToReady" type="Node" parent="StateChart/Root/Attack/DashAttack"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Ready")
|
|
event = &"attack_finished"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Movement" type="Node" parent="StateChart/Root"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("Grounded")
|
|
|
|
[node name="Reset" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("41_ruloh")
|
|
default_state = NodePath("../Grounded")
|
|
|
|
[node name="OnFall" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../Airborne/Falling")
|
|
event = &"falling"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnMantle" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../Mantling")
|
|
event = &"mantle"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnHang" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../OnWall/Hanging")
|
|
event = &"dash_to_planted"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnAimedDash" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../Dashing/AimedDash")
|
|
event = &"aimed_dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnWeaponDash" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../Dashing/ToWeaponDash")
|
|
event = &"weapon_dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="ToPlantedWeapon" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../OnWall/Hanging")
|
|
event = &"to_planted"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Grounded" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/Grounded"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Dashing/Dash")
|
|
event = &"dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/Grounded"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Jump/SimpleJump")
|
|
event = &"jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnAirborne" type="Node" parent="StateChart/Root/Movement/Grounded"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Airborne/CoyoteEnabled")
|
|
event = &"start_falling"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnSlide" type="Node" parent="StateChart/Root/Movement/Grounded"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Sliding/GroundSlide")
|
|
event = &"slide"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Mantling" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnMantleFinished" type="Node" parent="StateChart/Root/Movement/Mantling"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Grounded")
|
|
event = &"grounded"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnMantleOtherSide" type="Node" parent="StateChart/Root/Movement/Mantling"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../OnWall/Hugging")
|
|
event = &"on_wall"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Slamming" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnSlamEnded" type="Node" parent="StateChart/Root/Movement/Slamming"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Grounded")
|
|
event = &"grounded"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Jump" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("SimpleJump")
|
|
|
|
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/Jump"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Dashing/Dash")
|
|
event = &"dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnMantle" type="Node" parent="StateChart/Root/Movement/Jump"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Mantling")
|
|
event = &"mantle"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="SimpleJump" type="Node" parent="StateChart/Root/Movement/Jump"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnJumpEnded" type="Node" parent="StateChart/Root/Movement/Jump/SimpleJump"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Airborne/DoubleJumpEnabled")
|
|
event = &"jump_ended"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnSlide" type="Node" parent="StateChart/Root/Movement/Jump/SimpleJump"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Sliding/AirGlideDoubleJumpEnabled")
|
|
event = &"slide"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="DoubleJump" type="Node" parent="StateChart/Root/Movement/Jump"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnJumpEnded" type="Node" parent="StateChart/Root/Movement/Jump/DoubleJump"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Airborne/Falling")
|
|
event = &"jump_ended"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnSlide" type="Node" parent="StateChart/Root/Movement/Jump/DoubleJump"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Sliding/AirGlide")
|
|
event = &"slide"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Dashing" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("Dash")
|
|
|
|
[node name="OnDashEndedGrounded" type="Node" parent="StateChart/Root/Movement/Dashing"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Grounded")
|
|
event = &"grounded"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnDashEnded" type="Node" parent="StateChart/Root/Movement/Dashing"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Airborne/Reset")
|
|
event = &"dash_finished"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnMantle" type="Node" parent="StateChart/Root/Movement/Dashing"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Mantling")
|
|
event = &"mantle"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Dash" type="Node" parent="StateChart/Root/Movement/Dashing"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="AimedDash" type="Node" parent="StateChart/Root/Movement/Dashing"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="ToWeaponDash" type="Node" parent="StateChart/Root/Movement/Dashing"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="Sliding" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("GroundSlide")
|
|
|
|
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/Sliding"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Dashing/Dash")
|
|
event = &"actually_no_dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnMantle" type="Node" parent="StateChart/Root/Movement/Sliding"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Mantling")
|
|
event = &"mantle"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="GroundSlide" type="Node" parent="StateChart/Root/Movement/Sliding"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnSlideReleased" type="Node" parent="StateChart/Root/Movement/Sliding/GroundSlide"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Grounded")
|
|
event = &"slide_released"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnAirborne" type="Node" parent="StateChart/Root/Movement/Sliding/GroundSlide"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../AirGlideDoubleJumpEnabled")
|
|
event = &"start_falling"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/Sliding/GroundSlide"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Jump/SimpleJump")
|
|
event = &"jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnCancel" type="Node" parent="StateChart/Root/Movement/Sliding/GroundSlide"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../SlideCanceled")
|
|
event = &"slide_canceled"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="AirGlideDoubleJumpEnabled" type="Node" parent="StateChart/Root/Movement/Sliding"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnSlideReleased" type="Node" parent="StateChart/Root/Movement/Sliding/AirGlideDoubleJumpEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Airborne/Reset")
|
|
event = &"slide_released"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnGrounded" type="Node" parent="StateChart/Root/Movement/Sliding/AirGlideDoubleJumpEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../GroundSlide")
|
|
event = &"grounded"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/Sliding/AirGlideDoubleJumpEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Jump/DoubleJump")
|
|
event = &"jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="AirGlide" type="Node" parent="StateChart/Root/Movement/Sliding"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnSlideReleased" type="Node" parent="StateChart/Root/Movement/Sliding/AirGlide"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Airborne/Reset")
|
|
event = &"slide_released"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnGrounded" type="Node" parent="StateChart/Root/Movement/Sliding/AirGlide"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../GroundSlide")
|
|
event = &"grounded"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="SlideCanceled" type="Node" parent="StateChart/Root/Movement/Sliding"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnAirborne" type="Node" parent="StateChart/Root/Movement/Sliding/SlideCanceled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Airborne/CoyoteEnabled")
|
|
event = &"start_falling"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/Sliding/SlideCanceled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Dashing/Dash")
|
|
event = &"dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/Sliding/SlideCanceled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Jump/SimpleJump")
|
|
event = &"jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnSlideReleased" type="Node" parent="StateChart/Root/Movement/Sliding/SlideCanceled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Grounded")
|
|
event = &"slide_released"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Airborne" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("CoyoteEnabled")
|
|
|
|
[node name="Reset" type="Node" parent="StateChart/Root/Movement/Airborne"]
|
|
script = ExtResource("41_ruloh")
|
|
default_state = NodePath("../CoyoteEnabled")
|
|
|
|
[node name="OnWallRun" type="Node" parent="StateChart/Root/Movement/Airborne"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../OnWall/Running")
|
|
event = &"wall_run"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/Airborne"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Dashing/Dash")
|
|
event = &"dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnGrounded" type="Node" parent="StateChart/Root/Movement/Airborne"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Grounded")
|
|
event = &"grounded"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnSlam" type="Node" parent="StateChart/Root/Movement/Airborne"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Slamming")
|
|
event = &"slam"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="CoyoteEnabled" type="Node" parent="StateChart/Root/Movement/Airborne"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnSlide" type="Node" parent="StateChart/Root/Movement/Airborne/CoyoteEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Sliding/AirGlideDoubleJumpEnabled")
|
|
event = &"slide"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/Airborne/CoyoteEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Jump/SimpleJump")
|
|
event = &"jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnExpiration" type="Node" parent="StateChart/Root/Movement/Airborne/CoyoteEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../DoubleJumpEnabled")
|
|
event = &"coyote_expired"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="DoubleJumpEnabled" type="Node" parent="StateChart/Root/Movement/Airborne"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnSlide" type="Node" parent="StateChart/Root/Movement/Airborne/DoubleJumpEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Sliding/AirGlideDoubleJumpEnabled")
|
|
event = &"slide"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnWallHug" type="Node" parent="StateChart/Root/Movement/Airborne/DoubleJumpEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../OnWall/Hugging")
|
|
event = &"wall_hug"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/Airborne/DoubleJumpEnabled"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Jump/DoubleJump")
|
|
event = &"jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Falling" type="Node" parent="StateChart/Root/Movement/Airborne"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnSlide" type="Node" parent="StateChart/Root/Movement/Airborne/Falling"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Sliding/AirGlide")
|
|
event = &"slide"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnWallHug" type="Node" parent="StateChart/Root/Movement/Airborne/Falling"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../OnWall/Hugging")
|
|
event = &"wall_hug"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="ToDoubleJump" type="Node" parent="StateChart/Root/Movement/Airborne/Falling"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../DoubleJumpEnabled")
|
|
event = &"enable_double_jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnWallJump" type="Node" parent="StateChart/Root/Movement/Airborne/Falling"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Jump/DoubleJump")
|
|
event = &"wall_jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnWall" type="Node" parent="StateChart/Root/Movement"]
|
|
script = ExtResource("26_infe6")
|
|
initial_state = NodePath("Hugging")
|
|
|
|
[node name="OnGrounded" type="Node" parent="StateChart/Root/Movement/OnWall"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Grounded")
|
|
event = &"grounded"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnLeaveWall" type="Node" parent="StateChart/Root/Movement/OnWall"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Airborne/Reset")
|
|
event = &"start_falling"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnMantle" type="Node" parent="StateChart/Root/Movement/OnWall"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Mantling")
|
|
event = &"mantle"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="OnJump" type="Node" parent="StateChart/Root/Movement/OnWall"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../Jump/SimpleJump")
|
|
event = &"jump"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Hugging" type="Node" parent="StateChart/Root/Movement/OnWall"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/OnWall/Hugging"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Dashing/Dash")
|
|
event = &"dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Hanging" type="Node" parent="StateChart/Root/Movement/OnWall"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnDash" type="Node" parent="StateChart/Root/Movement/OnWall/Hanging"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Dashing/Dash")
|
|
event = &"dash"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[node name="Running" type="Node" parent="StateChart/Root/Movement/OnWall"]
|
|
script = ExtResource("27_34snm")
|
|
|
|
[node name="OnLeaveWall" type="Node" parent="StateChart/Root/Movement/OnWall/Running"]
|
|
script = ExtResource("28_n7qhm")
|
|
to = NodePath("../../../Airborne/CoyoteEnabled")
|
|
event = &"start_falling"
|
|
delay_in_seconds = "0.0"
|
|
|
|
[connection signal="input_aim_down" from="InputController" to="." method="OnInputAimDown"]
|
|
[connection signal="input_aim_pressed" from="InputController" to="." method="OnInputAimPressed"]
|
|
[connection signal="input_aim_released" from="InputController" to="." method="OnInputAimReleased"]
|
|
[connection signal="input_dash" from="InputController" to="." method="OnInputDashPressed"]
|
|
[connection signal="input_device_changed" from="InputController" to="." method="InputDeviceChanged"]
|
|
[connection signal="input_hit" from="InputController" to="." method="OnInputHitPressed"]
|
|
[connection signal="input_jump_ended" from="InputController" to="." method="OnInputJumpEnded"]
|
|
[connection signal="input_jump_ongoing" from="InputController" to="." method="OnInputJumpOngoing"]
|
|
[connection signal="input_jump_started" from="InputController" to="." method="OnInputJumpStarted"]
|
|
[connection signal="input_move" from="InputController" to="." method="OnInputMove"]
|
|
[connection signal="input_move_keyboard" from="InputController" to="." method="OnInputMoveKeyboard"]
|
|
[connection signal="input_parry" from="InputController" to="." method="OnInputParryPressed"]
|
|
[connection signal="input_rotate_floorplane" from="InputController" to="." method="OnInputRotateFloorplane"]
|
|
[connection signal="input_rotate_y" from="InputController" to="." method="OnInputRotateY"]
|
|
[connection signal="input_slam" from="InputController" to="." method="OnInputSlamPressed"]
|
|
[connection signal="input_slide_ended" from="InputController" to="." method="OnInputSlideEnded"]
|
|
[connection signal="input_slide_started" from="InputController" to="." method="OnInputSlideStarted"]
|
|
[connection signal="WallDetected" from="WallHugSystem" to="." method="OnWallDetected"]
|