somthing. [message #230962] |
Fri, 17 November 2006 23:12 |
|
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 #230964 is a reply to message #230962] |
Fri, 17 November 2006 23:21 |
|
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 #230966 is a reply to message #230962] |
Fri, 17 November 2006 23:25 |
|
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 #231011 is a reply to message #231006] |
Sat, 18 November 2006 09:12 |
|
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.
Visit Jerad's deer sweat shop
|
|
|