JFW_Domination [message #278860] |
Mon, 13 August 2007 15:49 |
CdCyBoRg
Messages: 76 Registered: June 2005 Location: England
Karma: 0
|
Recruit |
|
|
Ok, i made a zone, added the script JFW_Domination_Zone
Then a daves arrow, added the script JFW_Domination_Controller
Etc. But it just loaded the map (my FDs did) And Then after 3 secs, Crashed, anyone know how the domination thing works please? Thanks in advance.
I Am TeH OnE
|
|
|
|
|
Re: JFW_Domination [message #279096 is a reply to message #278875] |
Tue, 14 August 2007 16:22 |
|
BlazeDragoon
Messages: 141 Registered: April 2004
Karma: 0
|
Recruit |
|
|
What type of zone did you add the script to? And did you add it to the preset or to the zone on the map?
Also what did you fill in for all of the parameters?
I don't know exactly what might be causing since I have yet to mess with it but I might be able to offer some help with some more information.
http://www.blazemods.com
|
|
|
|
Re: JFW_Domination [message #279562 is a reply to message #278860] |
Fri, 17 August 2007 04:52 |
|
SWNight
Messages: 138 Registered: June 2006
Karma: 0
|
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
|
|
|
Re: JFW_Domination [message #279789 is a reply to message #279562] |
Sat, 18 August 2007 09:44 |
|
Jerad2142
Messages: 3812 Registered: July 2006 Location: USA
Karma: 6
|
General (3 Stars) |
|
|
I suggest you delete the zone and then test the map (keep in mind that you can make a back up first) if it still crashes, remake the zone (or reload the back up) and delete the daves arrow, if it still crashes delete both. And if it still crashes its not the Domination scripts.
Visit Jerad's deer sweat shop
|
|
|