updated to godot 4.6

This commit is contained in:
2026-01-28 13:42:26 +11:00
parent 5bbc2c0cb0
commit 6f1105cdbe
795 changed files with 5616 additions and 2077 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://difwo7wlyqr3h"]
[gd_scene format=3 uid="uid://difwo7wlyqr3h"]
[ext_resource type="PackedScene" uid="uid://b7nargdyg28fj" path="res://Scenes/Weapons/weapon.tscn" id="1_s865l"]
[ext_resource type="Script" uid="uid://bp3o5klntwmhd" path="res://Scripts/Weapons/hitscan_weapon.gd" id="2_nyich"]
@@ -9,16 +9,16 @@ cull_mode = 1
shading_mode = 0
albedo_color = Color(1, 0, 0.415686, 0.223529)
[node name="HitscanWeapon" node_paths=PackedStringArray("raycast", "range_debug_indicator") instance=ExtResource("1_s865l")]
[node name="HitscanWeapon" unique_id=373618795 node_paths=PackedStringArray("raycast", "range_debug_indicator") instance=ExtResource("1_s865l")]
script = ExtResource("2_nyich")
raycast = NodePath("RayCast3D")
range_debug_indicator = NodePath("CSGSphere3D")
[node name="RayCast3D" type="RayCast3D" parent="." index="2"]
[node name="RayCast3D" type="RayCast3D" parent="." index="2" unique_id=1750005362]
target_position = Vector3(0, 0, -1)
collision_mask = 4
[node name="CSGSphere3D" type="CSGSphere3D" parent="." index="3"]
[node name="CSGSphere3D" type="CSGSphere3D" parent="." index="3" unique_id=2125239824]
visible = false
radius = 4.104
radial_segments = 16

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://bqdllitxbbpyp"]
[gd_scene format=3 uid="uid://bqdllitxbbpyp"]
[ext_resource type="PackedScene" uid="uid://b7nargdyg28fj" path="res://Scenes/Weapons/weapon.tscn" id="1_nbhwa"]
[ext_resource type="Script" uid="uid://d2gdg2lcedfgg" path="res://Scripts/Weapons/projectile_weapon.gd" id="2_5ekyi"]
[node name="ProjectileWeapon" instance=ExtResource("1_nbhwa")]
[node name="ProjectileWeapon" unique_id=770798911 instance=ExtResource("1_nbhwa")]
script = ExtResource("2_5ekyi")
projectile_scene = null

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://dp4gfr5h0tbcd"]
[gd_scene format=3 uid="uid://dp4gfr5h0tbcd"]
[ext_resource type="PackedScene" uid="uid://b7nargdyg28fj" path="res://Scenes/Weapons/weapon.tscn" id="1_gfchc"]
[ext_resource type="Script" uid="uid://1l1qccgmp5ih" path="res://Scripts/Weapons/shapecast_weapon.gd" id="2_lg6v5"]
@@ -18,25 +18,25 @@ cull_mode = 1
shading_mode = 0
albedo_color = Color(1, 0, 0.415686, 0.223529)
[node name="ShapecastWeapon" node_paths=PackedStringArray("shapecast", "range_debug_indicator", "particles") instance=ExtResource("1_gfchc")]
[node name="ShapecastWeapon" unique_id=1265681011 node_paths=PackedStringArray("shapecast", "range_debug_indicator", "particles") instance=ExtResource("1_gfchc")]
script = ExtResource("2_lg6v5")
shapecast = NodePath("ShapeCast3D")
range_debug_indicator = NodePath("CSGSphere3D")
status_stats = null
particles = NodePath("ShapeCast3D/GPUParticles3D")
[node name="ShapeCast3D" type="ShapeCast3D" parent="." index="2"]
[node name="ShapeCast3D" type="ShapeCast3D" parent="." index="2" unique_id=1138406404]
transform = Transform3D(0.984808, 0, 0.173648, 0, 1, 0, -0.173648, 0, 0.984808, 0, 0, 0)
shape = SubResource("BoxShape3D_uk6ey")
target_position = Vector3(0, 0, -1.5)
collision_mask = 4
[node name="GPUParticles3D" type="GPUParticles3D" parent="ShapeCast3D" index="0"]
[node name="GPUParticles3D" type="GPUParticles3D" parent="ShapeCast3D" index="0" unique_id=1743469147]
amount = 36
visibility_aabb = AABB(-1.02851, -1.00566, -3.03983, 2.05703, 2.01132, 6.07966)
draw_pass_1 = SubResource("BoxMesh_o37rs")
[node name="CSGSphere3D" type="CSGSphere3D" parent="." index="3"]
[node name="CSGSphere3D" type="CSGSphere3D" parent="." index="3" unique_id=959798617]
visible = false
radius = 4.104
radial_segments = 16

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://nrdexcyatika"]
[gd_scene format=3 uid="uid://nrdexcyatika"]
[ext_resource type="PackedScene" uid="uid://difwo7wlyqr3h" path="res://Scenes/Weapons/hitscan_weapon.tscn" id="1_uolyx"]
[ext_resource type="Script" uid="uid://dqcjfcecqhuec" path="res://Scripts/Weapons/status_applying_weapon.gd" id="2_iq7bw"]
[node name="StatusApplyingWeapon" instance=ExtResource("1_uolyx")]
[node name="StatusApplyingWeapon" unique_id=1990453 instance=ExtResource("1_uolyx")]
script = ExtResource("2_iq7bw")
status_stats = null

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://b7nargdyg28fj"]
[gd_scene format=3 uid="uid://b7nargdyg28fj"]
[ext_resource type="Script" uid="uid://blh4s3v07ycwa" path="res://Scripts/Weapons/weapon.gd" id="1_yo2gh"]
@@ -39,27 +39,25 @@ _data = {
&"shoot": SubResource("Animation_0rgpe")
}
[node name="Weapon" type="Node3D" node_paths=PackedStringArray("animator", "audio_player", "recharge_timer")]
[node name="Weapon" type="Node3D" unique_id=1718669692 node_paths=PackedStringArray("animator", "audio_player", "recharge_timer")]
script = ExtResource("1_yo2gh")
animator = NodePath("AnimationPlayer")
audio_player = NodePath("AudioStreamPlayer3D")
recharge_timer = NodePath("Timer")
[node name="Sprite3D" type="Sprite3D" parent="."]
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=1457062627]
layers = 2
billboard = 1
texture_filter = 0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_fs82p")
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1653774884]
libraries/ = SubResource("AnimationLibrary_fs82p")
[node name="Timer" type="Timer" parent="."]
[node name="Timer" type="Timer" parent="." unique_id=1035986347]
wait_time = 4.0
one_shot = true
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="." unique_id=1246168083]
bus = &"SFX"
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]