but its for AI, i want the whole team not able.AICanCaptureCP("flank1", DEF, false)
Disableing CP capture?
Moderator: Moderators
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
Disableing CP capture?
I want to make one team able to take bases (attackers) and one team not able to (deffenders). What line of code should i add to the script to do this? I found this line...
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
RE: Disableing CP capture?
add this to your ODF
[/b]
Code: Select all
CapturePosts = 0-
BF2-Master
- Captain

- Posts: 469
- Joined: Thu Mar 02, 2006 7:08 pm
RE: Disableing CP capture?
Okay, so you would go into, per example 'cis_inf_default' and add that, so none of the CIS droids can capture?
I'm checking because this is an interesting idea! I might even use it on a map!
I'm checking because this is an interesting idea! I might even use it on a map!
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
RE: Disableing CP capture?
Add it on any unit odf
if your entire CIS team was using the same parent then add it to the parent to save space.
if your entire CIS team was using the same parent then add it to the parent to save space.
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
Question about common.lvl
thanks!
okay my new question: how do i make my level use my common.lvl? it has to do with "Load" or something i think.
okay my new question: how do i make my level use my common.lvl? it has to do with "Load" or something i think.
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
RE: Question about common.lvl
the loadscreen?
if its not the load screen that your asking about
just replace Load with the folder name that your common.lvl is placed it.[/b]
Code: Select all
ReadDataFile("dc:Load\\common.lvl") just replace Load with the folder name that your common.lvl is placed it.[/b]
