Weapon sounds

This commit is contained in:
Marco 2025-09-11 10:54:02 +02:00
commit 280af2fcfa
7 changed files with 158 additions and 188 deletions

View file

@ -1,12 +1,7 @@
[gd_scene load_steps=16 format=3 uid="uid://dorx2l3svs58g"]
[gd_scene load_steps=11 format=3 uid="uid://dorx2l3svs58g"]
[ext_resource type="Script" uid="uid://b8g8mflgsr5dc" path="res://Scripts/GameController.cs" id="1_jexas"]
[ext_resource type="PackedScene" uid="uid://bv7tjma3g7nkf" path="res://Scenes/Actors/3D/game_controller.tscn" id="1_wkf2e"]
[ext_resource type="Resource" uid="uid://b32mqmglcdo64" path="res://Resources/Maps/3D/Tutorial_3D.tres" id="2_b1fwp"]
[ext_resource type="PackedScene" uid="uid://rimplblbptcd" path="res://Scenes/Actors/IsoPlayer_FSM.tscn" id="3_gvqvx"]
[ext_resource type="PackedScene" uid="uid://dkwi1hu1bixoe" path="res://Scenes/HUD/HUD.tscn" id="4_dhiwy"]
[ext_resource type="Script" uid="uid://c5nxsq3tyxcx6" path="res://Scripts/InventoryManager.cs" id="5_nv8if"]
[ext_resource type="Script" uid="uid://cnkipcolyj61w" path="res://Scripts/AlarmManager.cs" id="6_cuqta"]
[ext_resource type="AudioStream" uid="uid://blohh20jktoyo" path="res://SFX/270641__phantastonia__alarm2.wav" id="7_xbksb"]
[ext_resource type="Texture2D" uid="uid://du8xcvbnf30o2" path="res://ExternalMaterial/Barrel/Barrels.png" id="8_u0dpd"]
[ext_resource type="Script" uid="uid://dnslcy71dgea" path="res://Scripts/Misc/CameraTarget3D.cs" id="10_xdccr"]
[ext_resource type="Script" uid="uid://ba0tf7ihw4hpp" path="res://Scripts/Misc/CameraController3D.cs" id="11_ysphp"]
@ -26,25 +21,14 @@ sky = SubResource("Sky_yt8i6")
[node name="TutorialGameplay" type="Node3D"]
[node name="GameController" type="Node" parent="." node_paths=PackedStringArray("_cameraTarget", "PlayerParentNode")]
script = ExtResource("1_jexas")
[node name="GameController" parent="." node_paths=PackedStringArray("_cameraTarget", "PlayerParentNode") instance=ExtResource("1_wkf2e")]
_cameraTarget = NodePath("../CameraTarget")
MapResource = ExtResource("2_b1fwp")
PlayerTemplate = ExtResource("3_gvqvx")
SpawnMarkers = Dictionary[int, NodePath]({
0: NodePath("../StartPosition")
0: NodePath("../CameraTarget")
})
PlayerParentNode = NodePath("..")
[node name="InventoryManager" type="Node" parent="GameController"]
script = ExtResource("5_nv8if")
[node name="HUD" parent="GameController" instance=ExtResource("4_dhiwy")]
[node name="AlarmManager" type="Node" parent="GameController"]
script = ExtResource("6_cuqta")
AlarmSound = ExtResource("7_xbksb")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.442606, -0.744379, 0.5, 0.287606, 0.645974, 0.707107, -0.849343, -0.169166, 0.5, 30.2584, 5.82742, 20.7297)
light_energy = 1.375
@ -75,12 +59,12 @@ hframes = 4
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 79.7225, 1.57535, -7.40793)
[node name="CameraTarget" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 21.0389, 2.33215, 3.16925)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 78.07424, 2.33215, -8.145325)
script = ExtResource("10_xdccr")
[node name="Camera3D" type="Camera3D" parent="."]
physics_interpolation_mode = 1
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 26.5146, 7.935, 10.4923)
transform = Transform3D(0.7071068, -0.49999994, 0.5000001, 0, 0.70710695, 0.7071067, -0.7071068, -0.49999994, 0.5000001, 83.54994, 7.935, -0.82227516)
projection = 1
size = 7.537
script = ExtResource("11_ysphp")