added pipe rifle animation

This commit is contained in:
2026-02-10 02:48:14 +11:00
parent 137a979c5c
commit d8101979b9
113 changed files with 1025 additions and 415 deletions

View File

@@ -1,6 +1,7 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://do05i1xtdwfqk"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_c5ghd"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_5pac0"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_hwijr"]
[resource]
@@ -11,5 +12,6 @@ attributes = Dictionary[String, float]({
"Energy": 5.0,
"Fire Delay": 2.0
})
features = Array[ExtResource("1_c5ghd")]([ExtResource("2_5pac0")])
text = "DESC_WEAPON_PLATFORM_DASH"
metadata/_custom_type_script = "uid://dg7gxxqfqxcmc"

Binary file not shown.

View File

@@ -22,7 +22,7 @@ nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/generate_lods=false
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
@@ -39,10 +39,15 @@ materials/extract_format=0
materials/extract_path=""
_subresources={
"materials": {
"steel1": {
"metal3": {
"use_external/enabled": true,
"use_external/fallback_path": "res://Materials/steel1/steel1.tres",
"use_external/path": "uid://qq11jacogcec"
"use_external/fallback_path": "res://Materials/metal3/metal3.tres",
"use_external/path": "uid://bte8u8o37f5mf"
},
"metal4": {
"use_external/enabled": true,
"use_external/fallback_path": "res://Materials/metal4/metal4.tres",
"use_external/path": "uid://dse5i3rqndtrf"
},
"wood1": {
"use_external/enabled": true,

Binary file not shown.

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://gojj0xkvjwvm"
path="res://.godot/imported/gun_shot.wav-64186ca30dc40bcd0f9c1f8f141c0c10.sample"
[deps]
source_file="res://Weapons/Assault/gun_shot.wav"
dest_files=["res://.godot/imported/gun_shot.wav-64186ca30dc40bcd0f9c1f8f141c0c10.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

View File

@@ -2,20 +2,27 @@
[ext_resource type="Script" uid="uid://bp3o5klntwmhd" path="res://Scripts/Weapons/hitscan_weapon.gd" id="1_yvp43"]
[ext_resource type="Resource" uid="uid://smctw4ogm4rx" path="res://Weapons/Assault/weapon_stats.tres" id="2_2k4c7"]
[ext_resource type="AudioStream" uid="uid://dknygn5eyuhxt" path="res://Audio/shot1.wav" id="2_5wfsb"]
[ext_resource type="AudioStream" uid="uid://gojj0xkvjwvm" path="res://Weapons/Assault/gun_shot.wav" id="3_5wfsb"]
[ext_resource type="PackedScene" uid="uid://bjjlhmhfytbvm" path="res://Weapons/Assault/BoltGun.glb" id="4_5wfsb"]
[ext_resource type="Material" uid="uid://3m464q2bkdkm" path="res://Towers/Assault/PipePistolBullets.tres" id="5_1hdrg"]
[ext_resource type="Material" uid="uid://cj14tx36js7n2" path="res://boombox_mat.tres" id="6_1hdrg"]
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_1hdrg"]
random_pitch = 1.1
random_pitch = 1.0832878
streams_count = 1
stream_0/stream = ExtResource("2_5wfsb")
stream_0/stream = ExtResource("3_5wfsb")
[node name="Rifle" type="Node3D" unique_id=1518167828 node_paths=PackedStringArray("raycast", "audio_player", "recharge_timer")]
[sub_resource type="QuadMesh" id="QuadMesh_jw2fc"]
material = ExtResource("6_1hdrg")
size = Vector2(0.125, 0.125)
[node name="Rifle" type="Node3D" unique_id=1518167828 node_paths=PackedStringArray("raycast", "audio_player", "recharge_timer", "particle_emitter")]
script = ExtResource("1_yvp43")
raycast = NodePath("RayCast3D")
stats = ExtResource("2_2k4c7")
audio_player = NodePath("AudioStreamPlayer3D")
recharge_timer = NodePath("Timer")
particle_emitter = NodePath("HitParticle")
metadata/_custom_type_script = "uid://bp3o5klntwmhd"
[node name="RayCast3D" type="RayCast3D" parent="." unique_id=1349784403]
@@ -30,7 +37,22 @@ one_shot = true
stream = SubResource("AudioStreamRandomizer_1hdrg")
bus = &"SFX"
[node name="BoltGun" parent="." unique_id=566167059 instance=ExtResource("4_5wfsb")]
transform = Transform3D(-0.07, 0, -1.0569706e-08, 0, 0.07, 0, 1.0569706e-08, 0, -0.07, 0, 0.15755616, -0.10932771)
[node name="BoltGun" parent="." unique_id=1115474442 instance=ExtResource("4_5wfsb")]
[node name="Cube_001" parent="BoltGun" index="0" unique_id=1262514348]
layers = 2
[node name="HitParticle" type="GPUParticles3D" parent="." unique_id=76894935]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.086717755, -1.0784638)
emitting = false
amount = 5
lifetime = 0.2
one_shot = true
explosiveness = 1.0
transform_align = 3
process_material = ExtResource("5_1hdrg")
draw_pass_1 = SubResource("QuadMesh_jw2fc")
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
[editable path="BoltGun"]

View File

@@ -1,6 +1,7 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://c6e50linnk2i7"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_uay7i"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_i8iri"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_lbj0i"]
[resource]
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 0.8,
"Range": 15.0
})
features = Array[ExtResource("1_uay7i")]([ExtResource("2_i8iri")])
text = "DESC_WEAPON_POISON"

View File

@@ -1,6 +1,7 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://co6eorobj1xuu"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_gv6l8"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_82nig"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_fe8lx"]
[resource]
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 2.0,
"Range": 10.0
})
features = Array[ExtResource("1_gv6l8")]([ExtResource("2_82nig")])
text = "DESC_WEAPON_BOMB"

View File

@@ -1,6 +1,7 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://dhwhwicgpw7yh"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_ehd58"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_jskjg"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_yto3f"]
[resource]
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 2.0,
"Range": 15.0
})
features = Array[ExtResource("1_ehd58")]([ExtResource("2_jskjg")])
text = "DESC_WEAPON_FIREBALL"

View File

@@ -2,6 +2,7 @@
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_rinww"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_drgp3"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_ufd52"]
[resource]
script = ExtResource("2_drgp3")
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 0.4,
"Range": 3.0
})
features = Array[ExtResource("1_rinww")]([ExtResource("2_ufd52")])
text = "DESC_WEAPON_FLAMETHROWER"

View File

@@ -1,6 +1,7 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://boj1ho5x0sxtq"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_58qpp"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_lo73o"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_nlx26"]
[resource]
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 0.5,
"Range": 13.0
})
features = Array[ExtResource("1_58qpp")]([ExtResource("2_lo73o")])
text = "DESC_WEAPON_GLUE"

View File

@@ -2,6 +2,7 @@
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_5i8ch"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_5m6w7"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_52d2e"]
[resource]
script = ExtResource("2_5m6w7")
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 2.0,
"Range": 15.0
})
features = Array[ExtResource("1_5i8ch")]([ExtResource("2_52d2e")])
text = "DESC_WEAPON_ICE_SPIKE"

View File

@@ -1,6 +1,7 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://d3qmy6puuh1gl"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_m84e5"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_gglou"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_rl1ek"]
[resource]
@@ -13,5 +14,6 @@ attributes = Dictionary[String, float]({
"Fire Delay": 0.3,
"Range": 100.0
})
features = Array[ExtResource("1_m84e5")]([ExtResource("2_gglou")])
text = "DESC_WEAPON_SPEED_INCREASER"
metadata/_custom_type_script = "uid://dg7gxxqfqxcmc"

View File

@@ -2,6 +2,7 @@
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_2higs"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_ahbcx"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_h1dig"]
[resource]
script = ExtResource("2_ahbcx")
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 0.5,
"Range": 3.0
})
features = Array[ExtResource("1_2higs")]([ExtResource("2_h1dig")])
text = "DESC_WEAPON_RADIATION"

View File

@@ -1,6 +1,7 @@
[gd_resource type="Resource" script_class="CardText" format=3 uid="uid://5l758yxfpi1e"]
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_18tr7"]
[ext_resource type="Resource" uid="uid://dfup264h2pun7" path="res://Scripts/Features/HeavyRounds/heavy_rounds_feature.tres" id="2_h4hr6"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_wny82"]
[resource]
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 0.5,
"Range": 3.0
})
features = Array[ExtResource("1_18tr7")]([ExtResource("2_h4hr6")])
text = "DESC_WEAPON_FREEZER"

View File

@@ -2,6 +2,7 @@
[ext_resource type="Script" uid="uid://bsuinotkvh7eu" path="res://Scripts/Resources/feature.gd" id="1_y0q7b"]
[ext_resource type="Script" uid="uid://dg7gxxqfqxcmc" path="res://Scripts/Resources/card_text.gd" id="2_qyvv8"]
[ext_resource type="Resource" uid="uid://bij61ul87ka0r" path="res://Scripts/Features/ExtendedBarrel/extended_barrel_feature.tres" id="2_ydgyt"]
[resource]
script = ExtResource("2_qyvv8")
@@ -12,4 +13,5 @@ attributes = Dictionary[String, float]({
"Fire Delay": 0.9,
"Range": 100.0
})
features = Array[ExtResource("1_y0q7b")]([ExtResource("2_ydgyt")])
text = "DESC_WEAPON_SNIPER"