Hi guys, this maybe of interest to some of you who want to add a little sound to your radar object / objective items.
I have included the script and sounds in the zip below.
Step.1
From the zip below just copy the radar_sound.lua and objective_sound.lua to your radar directory located here:-
\Steam\steamapps\common\Game Guru\Files\scriptbank\radar
Step.2
Copy the audio files to here:-
\Steam\steamapps\common\Game Guru\Files\audiobank\misc - or where you want them.
Step.3
Add the new radar_sound.lua script to your Entity set to: Always Active - Yes, Static Mode - No.
Step.4
Add the new objective_sound.lua script to your Entity objective including the below audio sounds.
Step.5
You will need to add the audio files to the object / objective in the order below; unless you want to use others you already have.
Sound0 - audiobank\misc\ping.wav
Sound1 - audiobank\misc\objectivenearby.ogg
Sound2 - audiobank\misc\objectiveclose.ogg
Sound3 - audiobank\misc\objectivecloser.ogg
Sound0 would be your normal objective completed sound.
Sound1 lets you know your objective is nearby.
Sound2 will start to ping when you are in range of an objective.
Sound3 is when you are on top of the objective and the audio sound will start pinging at a faster rate.
All audio sounds are under 10KB except one which is below 20KB, very small files.
Step.6
Adding more objectives - I have include two other audio sounds for other objectives which are denoted by the letter T in the filename. These are at different pitches of sound. Add your own if not used.
Step.7
Save and test in the same way you would any other level.
I have also included a map level for this example called "_radar_sound.fpm" but you will need the Scifi Pack DLC to use this demo.
Notes
If you wish to change the distance of the objectives this can be done by editing the radar_sound.lua script on line 18. Also lines 101, 105 and 107.
Image attached
YouTube example
Dark Base 900 Pro OJ: Rampage V Ed.10, i7 6950x non-OC, DDR4-3333 64 GB RAM, Win 10/64, Asus Strix GeForce 1080 x 2 SLI mode, Water cooled with an old Victorian cast iron radiator and a industrial leather belt driven fan - That's what you call Steampunked.
Laptop - M17xR3
A new competition running for GG