Stealth Suit Drop [message #216300] |
Wed, 30 August 2006 14:07 ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
Well, I was trying to do it so when a Stealth Black Hand (SBH) Die. He would drop his stealth suit for others to pick up. I did this only the suit doesnt give you the "Cloak ability". Any ideas on the script in which to do this?
![http://img287.imageshack.us/img287/9936/davesigea4rw5.png](http://img287.imageshack.us/img287/9936/davesigea4rw5.png)
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
Re: Stealth Suit Drop [message #216396 is a reply to message #216300] |
Thu, 31 August 2006 00:08 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
dead6re
Messages: 602 Registered: September 2003
Karma: 0
|
Colonel |
|
|
In order to achieve this, all users in your server would be having to run BHS.dll because the client cannot support it.
Let all your wishes be granted except one, so you will still have something to strieve for.
|
|
|
Re: Stealth Suit Drop [message #216408 is a reply to message #216300] |
Thu, 31 August 2006 02:34 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/3415.gif) |
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
You could however change there model to the sbh when they pick it up, and keep there original weapons...
|
|
|
Re: Stealth Suit Drop [message #216414 is a reply to message #216396] |
Thu, 31 August 2006 03:51 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/21327.jpg) |
futura83
Messages: 1285 Registered: July 2006 Location: England
Karma: 0
|
General (1 Star) Viva la Resistance! |
|
|
dead6re wrote on Thu, 31 August 2006 03:08 | In order to achieve this, all users in your server would be having to run BHS.dll because the client cannot support it.
|
basically, if there is a mix of people in your server - people that have it, and people that dont - for the people that do, stelth will work, for the people that dont, they see the infantry normally. i know this cos a server has it, and people accuse others of cheating cos they can see others perfectly even though they are meant to be stealthed.
This is a signature. Reading this is wasting your time.
|
|
|
Re: Stealth Suit Drop [message #216452 is a reply to message #216414] |
Thu, 31 August 2006 08:03 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/avatars/A-10.jpg) |
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
Yes, using "charter become stealth" scrips is pretty annoying, but if you change the model, you become a SBH? that is a clever solution
(but how do servers get vehicles stealth?)
Moding can be real Fun...
|
|
|
Re: Stealth Suit Drop [message #217327 is a reply to message #216300] |
Mon, 04 September 2006 15:09 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
Is there a script that will...
1) Change the character if and when it touches the item (Stealth suit)
Or
2) Script that will cloak on contact.
![http://img287.imageshack.us/img287/9936/davesigea4rw5.png](http://img287.imageshack.us/img287/9936/davesigea4rw5.png)
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
|
|
|
Re: Stealth Suit Drop [message #217933 is a reply to message #216300] |
Thu, 07 September 2006 15:19 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
matty3k10
Messages: 96 Registered: January 2005 Location: Michigan
Karma: 0
|
Recruit |
|
|
Attach "TDA_Stealth_Armor" to the stealth suit and be sure to set the amount of time, that should turn the player stealth the second he or she picks it up, but remember if a client does not have BHS.dll he or she will see that player as not being stealth.
Also make sure you check the "AlwaysAllowGrant" box under settings on the stealth suit.
|
|
|
|
|
Re: Stealth Suit Drop [message #217998 is a reply to message #216300] |
Fri, 08 September 2006 04:47 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
matty3k10
Messages: 96 Registered: January 2005 Location: Michigan
Karma: 0
|
Recruit |
|
|
Sounds to me like you ether arnt typing in the correct preset name or the drop script you are using drops the item to soon after death and your corpse picks up the power up.
|
|
|
Re: Stealth Suit Drop [message #218136 is a reply to message #217998] |
Fri, 08 September 2006 16:13 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
matty3k10 wrote on Fri, 08 September 2006 04:47 | Sounds to me like you ether arnt typing in the correct preset name or the drop script you are using drops the item to soon after death and your corpse picks up the power up.
|
It proboly does pick it up instantly... As i have seen first hand in other tests. Im positive that the name is correct. How could I set like a 2-3 sec timer on the spawn?
![http://img287.imageshack.us/img287/9936/davesigea4rw5.png](http://img287.imageshack.us/img287/9936/davesigea4rw5.png)
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
Re: Stealth Suit Drop [message #228791 is a reply to message #216408] |
Mon, 30 October 2006 22:45 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
Reborn wrote on Thu, 31 August 2006 04:34 | You could however change there model to the sbh when they pick it up, and keep there original weapons...
|
How? Also is it possible for them to keep the same health and armor add ons they've picked up before they got the stealth suit?
Level edit is my play ground
|
|
|
Re: Stealth Suit Drop [message #228793 is a reply to message #216300] |
Mon, 30 October 2006 23:17 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
FeaR
Messages: 87 Registered: January 2006 Location: Netherlands
Karma: 0
|
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
|
|
|
Re: Stealth Suit Drop [message #228794 is a reply to message #218136] |
Mon, 30 October 2006 23:17 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](/images/custom_avatars/21300.png) |
Jerad2142
Messages: 3808 Registered: July 2006 Location: USA
Karma: 6
|
General (3 Stars) |
|
|
ghost wrote on Fri, 08 September 2006 17:13 |
matty3k10 wrote on Fri, 08 September 2006 04:47 | Sounds to me like you ether arnt typing in the correct preset name or the drop script you are using drops the item to soon after death and your corpse picks up the power up.
|
It proboly does pick it up instantly... As i have seen first hand in other tests. Im positive that the name is correct. How could I set like a 2-3 sec timer on the spawn?
|
Instead you could simply make it spawn an invisible box(which has no collision settings and is not target-able), which would destroy itself after a few seconds (using SUR_Timed_Death) and then it would spawn the powerup on its death. Its pretty simple that why, and I know it works.
Visit Jerad's deer sweat shop
[Updated on: Mon, 30 October 2006 23:17] Report message to a moderator
|
|
|
|
Re: Stealth Suit Drop [message #228853 is a reply to message #216300] |
Tue, 31 October 2006 12:22 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
I've downloaded the dll and installed it into my scripts folder in l.e. but I don't know the exact script name, what is it?
O.K., I removed my other scripts from that folder to find the specific script without having to search through a thousand scripts and looked again just to find no scripts in there :/ .
Are you sure that's the right script d.l.? (BTW, I'm using l.e. for this, does this change anything?)
Level edit is my play ground
[Updated on: Tue, 31 October 2006 12:48] Report message to a moderator
|
|
|
Re: Stealth Suit Drop [message #228856 is a reply to message #216300] |
Tue, 31 October 2006 12:53 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
FeaR
Messages: 87 Registered: January 2006 Location: Netherlands
Karma: 0
|
Recruit |
|
|
s_stealth_suit
You have to have scripts.dll(the one with stealth suit in it), scripts2.dll
and bhs.dll in your LE\Mod\scripts folder.
Attach the script to the pow_stealth_suit, save presets and upload it to the server. Should work then. (server needs dll too btw).
|
|
|
Re: Stealth Suit Drop [message #228860 is a reply to message #216300] |
Tue, 31 October 2006 13:09 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
no, i mean the script that is supposed to change your character without losing weapons/armor, the one that's supposed to be in the stealthsuit_ssaow15_scripts.dll; it doesn't even seem to show any scripts in there that i can attach to the suit by itself. you had said before about the Change_Character, but i don't know the exact name and that name alone can't be found even with all the scripts in place.
Level edit is my play ground
|
|
|
Re: Stealth Suit Drop [message #228863 is a reply to message #216300] |
Tue, 31 October 2006 13:40 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
FeaR
Messages: 87 Registered: January 2006 Location: Netherlands
Karma: 0
|
Recruit |
|
|
http://www.game-maps.net/ren/modding/ssle.gif
You are not copying the dll file correct into your \scripts\ folder
from leveledit moddir then.
This script will change the character to an sbh, they will not
keep their weapons.
"mod" POW_Stealth_Suit
on settings tab enable "Always allow grant"
on scripts tab add "s_stealth_suit"
It works...
[edit]You dont have to enter any parameters, just put the script
in the scripts tab on pow_stealth_suit and save presets, thats it.
Only you have to make the sbh drop the suit when they get killed,
you can use KAK_Drop_Object_Death for this.
[edit2]Are you renaming it to scripts.dll? And is bhs.dll and scripts2.dll present in \scripts\ folder as well?
Copy bhs.dll and scripts2.dll from the server to the scripts folder if they are missing.
[Updated on: Tue, 31 October 2006 13:46] Report message to a moderator
|
|
|
Re: Stealth Suit Drop [message #228897 is a reply to message #216300] |
Tue, 31 October 2006 21:49 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
I had actually messed up by not renaming it to scripts.dll, so I'll check that out, but how do I do this:
Reborn wrote on Thu, 31 August 2006 04:34 | You could however change there model to the sbh when they pick it up, and keep there original weapons...
|
Thanks for the help you've given already, and while I know about the stuff on attaching the script I didn't know about that script or needing to rename it. Even though it's not exactly the one I had been looking for I'll likely find a use for it in my map.
Level edit is my play ground
[Updated on: Tue, 31 October 2006 21:51] Report message to a moderator
|
|
|
|
|