Working LUA Map trigger for play custom sound
Subscribers:
3,540
Published on ● Video Link: https://www.youtube.com/watch?v=z6QiptMPI7Y
Engine.Audio.playOnce('AudioGui', 'levels/west_coast_usa/art/sounds/Bad_Taco.ogg')
You may not have too, but I render the audio using OGG format and use the Vorbis compression when rendering audio in Blender.
Also, this does make a LUA error appear the first time it plays. No idea why.
But the sound played.
If anyone curious Bad Taco was a fart sound that played when next to any outhouses on a map.
Other Videos By BeamNG -TerryMartinART- Tutorials,Maps,Mods,Assets
2025-01-19 | 0001 6067 |
2025-01-18 | 0001 7344 |
2025-01-18 | Think this one looks a little better so far |
2025-01-18 | He said the dummy for him looked like an embalmed version of him... |
2025-01-18 | ChatGTP Assistance - Example from a mod with texture problems - BeamNG |
2025-01-17 | Making a Human Terrain Block with Height Map - Time Lapse |
2025-01-17 | Roulette Table Mod Map - By Penkal - Preview |
2025-01-17 | Small Race Track - Track Object |
2025-01-16 | Tornado V5 - Thanks to @TonyCartony for his evaluation LUA code |
2025-01-15 | What is a Depth Map - Question from Comments |
2025-01-14 | Working LUA Map trigger for play custom sound |
2025-01-13 | Phase Plasma Rifle in the 40 Watt Range - wip |
2025-01-11 | Small Island Doodle/Sketch |
2025-01-10 | Tornado for a Car Body |
2025-01-08 | Alien landscape model to Terrain Block - BeamNG |
2025-01-08 | Making Tornado Version 3 |
2025-01-08 | 0000 0937 |
2025-01-07 | Question from Email - Terrain ground types not working as intended. |
2025-01-05 | Latest on Fire Tornado |
2025-01-05 | Desktop 2025 01 05 02 57 40 51 |
2025-01-02 | FireNADO! hehe |