From 39ff2e8a99aa4a9dbab7eee94ce9cd5cede977f7 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 22 May 2025 16:15:12 +0200 Subject: [PATCH] Shotgun sound --- Resources/Weapons/Ice_Shotgun_Sawed_T0.tres | 6 ++++- Resources/Weapons/Ice_Shotgun_Weapon.tres | 6 ++++- SFX/Chiptone_Source/Shotgun | Bin 0 -> 300 bytes SFX/Chiptone_Source/Shotgun.wav | 3 +++ SFX/Chiptone_Source/Shotgun.wav.import | 24 ++++++++++++++++++++ 5 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 SFX/Chiptone_Source/Shotgun create mode 100644 SFX/Chiptone_Source/Shotgun.wav create mode 100644 SFX/Chiptone_Source/Shotgun.wav.import diff --git a/Resources/Weapons/Ice_Shotgun_Sawed_T0.tres b/Resources/Weapons/Ice_Shotgun_Sawed_T0.tres index e9b60fb9..ff3cbfb3 100644 --- a/Resources/Weapons/Ice_Shotgun_Sawed_T0.tres +++ b/Resources/Weapons/Ice_Shotgun_Sawed_T0.tres @@ -1,7 +1,9 @@ -[gd_resource type="Resource" script_class="WeaponResource" load_steps=3 format=3 uid="uid://i5cq21er10ew"] +[gd_resource type="Resource" script_class="WeaponResource" load_steps=5 format=3 uid="uid://i5cq21er10ew"] [ext_resource type="Resource" uid="uid://d2d4jh14m1mjm" path="res://Resources/Bullets/ice_shotgun_sawed_bullets.tres" id="1_g5stw"] [ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="2_d1u0r"] +[ext_resource type="AudioStream" uid="uid://jsv3yjluv1au" path="res://SFX/Weapons/Reload_01.wav" id="2_hod1e"] +[ext_resource type="AudioStream" uid="uid://oyjbk3qjp5cr" path="res://SFX/Chiptone_Source/Shotgun.wav" id="3_uxvae"] [resource] script = ExtResource("2_d1u0r") @@ -20,3 +22,5 @@ BulletsPerShot = 4 SpreadAngle = 20.0 RandomSpread = 15.0 _rotationOffset = 0.0 +ReloadSound = ExtResource("2_hod1e") +ShootSound = ExtResource("3_uxvae") diff --git a/Resources/Weapons/Ice_Shotgun_Weapon.tres b/Resources/Weapons/Ice_Shotgun_Weapon.tres index 8602db19..d9729f7b 100644 --- a/Resources/Weapons/Ice_Shotgun_Weapon.tres +++ b/Resources/Weapons/Ice_Shotgun_Weapon.tres @@ -1,7 +1,9 @@ -[gd_resource type="Resource" script_class="WeaponResource" load_steps=3 format=3 uid="uid://cyntngidhcbkc"] +[gd_resource type="Resource" script_class="WeaponResource" load_steps=5 format=3 uid="uid://cyntngidhcbkc"] [ext_resource type="Resource" uid="uid://eu6n6c5175y8" path="res://Resources/Bullets/simple_ice_bullet.tres" id="1_m44wx"] +[ext_resource type="AudioStream" uid="uid://jsv3yjluv1au" path="res://SFX/Weapons/Reload_01.wav" id="2_0vfwr"] [ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="2_utbbo"] +[ext_resource type="AudioStream" uid="uid://oyjbk3qjp5cr" path="res://SFX/Chiptone_Source/Shotgun.wav" id="3_tvv5a"] [resource] script = ExtResource("2_utbbo") @@ -20,3 +22,5 @@ BulletsPerShot = 3 SpreadAngle = 8.0 RandomSpread = 15.0 _rotationOffset = 0.0 +ReloadSound = ExtResource("2_0vfwr") +ShootSound = ExtResource("3_tvv5a") diff --git a/SFX/Chiptone_Source/Shotgun b/SFX/Chiptone_Source/Shotgun new file mode 100644 index 0000000000000000000000000000000000000000..755c55d76cbf81936218f53f65785394c84c37b4 GIT binary patch literal 300 zcmZQ#u!^|P$G~nW|M4aR7&O!~Ffaq*1D5~wYttEwj6tFe^=Eug=^2rze3*Qi8bq97 z9lMe7M25%}tZN)0B9Fu&G?Pvcgz-9P)^Cu}%op+@0?VKhWr`4f8HfTZ@Q;AdXHy~c P|9UW#hqwVGMi&48MW{0A literal 0 HcmV?d00001 diff --git a/SFX/Chiptone_Source/Shotgun.wav b/SFX/Chiptone_Source/Shotgun.wav new file mode 100644 index 00000000..1f4c3ec9 --- /dev/null +++ b/SFX/Chiptone_Source/Shotgun.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f60cb238ac692805540474c7207f6fd65bb5a04962880ddcf15a122e660c4aee +size 16934 diff --git a/SFX/Chiptone_Source/Shotgun.wav.import b/SFX/Chiptone_Source/Shotgun.wav.import new file mode 100644 index 00000000..979f0774 --- /dev/null +++ b/SFX/Chiptone_Source/Shotgun.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://oyjbk3qjp5cr" +path="res://.godot/imported/Shotgun.wav-14247f4714cbecf84510a88758f7bed8.sample" + +[deps] + +source_file="res://SFX/Chiptone_Source/Shotgun.wav" +dest_files=["res://.godot/imported/Shotgun.wav-14247f4714cbecf84510a88758f7bed8.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