Home » Renegade Discussions » Mod Forum » Stealth Suit Drop
() 2 Votes
Re: Stealth Suit Drop [message #228793 is a reply to message #216300] |
Mon, 30 October 2006 23:17 |
FeaR
Messages: 87 Registered: January 2006 Location: Netherlands
Karma:
|
Recruit |
|
|
void s_stealth_suit::Custom(GameObject *obj, int message, int param, GameObject *sender)
{
char ss[100];
if (message == 1000000025)
{
if (strstr(Commands->Get_Preset_Name(obj),"POW_Stealth_Suit"))
{
Create_2D_WAV_Sound_Player(sender,"m00puss_aqob0002i1evag_snd.wav");
sprintf(ss,"msg %s(%s) acquired a Stealth Suit.",Get_Player_Name(sender)),Commands->Get_Player_Type(sender)==0?"Nod":"GDI";
Change_Character(obj,"CnC_Nod_FlameThrower_2SF");
Console_Input(ss);
}
}
}
ScriptRegistrant<s_stealth_suit> s_stealth_suit_Registrant("s_stealth_suit","");
class s_stealth_suit : public ScriptImpClass {
void Custom(GameObject *obj, int message, int param, GameObject *sender);
};
download: http://www.game-maps.net/ren/modding/stealthsuit_ssaow15_scr ipts.dll
Put in server dir, put in leveledit scripts dir, attach script to
pow_stealth_suit, make sure that "Always Allow Grant" is enabled on powerup.
Use KAK_Drop_Object_Death to make the SBH drop the POW_Stealth_Suit, you can
also set a probability there.
You can just replace your current ssaow scripts.dll, everything
should work fine. Do make a backup copy of your current scripts.dll though just in case... i havent tested this script
but im sure it should work.
[Updated on: Mon, 30 October 2006 23:40] Report message to a moderator
|
|
|
|
|
Stealth Suit Drop
By: ghost on Wed, 30 August 2006 14:07
|
|
|
Re: Stealth Suit Drop
By: dead6re on Thu, 31 August 2006 00:08
|
|
|
Re: Stealth Suit Drop
By: futura83 on Thu, 31 August 2006 03:51
|
|
|
Re: Stealth Suit Drop
By: LR01 on Thu, 31 August 2006 08:03
|
|
|
Re: Stealth Suit Drop
By: reborn on Thu, 31 August 2006 02:34
|
|
|
Re: Stealth Suit Drop
By: Stallion on Mon, 30 October 2006 22:45
|
|
|
Re: Stealth Suit Drop
By: ghost on Mon, 04 September 2006 15:09
|
|
|
Re: Stealth Suit Drop
By: havoc9826 on Mon, 04 September 2006 17:15
|
|
|
Re: Stealth Suit Drop
By: sycar on Tue, 05 September 2006 05:29
|
|
|
Re: Stealth Suit Drop
By: LR01 on Tue, 05 September 2006 08:43
|
|
|
Re: Stealth Suit Drop
By: matty3k10 on Thu, 07 September 2006 15:19
|
|
|
Re: Stealth Suit Drop
By: ghost on Thu, 07 September 2006 17:49
|
|
|
Re: Stealth Suit Drop
By: sycar on Fri, 08 September 2006 04:28
|
|
|
Re: Stealth Suit Drop
By: matty3k10 on Fri, 08 September 2006 04:47
|
|
|
Re: Stealth Suit Drop
By: ghost on Fri, 08 September 2006 16:13
|
|
|
Re: Stealth Suit Drop
|
|
|
Re: Stealth Suit Drop
By: FeaR on Mon, 30 October 2006 23:17
|
|
|
Re: Stealth Suit Drop
By: FeaR on Mon, 30 October 2006 23:49
|
|
|
Re: Stealth Suit Drop
By: Stallion on Tue, 31 October 2006 12:22
|
|
|
Re: Stealth Suit Drop
By: FeaR on Tue, 31 October 2006 12:53
|
|
|
Re: Stealth Suit Drop
By: Stallion on Tue, 31 October 2006 13:09
|
|
|
Re: Stealth Suit Drop
By: FeaR on Tue, 31 October 2006 13:40
|
|
|
Re: Stealth Suit Drop
By: Stallion on Tue, 31 October 2006 21:49
|
|
|
Re: Stealth Suit Drop
By: Spyder on Tue, 30 January 2007 09:20
|
|
|
Re: Stealth Suit Drop
By: Spyder on Fri, 02 February 2007 08:47
|
|
|
Re: Stealth Suit Drop
By: zunnie on Fri, 02 February 2007 10:18
|
|
|
Re: Stealth Suit Drop
|
|
|
Re: Stealth Suit Drop
By: Renerage on Tue, 06 February 2007 00:34
|
|
|
Re: Stealth Suit Drop
By: Spyder on Sun, 04 February 2007 08:44
|
Goto Forum:
Current Time: Fri Jan 10 03:40:06 MST 2025
Total time taken to generate the page: 0.01069 seconds
|