[SSGM 4.0 Plugin] Sounds Plugin [message #455047] |
Sun, 18 September 2011 10:55 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
Name: SSGM 4.0 Sounds Plugin
Version: v1.0
Author: ExEric3, ported to 4.0 by iRANian
This is a plug-in was designed to work with SSGM 4.0 for Renegade.
This plug-in allows to players listen special sounds from triggered words in game. There are also some in game commands:
!sound - display all sounds groups (numbers of groups)
!sound1/!sounds1 - display specified group of sounds
.
.
.
!sound8/!sounds8 - display specified group of sounds
To use this plug-in, refer to SSGM.ini in your SSGM 2.02 server folder.
You'll need to add the .dll to the server folder, and make an entry in the [Plugins] section (SSGM.ini), mine looks like this:
[Plugins]
01=Sounds
You can also specify your own triggered words and own .wav files, this binary file accept only first 256 .wav files. For more file you need recompile source code.
To add extra, add a section called "[Sounds_Plugin]" to SSGM.ini and add some entries, so it looks like the following for example:
[Sounds_Plugin]
01 = chicky m00achk_kill0001i1gbmg_snd.wav
02 = skill mxxdsgn_dsgn014i1gbmg_snd.wav
03 = hehe mtudsgn_dsgn0377a1gbmg_snd.wav
04 = hh mtudsgn_dsgn0377a1gbmg_snd.wav
See Sounds.ini for more example entries (note that this plugin doesn't load from Sounds.ini, it's just an example of possible entries).
Special thanks to:
zunnie - original idea
reborn - readme and his source codes as examples
jnz - helped with the source
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
[Updated on: Mon, 05 March 2012 15:13] Report message to a moderator
|
|
|
|
|
|
Re: [SSGM 4.0 Plugin] Sounds Plugin [message #463652 is a reply to message #455047] |
Mon, 05 March 2012 15:13 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
I've released an update to severely increase the performance of this plugin (by using a hash map/table instead of string comparing all the sound triggers when someone uses text, and by removing the sscanf() call).
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|
|