Re: JFW_Domination [message #279562 is a reply to message #278860] |
Fri, 17 August 2007 04:52 |
|
SWNight
Messages: 138 Registered: June 2006
Karma:
|
Recruit |
|
|
JFW_Domination_Zone (when entered, displays 1 of 2 models and sends
Controler_ID (ID of the controller, a daves arrow or something)
NeutralCustom (what custom to send to the controler if the zone was neutral before it was captured)
OwnedCustom (what custom to send to the controler if the zone was already owned before it was captured)
Nod_Model (name of the w3d file to use for the "Nod has captured the zone" model)
GDI_Model (name of the w3d file to use for the "GDI has captured the zone" model)
Neutral_Model (name of the w3d file to use for the "no-one has captured the zone yet" model)
Capture_Delay_Time (how many seconds to wait after it's captured before the zone can change hands again)
TimerNum (timer number for the timer)
Note that the parameters should be without the .w3d on the end. (e.g. if the w3d is abc.w3d, pass abc)
Also, note that the models won't animate, even if there is animation info in the w3d file (because I don't know how to make
animation work in this case)
Using models instead of presets makes the code better and easier to test/debug plus also it makes things more light-weight (since you don't
actually need a preset)
JFW_Domination_Controler (controller for the domination mode)
NeutralCustom (what custom to send to the controller if the zone was neutral before it was captured)
OwnedCustom (what custom to send to the controller if the zone was already owned before it was captured)
Time (how often to give points)
TimerNum (timer number for the timer)
PointsToGive (how many points to give to GDI for each GDI zone/Nod for each Nod zone)
PointsToTake (how many points to take from Nod for each GDI zone/GDI for each Nod zone)
GDIObjectID (the ID of an object somewhere that is guranteed to remain around for the entire game and that is owned by GDI, this is needed to give points to GDI)
NodObjectID (the ID of an object somewhere that is guranteed to remain around for the entire game and that is owned by Nod, this is needed to give points to Nod)
The GDIObjectID and NODObjectID should refer to objects placed on the map somewhere that are hidden (so the player doesn't know they are there)
Also note that (due to factors beyond my control), it is possible for the points for a team to go negative. However, if they capture enough zones, points can go positive again)
cncnick13 wrote on Fri, 24 August 2007 23:05 | ok but will it work for vista
|
Ryu wrote on Sat, 25 August 2007 00:31 | No, It will make your pc explode!!11
|
cncnick13 wrote on Sat, 25 August 2007 00:32 | what you mean
|
Jerad Gray wrote on Wed, 26 September 2007 10:00 | too bad EA murdered Westwood.
|
[Updated on: Fri, 17 August 2007 04:52] Report message to a moderator
|
|
|