trying other setup
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=44 format=3 uid="uid://bei4nhkf8lwdo"]
|
||||
[gd_scene load_steps=45 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="Curve" uid="uid://c2a8soliruf35" path="res://systems/dash/dash_time_dilation.tres" id="2_2q0ik"]
|
||||
@ -14,6 +14,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://wq1okogkhc5l" path="res://systems/mantle/mantle_system.tscn" id="8_qu4wy"]
|
||||
[ext_resource type="Resource" uid="uid://7wm8ywvujwf" path="res://systems/inputs/base_mode/aim_cancel.tres" id="9_5p2qc"]
|
||||
[ext_resource type="Script" uid="uid://bt0xv2q8iv1vn" path="res://player_controller/Scripts/Gravity.cs" id="9_lsueh"]
|
||||
[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="Script" uid="uid://g8idirw62qe0" path="res://player_controller/Scripts/Bobbing.cs" id="10_7wk1w"]
|
||||
[ext_resource type="Resource" uid="uid://b334rau1yxmm7" path="res://systems/inputs/base_mode/empower_down.tres" id="10_nodcl"]
|
||||
@ -53,6 +54,7 @@ script = ExtResource("1_poq2x")
|
||||
TimeScaleAimInAir = 0.15
|
||||
MaxJumpBoostAfterDashing = 0.7
|
||||
MaxNumberOfDashActions = 2
|
||||
PerfectlyTimedActionTimer = 0.3
|
||||
BasicDashStrength = 15.0
|
||||
DashTimeDilationCurve = ExtResource("2_2q0ik")
|
||||
|
||||
@ -63,6 +65,7 @@ move = ExtResource("17_h6vvl")
|
||||
rotate_y = ExtResource("4_rxwoh")
|
||||
rotate_floorplane = ExtResource("5_4u7i3")
|
||||
aim_down = ExtResource("8_obsfv")
|
||||
aim_pressed = ExtResource("9_nob5r")
|
||||
aim_released = ExtResource("8_lhb11")
|
||||
empower_down = ExtResource("10_nodcl")
|
||||
empower_released = ExtResource("11_ruloh")
|
||||
@ -195,6 +198,10 @@ ignore_time_scale = true
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="EmpowerTimeDownscale" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
ignore_time_scale = true
|
||||
|
||||
[node name="StateChartDebugger" parent="." instance=ExtResource("24_q5h8a")]
|
||||
offset_left = 1524.0
|
||||
offset_top = 1.0
|
||||
@ -262,6 +269,12 @@ script = ExtResource("27_infe6")
|
||||
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")
|
||||
|
||||
@ -274,12 +287,15 @@ delay_in_seconds = "0.0"
|
||||
[node name="On" type="Node" parent="StateChart/Root/Aim"]
|
||||
script = ExtResource("27_34snm")
|
||||
|
||||
[node name="ToOff" type="Node" parent="StateChart/Root/Aim/On"]
|
||||
[node name="ToCancel" type="Node" parent="StateChart/Root/Aim/On"]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../Off")
|
||||
event = &"aim_released"
|
||||
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="Empower" type="Node" parent="StateChart/Root"]
|
||||
script = ExtResource("26_infe6")
|
||||
initial_state = NodePath("Off")
|
||||
@ -326,12 +342,36 @@ script = ExtResource("26_infe6")
|
||||
initial_state = NodePath("InHand")
|
||||
metadata/_custom_type_script = "uid://c1vp0ojjvaby1"
|
||||
|
||||
[node name="ToPlanted" type="Node" parent="StateChart/Root/WeaponState"]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../Planted")
|
||||
event = &"plant_weapon"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="ToHand" type="Node" parent="StateChart/Root/WeaponState"]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../InHand")
|
||||
event = &"recover_weapond"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="InHand" type="Node" parent="StateChart/Root/WeaponState"]
|
||||
script = ExtResource("27_34snm")
|
||||
|
||||
[node name="ToThrown" type="Node" parent="StateChart/Root/WeaponState/InHand"]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../Flying")
|
||||
event = &"throw"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="Flying" type="Node" parent="StateChart/Root/WeaponState"]
|
||||
script = ExtResource("27_34snm")
|
||||
|
||||
[node name="ToPlanted" type="Node" parent="StateChart/Root/WeaponState/Flying"]
|
||||
script = ExtResource("28_n7qhm")
|
||||
to = NodePath("../../Planted")
|
||||
event = &"plant_weapon"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="Planted" type="Node" parent="StateChart/Root/WeaponState"]
|
||||
script = ExtResource("27_34snm")
|
||||
|
||||
@ -517,6 +557,7 @@ delay_in_seconds = "0.0"
|
||||
|
||||
[connection signal="input_aim_canceled" from="InputController" to="." method="OnInputAimCanceled"]
|
||||
[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_empower_down" from="InputController" to="." method="OnInputEmpowerDown"]
|
||||
|
Reference in New Issue
Block a user