Ulysses
General => Developers Corner => Topic started by: JRWR on February 19, 2008, 09:29:40 PM
-
i found this while messing around with ULX
in addons\ulx\lua\ulx\cl_init.lua
Msg( "ULX version " .. ulx.getVersion() .. " loaded.\n" )
surface.PlaySound("jrwrstart.mp3") -- This plays a sound on join, make sure its forced downloaded
TIP: add some silence at the start of the sound (3 secs is good)
-
Nice find :D
This will be useful in welcoming the user and reminding them to check the MOTD/rules.
-
One of the features I'm tossing into UMotd (Two, Revived, Revised, Remixed, whatever I name it) is a random sound when a message screen pops up.
In testing I've been using surface.PlaySound( "/vo/canals/gunboat_herelook.wav" ). This one in which the refugee man helping you arm the gunboat in HL2 says "Here, take a look at this".. I think when looking at a map.
While tinkering in GCFScape, I'm probably going to use the following randomly.
/vo/canals/gunboat_herelook.wav
/vo/canals/shanty_hey.wav
/vo/canals/shanty_gotword.wav
/common/warning.wav
/doors/door_latch3.wav
/npc/roller/blade_out.wav
-
good idea :)
i'll see if there are any more useful sounds to add too...