Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » somthing.
somthing. [message #230962] Fri, 17 November 2006 23:12 Go to next message
crazfulla is currently offline  crazfulla
Messages: 667
Registered: September 2006
Location: Aotearoa
Karma: 0
Colonel
Capturable buildings. I have reanimated the tech oil derrick from the scudstorm mod and want to include it in a middle eastern themed map. But, not sure how to make it capturable. I have taken note of a script SCUD_Set_Playertype_On_Custom obviously to attach to the derrick itself; but how would I trigger the custom using the current (or upcoming 3.0) scripts release? I know there are Poke Send Custom scripts, but in the mod they seem to use a script zone?

"GEoDLeto wrote:"

so what you are saying it is gonna take even longer before this thing is finished
So the topic title should be changed to: a sucky little "teaser" from C&C Reborn has been released

"halo2pac wrote:"

Unless they are girls, I am not going to bone them.

[Updated on: Fri, 17 November 2006 23:14]

Report message to a moderator

Re: somthing. [message #230963 is a reply to message #230962] Fri, 17 November 2006 23:15 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3813
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Use script zones, when entered by a team, or object, it will send a custom to the Derrick and change the team (thats one way anyway).

Re: somthing. [message #230964 is a reply to message #230962] Fri, 17 November 2006 23:21 Go to previous messageGo to next message
crazfulla is currently offline  crazfulla
Messages: 667
Registered: September 2006
Location: Aotearoa
Karma: 0
Colonel
Yeah I would think so, but which script to attach to the script zone? I would assume somthing along the lines of a certain preset entering the scriptzone?

"GEoDLeto wrote:"

so what you are saying it is gonna take even longer before this thing is finished
So the topic title should be changed to: a sucky little "teaser" from C&C Reborn has been released

"halo2pac wrote:"

Unless they are girls, I am not going to bone them.
Re: somthing. [message #230965 is a reply to message #230964] Fri, 17 November 2006 23:24 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3813
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Use the script "TDA_Send_Custom_Zone"

Re: somthing. [message #230966 is a reply to message #230962] Fri, 17 November 2006 23:25 Go to previous messageGo to next message
crazfulla is currently offline  crazfulla
Messages: 667
Registered: September 2006
Location: Aotearoa
Karma: 0
Colonel
ty ^_^

although that doesn't seem to specify which preset is required to trigger the custom... IE I would like for only engineers or Hottys/Techs to be able to capture them.


"GEoDLeto wrote:"

so what you are saying it is gonna take even longer before this thing is finished
So the topic title should be changed to: a sucky little "teaser" from C&C Reborn has been released

"halo2pac wrote:"

Unless they are girls, I am not going to bone them.

[Updated on: Fri, 17 November 2006 23:31]

Report message to a moderator

Re: somthing. [message #231006 is a reply to message #230966] Sat, 18 November 2006 08:51 Go to previous messageGo to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
Is there a way to set it that when a team repairs the structure, it turns to their team? (Just shoot some part inside the building to capture it)
Re: somthing. [message #231011 is a reply to message #231006] Sat, 18 November 2006 09:12 Go to previous message
Jerad2142 is currently offline  Jerad2142
Messages: 3813
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Yes, what you would have to do is set it up to toggle teams every time it took damage, when it switched to the team to the person who shot it, if he shot it again (friendly fire is off) it would not take any damage so it would not switch to the other team. To do the toggle teams method use the scripts "JFW_Custom_Send_Ordered_Customs" fill in every other spot with a different custom (Ex. 2,3,2,3,2,3,2,3 these numbers are what ever you want them to be as long as they alternate) and "SCUD_Set_Player_Type_OnCustom" when this script receives custom message 2 it would change team to nod or GDI, then make the same script again for the other team (this script will have to be attached to all objects that you want to change team). And if you are going to have a lot of objects that change team attach the script "JFW_Send_Custom_Distance_Objects_Custom" to the object that you send the toggled custom to and have this script send the message to GDI (then make an exact copy of the script and have it send to nod to) in the end you will have 2-4 copies of this script depending how you set it up (do not just send it to all teams using the team value of 2, in the past I have found that it messes up objects with scripting on them if you do this, like scripts set to continually repeat will stop going). That should do the trick, any more questions just ask.

Previous Topic: A box truck
Next Topic: Various stuff...
Goto Forum:
  


Current Time: Tue Dec 24 19:24:17 MST 2024

Total time taken to generate the page: 0.00669 seconds