Page 1 of 1

Disableing CP capture?

Posted: Sat Apr 14, 2007 10:45 pm
by Syth
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...
AICanCaptureCP("flank1", DEF, false)
but its for AI, i want the whole team not able.

RE: Disableing CP capture?

Posted: Sat Apr 14, 2007 11:04 pm
by Penguin
add this to your ODF

Code: Select all

CapturePosts            = 0
[/b]

RE: Disableing CP capture?

Posted: Sat Apr 14, 2007 11:10 pm
by BF2-Master
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! :)

RE: Disableing CP capture?

Posted: Sat Apr 14, 2007 11:13 pm
by Penguin
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.

Question about common.lvl

Posted: Sun Apr 15, 2007 3:29 am
by Syth
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.

RE: Question about common.lvl

Posted: Sun Apr 15, 2007 3:50 am
by Penguin
the loadscreen?

Code: Select all

	ReadDataFile("dc:Load\\common.lvl")    
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]