From fa9f1096cd73bb573774ca333b0baf28bd38e9f4 Mon Sep 17 00:00:00 2001 From: yuni Date: Sun, 15 Sep 2024 04:30:09 +0200 Subject: [PATCH] add car door sounds when entering/exiting vehicles --- LICENSE.md | 1 + assets/sounds/enter.ogg | Bin 0 -> 11911 bytes assets/sounds/exit.ogg | Bin 0 -> 9578 bytes src/actor.rs | 2 +- src/audio.rs | 9 ++++++++- src/game.rs | 5 ++++- 6 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 assets/sounds/enter.ogg create mode 100644 assets/sounds/exit.ogg diff --git a/LICENSE.md b/LICENSE.md index 2ed5ecd..17d30bb 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -45,6 +45,7 @@ - zoom.ogg: Recorded a screw thread scraping against a saxophone ligature - Other sounds: - achieve.ogg: UI Completed Status Alert Notification SFX001.wav [by Headphaze, CC BY 4.0](https://freesound.org/s/277033/) + - enter.ogg, exit.ogg: [Getting Out of Car.wav by kingsrow, CC0](https://freesound.org/s/181568/) - Takeoff.ogg: [By Serat, CC BY 4.0](https://freemusicarchive.org/music/serat/route-remastered/takeoff-remastered/) - JupiterRecording.ogg: An [actual Jupiter recording by NASA](https://archive.org/download/voyager-1-and-2-1990-jupiter-nasa-voyager-space-sounds-electronic), public domain. - Processed by cutting out min 1:47-3:47 and applying a 10s linear crossfade at the end. Exported as ogg with quality=3, see [.kdenlive file](src/audio/JupiterRecording.kdenlive). diff --git a/assets/sounds/enter.ogg b/assets/sounds/enter.ogg new file mode 100644 index 0000000000000000000000000000000000000000..dbbf4338f8d82ab38fc23741684b3e8f50453fca GIT binary patch literal 11911 zcmeHtXH-1fBzW2SiXV2L^XZP24zNV+AyQ;eCR&`Z(^<^||Y;*uL;BUb`(bc)?_RbA! zKkv@pmyiC6xG4kgO$#%UPfWy@{i_P4+ijAK%nI{@QU*vet*j+B2brr^S;rei6V{fN%FQ@S|r%Ao*j-C^u&S~b~>$U0( z5FnRXJc*eziHS35Q7j1~>{%HaV0mSdT#o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zr|_H0uvq*fUVJ z1s>au$E6EOpSl%k5^bNnal06reNQgCno=ZWvXkVnI$gF7Z$?>grkQi5E$C(^QSQ}m zAxC^D`DO->p3<+F(J2a}))eXU&Wr$_buEE?cC$>nPprg+`ks}wQTksU2n}xgL*9Q` Vt;YIkd{kc{ZUo+_$gLs3{{inyAjJRx literal 0 HcmV?d00001 diff --git a/assets/sounds/exit.ogg b/assets/sounds/exit.ogg new file mode 100644 index 0000000000000000000000000000000000000000..b1aba52a355b9470cfe419bacfc0f39c89b850c7 GIT binary patch literal 9578 zcmeHtc{r49+xR{9Wyrp(p&_Or!w{k-OW9+XVeH#r?7Pr1vSbfghlI>vLLs8!QL^vG zmLxqY3H3zFQ$6Lohu-&i-uL*9<9mT2q0YDd-3FeNO}JIad`>0stF8R_3CFFB`n={IXy2wV;g@qMtcSPE*U5Ox7=0a9o$W zx@hoLe|0|>AAub-0D$3=OA^7F$R+<{P^K1prYqBmJ%^NQWFkgT{jfxS-8a=&tqr)9 ztF6rtb=CP;GnHA#hz-roR=;Q2+XY6qHI2V_gpqc2PnZlqs{O$xFL}&|o z`mcRgbr=MwIH;3%P&rRtId4Tfk1Z*so(1q`nxsN0eMLL_rAf8|DbFXi&^L`zTS9qL zSI)Cb0zg0#W?Md+zIry>H#To~q|}fowEwhY{00yJ2DD{=n9N>39S-N*weSD{`V@nO z_lF}-N1*#7^iD?_^+#F^=GzUnI`jU+3834-h7m>@+v@dS)f*Sq9A}_Mg)ME+mW=

oQ9$RJyZN-jg_o+OYUwels5GC|oM)#0bSs;CnwWjsu? zD?QXvS6mt~rn6cWI3~GL7BQwgRMJ~fGC_$LGlf#9d$U-fQqG3DDG(;PTE^ce=>gJ_ zrYM|sPaMF#gbB*)+71zLmX=?7sI|jxkKZoSh_O1?vayFcFTfpX3#9=a+%Dkkt9RME zQEny-l>2Mo-VGlN=r@mfiN0%>VCS5(@vN@2L)I0x;8QHy!gm zGg19ziB<;Odk+4UIj6%!`g3IlbK&OAaLXy==ob3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URRKNXtA;1H$KON|_a`LpmO+51C+EThQLc;E3tg~$-M@U6mj zMIG#LwL{+dVs3u+pE1tWo=cnBJlL6&T z18XA=cDT5bShn+wVoHt47x)cCw-!fi)9K*s#+&wv&C40+`wW`B#|?8W7G$cRX%+9H z|Bai~|^1r3qp zwmlT+D%=P&`@#kZ@H13xe3i<^%{qUV?u-j;s;B4DJ%ND-KQEq`ua8}f*&lrvUxcR> z7{Bd!r{5;tr`I(`hpwZ1PlQK2D0@WEE1uGy`|&pN`t{lGU4!exa~aYZXnmeal>iv8 zw@kZyOgtf8+_FzTo+3X!A<^6{!to)Pc6Z7D%dLKiim7pP{O1V=J3PLegmB!3k_{wL z`udJVav6(D!d}i+6u>S;k85}Tym?g@TMDEk4$8NNc5*B1S9lLrrkv@cE%|kyno+Zdz wKFM&lDNEnBnEhDaGdl8c$(M0|{!mMv8UGyeo%SDWWC(zCVgrDd4R+wa0B}d~W&i*H literal 0 HcmV?d00001 diff --git a/src/actor.rs b/src/actor.rs index 79b2f10..02f7b58 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -495,7 +495,7 @@ pub fn handle_vehicle_enter_exit( flashlight_trans.translation = Vec3::new(0.0, 0.0, 1.0); } commands.entity(driver).insert(RigidBody::Dynamic); - ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Switch)); + ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::ExitVehicle)); commands.entity(vehicle).remove::(); commands.entity(driver).insert(PlayerCamera); commands.entity(vehicle).remove::(); diff --git a/src/audio.rs b/src/audio.rs index d220084..6cfad72 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -70,7 +70,9 @@ const PATHS: &[(SfxType, Sfx, &str)] = &[ (SfxType::OneOff, Sfx::Click, "sounds/click.ogg"), (SfxType::OneOff, Sfx::Connect, "sounds/connect.ogg"), (SfxType::OneOff, Sfx::Crash, "sounds/crash.ogg"), - (SfxType::OneOff, Sfx::EnterVehicle, "sounds/growl.ogg"), + (SfxType::OneOff, Sfx::EnterVehicle, "sounds/enter.ogg"), + (SfxType::OneOff, Sfx::ExitVehicle, "sounds/exit.ogg"), + (SfxType::OneOff, Sfx::Honk, "sounds/growl.ogg"), ( SfxType::OneOff, Sfx::IncomingChatMessage, @@ -94,8 +96,10 @@ pub enum Sfx { Crash, ElectricMotor, EnterVehicle, + ExitVehicle, Gasp, GaspRelief, + Honk, IncomingChatMessage, Ion, Ping, @@ -111,6 +115,9 @@ pub fn str2sfx(sfx_label: &str) -> Sfx { return match sfx_label { "achieve" => Sfx::Achieve, "switch" => Sfx::Switch, + "enter" => Sfx::EnterVehicle, + "exit" => Sfx::ExitVehicle, + "honk" => Sfx::Honk, "click" => Sfx::Click, "woosh" => Sfx::Woosh, "zoom" => Sfx::Zoom, diff --git a/src/game.rs b/src/game.rs index 2de0cc9..7b2e6a9 100644 --- a/src/game.rs +++ b/src/game.rs @@ -361,7 +361,10 @@ fn handle_cheats( if key_input.just_pressed(settings.key_cheat_god_mode) { settings.god_mode ^= true; if settings.god_mode { - ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::EnterVehicle)); + ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Honk)); + } + else { + ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Switch)); } } if !settings.god_mode && !settings.dev_mode {