I am in the process of developing some vehicles which use the in-built model method like the airboat, buggy, and EP2 charger use. Everything is in order but If I want to have the engine sounds and gear sounds to be custom, I need a way to add the pointers without using a .txt file as they are forbidden for workshop upload in that subfolder.
A reference inside the scripts/sounds/gamesounds.txt file looks like this
"ATV_engine_idle"
{
"channel" "CHAN_STATIC"
"volume" "1.0"
"soundlevel" "SNDLVL_80dB"
"wave" "vehicles/v8/v8_idle_loop1.wav"
}
And the gears inside the vehicle script refer to this line by this
"state"
{
"name" "SS_IDLE"
"sound" "ATV_engine_idle"
}
As you can see the vehicle script (which I CAN upload) is just loading up a "sound" which is just defined in a different text file in a folder nearby. Weapons which get coded in lua can refer to sounds like Weapon_XM1014.Single (which are defined similarly to above), but can a lua file add these sound references as well?
https://files.facepunch.com/forum/upload/197903/c71a701d-cd0a-43d0-8f22-6cf927672c5c/20180421083853_1.jpg
Sorry, you need to Log In to post a reply to this thread.