Few Things To Ask [message #272346] |
Tue, 10 July 2007 18:03 |
_SSnipe_
Messages: 4121 Registered: May 2007 Location: Riverside Southern Califo...
Karma: 0
|
General (4 Stars) |
|
|
1) what script makes a samsite work
2) how can i make a sound that i put into a buidling and every about 2 minutes plays eh sound then another 2 minutes plays it again
|
|
|
|
|
Re: Few Things To Ask [message #272352 is a reply to message #272346] |
Tue, 10 July 2007 18:29 |
|
IronWarrior
Messages: 2460 Registered: November 2004 Location: England UK
Karma: 0
|
General (2 Stars) |
|
|
joe937465 wrote on Tue, 10 July 2007 20:03 | 1) what script makes a samsite work
2) how can i make a sound that i put into a buidling and every about 2 minutes plays eh sound then another 2 minutes plays it again
|
Use M00_BuildingStateSoundSpeaker on a daves arrow.
Sound_Normal > is the value you type what sound you wish to play, you can find a list of sounds in always.dat (not sure if all will play, never tested)
Sound_Destroyed > when you want a sound to play when a building is destroyed.
BuildingController > Building controller ID.
Frequerncy_Min and Frequercy_Max is how often you wish it to play or not. (not really sure how it works, if you leave it at 0.00 it still works)
All the other values, leave blank.
To have a look yourself, open up an MP .lvl file and have a look yourself, you looking for the SFX arrows.
Hmm, dont know what you can use for sam sites, I heard they are buggy.
For my AOW maps, Zunnie had to make a new script to make them work.
[Updated on: Tue, 10 July 2007 18:32] Report message to a moderator
|
|
|
Re: Few Things To Ask [message #272353 is a reply to message #272346] |
Tue, 10 July 2007 18:41 |
_SSnipe_
Messages: 4121 Registered: May 2007 Location: Riverside Southern Califo...
Karma: 0
|
General (4 Stars) |
|
|
to edit my first post make it so an alarm keeps sounding whena buidling dies i think u do that in the scripts uner
void MDB_SSGM_Building::Killed(GameObject *obj, GameObject *shooter) {
but form ther ei get stuck i want it to play over and not mess up the current sounds
|
|
|
Re: Few Things To Ask [message #272354 is a reply to message #272346] |
Tue, 10 July 2007 18:44 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
You don't need to, and shouldn't, edit the SSGM scripts to add sounds. Instead either make a new script or use an existing one.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|
|
Re: Few Things To Ask [message #272364 is a reply to message #272346] |
Tue, 10 July 2007 19:48 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Set a boolean flag for the building death, and while the boolen flag is true then use commands create 2d sound.
|
|
|
|
|
|
|
Re: Few Things To Ask [message #272425 is a reply to message #272348] |
Wed, 11 July 2007 00:44 |
bisen11
Messages: 797 Registered: December 2004
Karma: 0
|
Colonel |
|
|
joe937465 wrote on Tue, 10 July 2007 21:18 | i dont see any readmes and no tut on renhelp.net with these answers and i cant seem to get it to work myself so im asking here
|
Check the Renhelp FAQ too. Some things are too small they aren't worth making a whole tutorial for so they're in the FAQ section.
|
|
|