69 lines
2.5 KiB
Text
69 lines
2.5 KiB
Text
[gd_scene load_steps=10 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"]
|
|
|
|
[sub_resource type="Curve" id="Curve_cmn6f"]
|
|
_limits = [0.0, 0.1, 0.0, 20.0]
|
|
_data = [Vector2(0, 0.1), 0.0, 0.0, 0, 0, Vector2(20, 0.1), -2.2834061e-05, 0.0, 0, 0]
|
|
point_count = 2
|
|
metadata/_snap_enabled = true
|
|
metadata/_snap_count = 8
|
|
|
|
[sub_resource type="Curve" id="Curve_jk5g7"]
|
|
|
|
[sub_resource type="Curve" id="Curve_bwg3m"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.25301203, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_bwg3m"]
|
|
properties/0/path = NodePath(".:ammo")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 2
|
|
properties/1/path = NodePath(".:remaining_ammo")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 2
|
|
|
|
[node name="MC255" type="Node" node_paths=PackedStringArray("enter_state")]
|
|
script = ExtResource("1_uck67")
|
|
animation_prefix = &"baked_mc_"
|
|
weapon_gid = &"mc"
|
|
max_ammo = 5
|
|
ammo_mags = 8
|
|
speed_modifier = 0.9
|
|
slot = &"primary"
|
|
enter_state = NodePath("Intro")
|
|
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")]
|
|
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
|
|
shoot_distance = 40.0
|
|
fire_timer = NodePath("../FireTimer")
|
|
|
|
[node name="Reload" type="Node" parent="."]
|
|
script = ExtResource("4_fs8hh")
|
|
|
|
[node name="Intro" type="Node" parent="."]
|
|
script = ExtResource("5_3ok4b")
|
|
|
|
[node name="FireTimer" type="Timer" parent="."]
|
|
wait_time = 2.0
|
|
one_shot = true
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_bwg3m")
|