Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Domination and Heal Zones
Domination and Heal Zones [message #190324] Fri, 17 February 2006 19:11 Go to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
How do I get heal zones to work with JFW_Heal_Zone script?
I tried applying the script to Script_Zone_All but it didn't work.
Also, How do I make use of the JFW_Domination_Zone and JFW_Domination_Controler scripts? The parameters confuse me...

Someone answer please???


nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg

[Updated on: Tue, 21 February 2006 03:56]

Report message to a moderator

Re: Domination and Heal Zones [message #191003 is a reply to message #190324] Fri, 24 February 2006 02:29 Go to previous messageGo to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
Can someone help out please?

nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: Domination and Heal Zones [message #191009 is a reply to message #190324] Fri, 24 February 2006 03:39 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
this is an extract from readme.txt with the scripts.dll, explains the parameters for those scripts (not sure if you will have used this or not)

Quote:

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)


http://steamsignature.com/card/1/76561197975867233.png
Re: Domination and Heal Zones [message #191128 is a reply to message #191009] Fri, 24 February 2006 22:55 Go to previous messageGo to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
What is this NeutralCustom and OwnedCustom? The scripts should be placed on a script zone right?



nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: Domination and Heal Zones [message #191146 is a reply to message #190324] Sat, 25 February 2006 03:18 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
ok..

The script JFW_Domination_Zone is placed on the zone.
The script JFW_Domination_Controller is placed on an invisible objects, such as a dave's arrow.


NeutralCustom and OwnedCustom can be set to;
NeutralCustom = 111
OwnedCustom = 112

or something like that, it just tells the scripts what message to send to each other. I believe you would need them to be the same for both JFW_Domination_Zone AND JFW_Domination_Controller.

Not sure if you would need multiple combinations of zone and controller or if one controller can control multiple zones, play around with it and see.


http://steamsignature.com/card/1/76561197975867233.png
Re: Domination and Heal Zones [message #203485 is a reply to message #191146] Mon, 12 June 2006 02:28 Go to previous messageGo to next message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
I have a few problems with Domination.

1. Controlled zones can never change to another team. (I tried this by changing teams myself)
2. Zones change right after coming into contact with the neutral model.
3. Points are not given after capture.

I have set up the GDIObjectID and NodObjectID as Daves Arrow. Is that allowed?

...and a question:
Is there a way to enable a spawner once a domination zone falls into the hands of a certain team (and disable it once its not in the team)?


nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: Domination and Heal Zones [message #203488 is a reply to message #190324] Mon, 12 June 2006 03:46 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
have you setup gdiobjectid and nodobjectid to the SAME object? i think they have to be different objects (EG two daves arrows)

http://steamsignature.com/card/1/76561197975867233.png
Re: Domination and Heal Zones [message #203607 is a reply to message #203488] Tue, 13 June 2006 01:54 Go to previous message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma: 0
General (1 Star)
Yes they are on different objects. I think the three problems are mostly solved. Just another question: How do I make a game end once a certain amount of points are reached by a team or when a team holds all the domination zones?

nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Previous Topic: Can I change the camera position of a tank?
Next Topic: Small question.
Goto Forum:
  


Current Time: Fri Nov 15 10:13:45 MST 2024

Total time taken to generate the page: 0.00749 seconds