Renegade Public Forums
C&C: Renegade -- Dead since 2012!™
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: 4153
Registered: April 2011
General (4 Stars)
From: *cm-8.dynamic.ziggo.nl
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

[Updated on: Mon, 05 March 2012 15:13]


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 #455048] Sun, 18 September 2011 11:00 Go to previous messageGo to next message
zunnie  is currently offline zunnie  
Messages: 2949
Registered: September 2003
Location: Netherlands
General (2 Stars)
From: *upc-g.chello.nl
Nice, will use it for TCW Smile
There will be taunts in that too Smile


https://zunnie.playunreal.com/images/play_unreal_logo.png

Website & Info: Website | Dedicated Server Guide
Communications: Discord | Twitch | YouTube | Twitter
Re: [SSGM 4.0 Plugin] Sounds Plugin [message #455053] Sun, 18 September 2011 11:10 Go to previous messageGo to next message
iRANian  is currently offline iRANian  
Messages: 4153
Registered: April 2011
General (4 Stars)
From: *cm-8.dynamic.ziggo.nl
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] Sun, 18 September 2011 11:15 Go to previous messageGo to next message
ExEric3  is currently offline ExEric3  
Messages: 709
Registered: February 2005
Location: Slovakia
Colonel

From: *orange.sk
Thanks for help iRANian In Love
Re: [SSGM 4.0 Plugin] Sounds Plugin [message #463652] Mon, 05 March 2012 15:13 Go to previous messageGo to next message
iRANian  is currently offline iRANian  
Messages: 4153
Registered: April 2011
General (4 Stars)
From: *cm-5-3b.dynamic.ziggo.nl
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] Sun, 15 February 2015 05:30 Go to previous message
[-HOH-]szymek777  is currently offline [-HOH-]szymek777  
Messages: 41
Registered: June 2013
Location: Poland
Recruit
From: *szczecin.mm.pl
Please update to 4.1
Previous Topic:mXsilo_ag_1_rxd
Next Topic:Paintball mod
Goto Forum:
  


Current Time: Wed Mar 22 15:14:10 MST 2017
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7RC2.
Copyright ©2001-2007 FUD Forum Bulletin Board Software