Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] Sounds Plugin
[SSGM 4.0 Plugin] Sounds Plugin [message #455047] Sun, 18 September 2011 10:55 Go to next message
iRANian is currently offline  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 #455048 is a reply to message #455047] Sun, 18 September 2011 11:00 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Nice, will use it for TCW Smile
There will be taunts in that too Smile



https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: [SSGM 4.0 Plugin] Sounds Plugin [message #455053 is a reply to message #455047] Sun, 18 September 2011 11:10 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Oops, I forgot to add the source to the ZIP file. It should be fixed now.

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
Re: [SSGM 4.0 Plugin] Sounds Plugin [message #455056 is a reply to message #455047] Sun, 18 September 2011 11:15 Go to previous messageGo to next message
ExEric3 is currently offline  ExEric3
Messages: 746
Registered: February 2005
Location: Slovakia
Karma: 0
Colonel
Thanks for help iRANian In Love
Re: [SSGM 4.0 Plugin] Sounds Plugin [message #463652 is a reply to message #455047] Mon, 05 March 2012 15:13 Go to previous messageGo to next message
iRANian is currently offline  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
Re: [SSGM 4.0 Plugin] Sounds Plugin [message #490504 is a reply to message #455047] Sun, 15 February 2015 05:30 Go to previous message
[-HOH-]szymek777 is currently offline  [-HOH-]szymek777
Messages: 45
Registered: June 2013
Location: Poland
Karma: 0
Recruit
Please update to 4.1
Previous Topic: mXsilo_ag_1_rxd
Next Topic: Paintball mod
Goto Forum:
  


Current Time: Sun Oct 13 09:52:52 MST 2024

Total time taken to generate the page: 0.00901 seconds