Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » More than 1 weapon from powerup???
More than 1 weapon from powerup??? [message #177961] Sat, 05 November 2005 02:35 Go to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
i'm trying to make a backpack give more than 1 weapon (ie: someone picks up a backpack, it gives them 1 c4, 1 remote and 1 repair gun :S how can i do it?)

http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif
Re: More than 1 weapon from powerup??? [message #177996 is a reply to message #177961] Sat, 05 November 2005 11:30 Go to previous messageGo to next message
Dan
Messages: 395
Registered: August 2003
Location: UK
Karma: 0
Commander
You could create/use a script to give weapons or whatever when you pick up a powerup.
Re: More than 1 weapon from powerup??? [message #177997 is a reply to message #177961] Sat, 05 November 2005 11:39 Go to previous messageGo to next message
Renx is currently offline  Renx
Messages: 2321
Registered: April 2003
Location: Canada
Karma: 0
General (2 Stars)
Category Moderator
object.ddb

Select the backpack, and under the last tab you can tell it what powerups to give.


~Canucck

http://www.sloganizer.net/en/style7,Espion.png

Blazer

...RG made me ugly
Re: More than 1 weapon from powerup??? [message #178008 is a reply to message #177961] Sat, 05 November 2005 13:36 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
Attach M00_Grant_Powerup to the backpack

Under the script parameters type in each preset you want to give.

This is how each soldier starts off with a pistol and timed C4.


"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

Re: More than 1 weapon from powerup??? [message #178032 is a reply to message #177961] Sat, 05 November 2005 15:19 Go to previous messageGo to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
M00_Grant_Powerup - i always though this would try to grant the backpack the powerup :S i'll try it, thanks

edit: i think you mean 'M00_Grant_Powerup_Created' this grants a powerup to the object that it is attached to a powerup when it is created. this would not work because it needs to grant the player collecting the powerup, not the backpack itself...


http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif

[Updated on: Sat, 05 November 2005 15:27]

Report message to a moderator

Re: More than 1 weapon from powerup??? [message #178035 is a reply to message #177961] Sat, 05 November 2005 15:29 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
Write a custom script that uses Commands->Grant_Powerup

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: More than 1 weapon from powerup??? [message #178061 is a reply to message #177961] Sat, 05 November 2005 19:36 Go to previous messageGo to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
ye, doing that now Razz

edit:oh, ye, whitedragon, a bit off topic here but is the new ssaow (1.4) source gonna be out soon? and also, will it have the dde server?


http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif

[Updated on: Sat, 05 November 2005 19:37]

Report message to a moderator

Re: More than 1 weapon from powerup??? [message #178203 is a reply to message #177961] Sun, 06 November 2005 21:23 Go to previous messageGo to next message
matty3k10 is currently offline  matty3k10
Messages: 96
Registered: January 2005
Location: Michigan
Karma: 0
Recruit
KAK_Give_Powerup_On_Pickup always works for me Smile if you do this by objects.ddb
Re: More than 1 weapon from powerup??? [message #178204 is a reply to message #177961] Sun, 06 November 2005 21:34 Go to previous messageGo to next message
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
:S thanks matt -_- i already coded it into scripts.dll lol :S

also, if i want to attach a object to someone and i want it to show over their heads (like emotions) what bone is it?


http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif
Re: More than 1 weapon from powerup??? [message #178283 is a reply to message #177961] Mon, 07 November 2005 13:38 Go to previous message
matty3k10 is currently offline  matty3k10
Messages: 96
Registered: January 2005
Location: Michigan
Karma: 0
Recruit
Not sure how to do that... never tried it before.
Previous Topic: no experience
Next Topic: Scripts detect chat?
Goto Forum:
  


Current Time: Sun Nov 17 18:30:02 MST 2024

Total time taken to generate the page: 0.00973 seconds