weapon speed modifiers
This commit is contained in:
parent
ac8ea51d9c
commit
7c7f68b6f5
8 changed files with 37 additions and 21 deletions
|
|
@ -268,23 +268,23 @@ script = ExtResource("8_f1ej7")
|
|||
current_state = NodePath("Stand")
|
||||
metadata/_custom_type_script = "uid://3777rkbebgjm"
|
||||
|
||||
[node name="Crouch" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("stand_up_area", "player", "animation_player")]
|
||||
[node name="Crouch" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("stand_up_area", "player", "animation_player", "weapon_system")]
|
||||
script = ExtResource("9_oprun")
|
||||
SPEED = 3.125
|
||||
stand_up_area = NodePath("../../StandArea")
|
||||
player = NodePath("../..")
|
||||
animation_player = NodePath("../../AnimationPlayer")
|
||||
weapon_system = NodePath("../../WeaponSystem")
|
||||
|
||||
[node name="Stand" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("player")]
|
||||
[node name="Stand" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("player", "weapon_system")]
|
||||
script = ExtResource("10_a8ls1")
|
||||
SPEED = 6.25
|
||||
JUMP_VELOCITY = 6.0
|
||||
player = NodePath("../..")
|
||||
weapon_system = NodePath("../../WeaponSystem")
|
||||
|
||||
[node name="Walk" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("player")]
|
||||
[node name="Walk" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("player", "weapon_system")]
|
||||
script = ExtResource("11_qfm1y")
|
||||
SPEED = 3.125
|
||||
player = NodePath("../..")
|
||||
weapon_system = NodePath("../../WeaponSystem")
|
||||
|
||||
[node name="Fall" type="Node" parent="BodyStateMachine" node_paths=PackedStringArray("player")]
|
||||
script = ExtResource("12_fulsm")
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ animation_prefix = &"baked_sp_"
|
|||
droppable = &"uid://dgfqppi21c2u0"
|
||||
visibility_target = &"sp"
|
||||
max_ammo = 20
|
||||
speed_modifier = 0.9
|
||||
slot = &"secondary"
|
||||
enter_state = NodePath("Intro")
|
||||
metadata/_custom_type_script = "uid://e6lqknfl4ngt"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue