Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » spawn an ion beacon
spawn an ion beacon [message #249508] Mon, 12 March 2007 13:45 Go to next message
jurgenf is currently offline  jurgenf
Messages: 10
Registered: September 2005
Location: Kwadendamme Zeeland
Karma: 0
Recruit

i thought it was simple but i can't find a good way to do it:
spawn an ion cannon beacon that can only been picked up by GDI.

this must be done serverside.

Jurgen
Re: spawn an ion beacon [message #249620 is a reply to message #249508] Tue, 13 March 2007 08:42 Go to previous messageGo to next message
bisen11 is currently offline  bisen11
Messages: 797
Registered: December 2004
Karma: 0
Colonel
You could probably make a script zone that grants powerups only to gdi players.

http://i6.photobucket.com/albums/y206/bisen11/bisensubzerosig2.jpg
Re: spawn an ion beacon [message #249946 is a reply to message #249508] Thu, 15 March 2007 08:10 Go to previous messageGo to next message
jurgenf is currently offline  jurgenf
Messages: 10
Registered: September 2005
Location: Kwadendamme Zeeland
Karma: 0
Recruit

what is the best script to do that?
Re: spawn an ion beacon [message #249955 is a reply to message #249946] Thu, 15 March 2007 09:44 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3806
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
There are two ways of doing it the first one is simplier but the second method allows for more options.
First you create a script zone and attach the script “JFW_Attatch_Script” to the zone, then give it the following settings to it:
Trigger: “1”
Player_Type: team that should get the powerup (1=GDI, 0=Nod)
Script_Name: “M00_GrantPowerup_Created”
Script_Params: give this the name of the POWER UP not weapon but POW that you would like the object to get on zone entry.
Delim: “#”
Destroy: “0”
Custom: “0”

Or if you want each infantry to get its own different weapon form the zone this is how you would do it:

You will have to use multiple scripts, the easiest way to do it (unless you know how to script) would be to attach a script to each soldier to each soldier that could get the beacon.
The script is called “JFW_Attach_Script_Custom” you should set the following settings to it:
Script: “M00_GrantPowerup_Created”
Script_Params: put the name of the POWER UP that you would like to attach
Delim: “#”
Custom: “7947854”

Then attach the script “TDA_Send_Custom_Zone” to the script zone.
Enter_Message: “7947854”
Enter_Param: “1”
For Both Exit settings put 0
For team put the team that you want to grant a power up (0=Nod 1=GDI)
If you have any questions just ask.


Previous Topic: Apocalypse Rising Anniversary Blog
Next Topic: Nubby Ren Map Question
Goto Forum:
  


Current Time: Fri Jun 28 06:49:14 MST 2024

Total time taken to generate the page: 0.00654 seconds