pellet spread, bulletholes and balance fixes
This commit is contained in:
parent
eabc137ce8
commit
74e37f8a18
17 changed files with 261 additions and 72 deletions
|
|
@ -1,10 +1,11 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://8ohlfmr5bp0k"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://8ohlfmr5bp0k"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://e6lqknfl4ngt" path="res://systems/weapon_system/weapon_substate_machine.gd" id="1_uck67"]
|
||||
[ext_resource type="Script" uid="uid://ofv4e3dsfe8" path="res://weapons/gun/idle_state.gd" id="2_rkf02"]
|
||||
[ext_resource type="Script" uid="uid://cvueeftqbxb7r" path="res://weapons/gun/semi_pellet_shoot_state.gd" id="3_jk5g7"]
|
||||
[ext_resource type="Script" uid="uid://hmekwp8444ao" path="res://weapons/gun/reload_state.gd" id="4_fs8hh"]
|
||||
[ext_resource type="Script" uid="uid://bmj0bwy2tlian" path="res://weapons/gun/intro_state.gd" id="5_3ok4b"]
|
||||
[ext_resource type="Script" uid="uid://ryxe3lxtvpk4" path="res://weapons/gun/pellet_spread/pellet_spread.gd" id="6_a53f6"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_cmn6f"]
|
||||
_limits = [0.0, 0.1, 0.0, 20.0]
|
||||
|
|
@ -27,6 +28,12 @@ properties/1/path = NodePath(".:remaining_ammo")
|
|||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_0fc4q"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(0, 0, 0, 0, 0, -10, 0, 0, 0, 0, 9, -7, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, -8, -3, 0, 0, 0, 0, -8, 5, 0, 0, 0, 0, -1, 7, 0, 0, 0, 0, 7, 6, 0, 0, 0, 0, 14, 6, 0, 0, 0, 0, 15, -5, 0, 0, 0, 0, 0, -7, 0, 0, 0, 0, -13, -7, 0, 0, 0, 0, -10, 4, 0, 0, 0, 0, -10, 12, 0, 0, 0, 0, -1, 13, 0, 0, 0, 0, 12, 14, 0, 0, 0, 0, 6, 11, 0, 0, 0, 0, 21, 9, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 9, -16, 0, 0, 0, 0, -10, -13, 0, 0, 0, 0, -16, -2, 0, 0, 0, 0, -17, 13, 0, 0, 0, 0, -3, 19, 0, 0, 0, 0, 6, 16, 0, 0, 0, 0, 18, 16, 0, 0, 0, 0, 24, 9, 0, 0, 0, 0, 23, -7, 0, 0, 0, 0, 20, -12)
|
||||
}
|
||||
point_count = 28
|
||||
|
||||
[node name="MC255" type="Node" node_paths=PackedStringArray("enter_state")]
|
||||
script = ExtResource("1_uck67")
|
||||
animation_prefix = &"baked_mc_"
|
||||
|
|
@ -41,17 +48,15 @@ metadata/_custom_type_script = "uid://e6lqknfl4ngt"
|
|||
[node name="Idle" type="Node" parent="."]
|
||||
script = ExtResource("2_rkf02")
|
||||
|
||||
[node name="Shoot" type="Node" parent="." node_paths=PackedStringArray("fire_timer")]
|
||||
[node name="Shoot" type="Node" parent="." node_paths=PackedStringArray("pellet_spread", "fire_timer")]
|
||||
script = ExtResource("3_jk5g7")
|
||||
vertical_curve = SubResource("Curve_cmn6f")
|
||||
horizontal_curve = SubResource("Curve_jk5g7")
|
||||
damage_reduction_curve = SubResource("Curve_bwg3m")
|
||||
torso_total_damage = 100
|
||||
head_total_damage = 150
|
||||
limb_total_damage = 70
|
||||
arc = 0.08726646259971647
|
||||
max_pellets = 30
|
||||
min_pellets = 30
|
||||
torso_pellet_damage = 6
|
||||
head_pellet_damage = 24
|
||||
limb_pellet_damage = 6
|
||||
pellet_spread = NodePath("../PelletSpread")
|
||||
shoot_distance = 40.0
|
||||
fire_timer = NodePath("../FireTimer")
|
||||
|
||||
|
|
@ -67,3 +72,9 @@ one_shot = true
|
|||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_bwg3m")
|
||||
|
||||
[node name="PelletSpread" type="Path2D" parent="."]
|
||||
position = Vector2(640, 360)
|
||||
curve = SubResource("Curve2D_0fc4q")
|
||||
script = ExtResource("6_a53f6")
|
||||
metadata/_custom_type_script = "uid://ryxe3lxtvpk4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue