Thank you --- Post updated --- Something like this ? --- Post updated --- Hey guys, are you interrested if i add turn signal sound ?
If you don't have the horn key in controls it's because you don't have put the lua folder in the game folder
I didn't expect the quality of this mod to be so good, great job! my only critique is the sirens are a little bit too loud
I can't get them working... I use the camera lua file to detect if the player use the first person view but when i want to get the value of the variable it rerturn me "nil" (null) ...
It's because Vehicle Lua and Game Engine Lua are in a completely different environment See here might help you out. This is what I use (for one of my projects): Code: obj:queueGameEngineLua("be:getPlayerVehicle(0):queueLuaCommand('sounds.cameraMode = (\"'..camera.getActiveMode(0)..'\")')")
You're the best for the sound update, thanks! This mod motivated me to spawn every emergency vehicle in the game for screenshot reasons, and while they were spawned it was good fun setting every siren off at once. Gta vibes
Thank you i'll test that ! --- Post updated --- I write this: " local test = obj:queueGameEngineLua("be:getPlayerVehicle(0):queueLuaCommand('sounds.cameraMode = (\"'..camera.getActiveMode(0)..'\")')") print(test) " And it return me "nil"
after queueLuaCommand it says 'sounds.cameraMode' change that to the file you are editing/making. Then you would do "print(sounds.cameraMode)" or alike. queueGameEngineLua returns nothing.
It work !!! THANKS YOU, i upload the 1.5 version today ! --- Post updated --- Turn signal sound are working fine ! Now i would like to add broken motor sound (a little beep beep when the engine is broken or if the engine have a problem) and maybe engine starter sound. And also a parking break sound
Update 19/04/2017 [1.5]: -Fixed sound too loud -Added blinker sounds ! (Only in first person) -Added parking brake sound ! (Only in first person) Troubleshooting: 1 - Help the mod doesn't work ! You need to restart the game at least 1 time to get the mod working. (install mod / start / restart and it work) 2 - Help i don't have the keys in settings ! Did you put the input action lua file in the main game folder ?
Thanks you ! For the next update you will have: Smoke sounds when the engine is smoking Sounds when you put on the lights Metal sound when you broke the engine or any metal piece and maybe more ?