Slot selection and non-working auto weapon
This commit is contained in:
parent
22a72e572e
commit
08d0859728
26 changed files with 528 additions and 4 deletions
118
base/assets/sprites/guns/gangstaholder/gangstaholder.tres
Normal file
118
base/assets/sprites/guns/gangstaholder/gangstaholder.tres
Normal file
|
@ -0,0 +1,118 @@
|
|||
[gd_resource type="AnimationLibrary" load_steps=16 format=3 uid="uid://57ng8lwnt2k4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cy3ija8ratxjq" path="res://base/assets/sprites/guns/gangstaholder/shoot1.png" id="1_rooin"]
|
||||
[ext_resource type="Texture2D" uid="uid://cd4m4g44rmwrc" path="res://base/assets/sprites/guns/gangstaholder/shoot2.png" id="2_57rwx"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq6u2xb34xf0p" path="res://base/assets/sprites/guns/gangstaholder/shoot3.png" id="3_eqg6o"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3ys0jdfd5uxl" path="res://base/assets/sprites/guns/gangstaholder/reload1.png" id="4_vwudn"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkpthumpkpxh5" path="res://base/assets/sprites/guns/gangstaholder/reload2.png" id="5_p7jc5"]
|
||||
[ext_resource type="Texture2D" uid="uid://bhoj5jfr2bqjo" path="res://base/assets/sprites/guns/gangstaholder/reload3.png" id="6_t6dve"]
|
||||
[ext_resource type="Texture2D" uid="uid://b33s3psoy6k03" path="res://base/assets/sprites/guns/gangstaholder/reload4.png" id="7_5sdma"]
|
||||
[ext_resource type="Texture2D" uid="uid://hyr3s50x4fsk" path="res://base/assets/sprites/guns/gangstaholder/reload5.png" id="8_2gfsp"]
|
||||
[ext_resource type="Texture2D" uid="uid://cvw7h7fsfdjln" path="res://base/assets/sprites/guns/gangstaholder/reload6.png" id="9_y5ueg"]
|
||||
[ext_resource type="Texture2D" uid="uid://ditbn0dkyjj6e" path="res://base/assets/sprites/guns/gangstaholder/reload7.png" id="10_tf0tm"]
|
||||
[ext_resource type="Texture2D" uid="uid://dftqlo1lltx5f" path="res://base/assets/sprites/guns/gangstaholder/static.png" id="11_fahg7"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_i1xqq"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [null]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_8sdfx"]
|
||||
resource_name = "shoot"
|
||||
length = 0.30001
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("1_rooin"), ExtResource("2_57rwx"), ExtResource("3_eqg6o")]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("../..")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.2, 0.3),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"finish_task"
|
||||
}, {
|
||||
"args": [],
|
||||
"method": &"reset_animation"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_08xoc"]
|
||||
resource_name = "reload"
|
||||
length = 1.10001
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.3, 0.4, 0.7, 0.8, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("4_vwudn"), ExtResource("5_p7jc5"), ExtResource("6_t6dve"), ExtResource("7_5sdma"), ExtResource("8_2gfsp"), ExtResource("9_y5ueg"), ExtResource("10_tf0tm")]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("../..")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(1.1),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"finish_task"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ma1q3"]
|
||||
resource_name = "static"
|
||||
length = 0.001
|
||||
step = 0.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [ExtResource("11_fahg7")]
|
||||
}
|
||||
|
||||
[resource]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_i1xqq"),
|
||||
&"fire": SubResource("Animation_8sdfx"),
|
||||
&"reload": SubResource("Animation_08xoc"),
|
||||
&"static": SubResource("Animation_ma1q3")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue