91b878f347
- Added 6 Quaternius weapon models (Pistol, Revolver, Rifle, Shotgun, P90, SniperRifle) - Created weapon resource files with balanced stats - Wired Pistol + Rifle into player.tscn replacing Kenney blasters - Fixed WASD input (matched input map action names) - Fixed Escape key toggles mouse capture - Added Audio autoload singleton - Fixed broken sound asset paths across all scripts - Fixed all scene ext_resource text paths (nested under assets/kenney-fps/) - Fixed all .import source_file paths - Deleted stale .import files (will be regenerated by editor on open)
37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://d2g78tpqbyf5g"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://lde2xq3vq635" path="res://assets/kenney-fps/models/enemy-flying.glb" id="1_3v8nl"]
|
|
[ext_resource type="Script" uid="uid://b6udw8uhlp4ei" path="res://assets/kenney-fps/objects/enemy.gd" id="1_jg24b"]
|
|
[ext_resource type="SpriteFrames" uid="uid://dbv3sy5qjatnl" path="res://assets/kenney-fps/sprites/burst_animation.tres" id="3_iblw5"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_iix87"]
|
|
radius = 0.75
|
|
|
|
[node name="enemy-flying" type="Area3D"]
|
|
script = ExtResource("1_jg24b")
|
|
|
|
[node name="enemy-flying" parent="." instance=ExtResource("1_3v8nl")]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
|
shape = SubResource("SphereShape3D_iix87")
|
|
|
|
[node name="RayCast" type="RayCast3D" parent="."]
|
|
target_position = Vector3(0, 0, 5)
|
|
|
|
[node name="MuzzleA" type="AnimatedSprite3D" parent="."]
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -0.45, 0.3, 0.4)
|
|
sprite_frames = ExtResource("3_iblw5")
|
|
frame = 2
|
|
|
|
[node name="MuzzleB" type="AnimatedSprite3D" parent="."]
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0.45, 0.3, 0.4)
|
|
sprite_frames = ExtResource("3_iblw5")
|
|
frame = 2
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.25
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|