Scripts to grant powerups or weapons [message #256466] |
Mon, 30 April 2007 02:49 |
|
Spyder
Messages: 1070 Registered: March 2006
Karma: 0
|
General (1 Star) |
|
|
I am searching for multiple scripts that give the player a weapon or another powerup when they walk through something. Is there someone that can make a small list for me which contains the scripts that work best?
|
|
|
|
Re: Scripts to grant powerups or weapons [message #256614 is a reply to message #256466] |
Tue, 01 May 2007 03:15 |
|
Spyder
Messages: 1070 Registered: March 2006
Karma: 0
|
General (1 Star) |
|
|
Whit those scripts I mean the script in level edit. Like KAK_Give_Powerup_On_Pickup. So what I mean is the scripts I can attach to a character, vehicle, weapon or anything. I am NOT talking about any C++ stuff, but just things like: JFW_Grant_Powerup and other stuff that give the player a certain weapon or powerup when they pick something up.
|
|
|
|
Re: Scripts to grant powerups or weapons [message #256996 is a reply to message #256646] |
Thu, 03 May 2007 09:15 |
|
Jerad2142
Messages: 3809 Registered: July 2006 Location: USA
Karma: 6
|
General (3 Stars) |
|
|
"KAK_Give_Powerup_On_Pickup" will work.
Or if you wanted to get more complicated attach "JFW_Attach_Script_Collector" to the power up, give it "JFW_Timer_Custom" in the script field, in the params spot of the script put "(timer time)#(random number)#0#100334#877856#1", and a delim of #.
Then make an invisible object on the level, with an ID of 100334 or whatever, and add the script JFW_Reflect_Custom. Now back on the powerup use "JFW_Attach_Script_Collector" to attach a script to the object that picks it up, this script should be triggered by the custom 877856. Or if you want to give it a power up, attach the script "jfw_attach_script_custom" on the object, put "m00_grant_powerup" in the script field, name of the weapon in the param field, # in the delim field, and 877856 in the custom field.
Visit Jerad's deer sweat shop
[Updated on: Thu, 03 May 2007 09:18] Report message to a moderator
|
|
|