Add more Capturing time?
Moderator: Moderators
- Flake
- Recruit Womprat Killer
- Posts: 12
- Joined: Sat Dec 25, 2010 4:06 am
- Projects :: [STR] [LAL]
Add more Capturing time?
Hey! Little question: I create a map with great towns. Each of them should be have a big capturing region.
So I think it is important to give more capturing time.
I don't know how to do this! Some ideas Gametoast?
thanx!
So I think it is important to give more capturing time.
I don't know how to do this! Some ideas Gametoast?
thanx!
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: add more Capturing time
Check the CP settings in Zeroeditor? There might be one for capture time.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: add more Capturing time
There isn't, it's not an Instance Property. I'm trying find the easiest way to do this as I speak. I'm probably going to suggest using a short Lua SetProperty or SetClassProperty command.
- Unlucky13
- Sergeant Major

- Posts: 239
- Joined: Mon Jan 24, 2011 11:11 am
- Projects :: Models models models
Re: add more Capturing time
Try changing these lines in com_bldg_controlzone.odf.
NeutralizeTime = 12.0
CaptureTime = 10.0
The odf is in data_ABC\Common\odfs.
NeutralizeTime = 12.0
CaptureTime = 10.0
The odf is in data_ABC\Common\odfs.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: add more Capturing time
Well yeah, but that wouldn't do anything without making a custom ingame.lvl with the new edited ODF if. I've got to go, but later I'll get back this and try and solve it.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: add more Capturing time
Use the following if you want to apply this change to all CPs using the com_bldg_controlzone.odf file:
Adjust the number values however you like.
Use the following if you want to apply this change to CPs on the individual basis. The following uses a CP named cp1 as an example:
Again, adjust the number values however you like.
This is if you want to do this by lua, which in this case you will want to add those lines somewhere between ScriptPostLoad() and ScriptInit() in you lua file(s).
Source:
Code: Select all
SetClassProperty("com_bldg_controlzone", "NeutralizeTime", 36)
SetClassProperty("com_bldg_controlzone", "CaptureTime", 16)Use the following if you want to apply this change to CPs on the individual basis. The following uses a CP named cp1 as an example:
Code: Select all
SetProperty("cp1", "NeutralizeTime", 36)
SetProperty("cp1", "CaptureTime", 16)This is if you want to do this by lua, which in this case you will want to add those lines somewhere between ScriptPostLoad() and ScriptInit() in you lua file(s).
Source:
- jdee/barc
- 1st Lieutenant

- Posts: 444
- Joined: Wed Aug 25, 2010 2:47 pm
- Projects :: Battlefront One and a Half
- xbox live or psn: No gamertag set
- Location: Boston
Re: add more Capturing time
One other idea, copy the CP odf from Common over to Data_abc\Worlds\abc\ODF and rename it to something like new_bldg_controlzone. and then change the neutralize time of that and use that as the command post.
- Flake
- Recruit Womprat Killer
- Posts: 12
- Joined: Sat Dec 25, 2010 4:06 am
- Projects :: [STR] [LAL]
Re: Add more Capturing time?
OH! So many answers. 
First I tried to do this by using this line:
The second way I tried was this line:
So I think that it was not because I did not notice the change in game.
What did I do wrong. What I would have to change.

First I tried to do this by using this line:
Code: Select all
SetClassProperty("com_bldg_controlzone", "NeutralizeTime", 36)
SetClassProperty("com_bldg_controlzone", "CaptureTime", 16)
For both options, nothing has changed. I used 120 als capturing and neutralized time.SetProperty("cp1", "NeutralizeTime", 36)
SetProperty("cp1", "CaptureTime", 16)
So I think that it was not because I did not notice the change in game.
Here is my first attempt.conquest:AddCommandPost(cp4)
conquest:AddCommandPost(cp5)
conquest:AddCommandPost(cp6)
conquest:AddCommandPost(cp8)
SetClassProperty("comm_bldg_controlzone", "NeutralizeTime", 120)
SetClassProperty("comm_bldg_controlzone", "captureTime", 120)
conquest:Start()
SetUberMode(1);
EnableSPHeroRules()
AddDeathRegion("deathregion_1")
end
What did I do wrong. What I would have to change.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Add more Capturing time?
"comm_bldg_controlzone" should be "com_bldg_controlzone". One must never forget to fix spelling mistakes.SetClassProperty("comm_bldg_controlzone", "NeutralizeTime", 120)
SetClassProperty("comm_bldg_controlzone", "captureTime", 120)
- Flake
- Recruit Womprat Killer
- Posts: 12
- Joined: Sat Dec 25, 2010 4:06 am
- Projects :: [STR] [LAL]
Re: Add more Capturing time?
Thank you very much!
EDIT: follow-up-question: How to instruct the game how many Units should spawn an each Cp.
