Disableing CP capture?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Syth
General
General
Posts: 784
Joined: Thu Apr 13, 2006 8:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: happy fun island

Disableing CP capture?

Post 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.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

RE: Disableing CP capture?

Post by Penguin »

add this to your ODF

Code: Select all

CapturePosts            = 0
[/b]
BF2-Master
Captain
Captain
Posts: 469
Joined: Thu Mar 02, 2006 7:08 pm

RE: Disableing CP capture?

Post 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! :)
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

RE: Disableing CP capture?

Post 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.
Syth
General
General
Posts: 784
Joined: Thu Apr 13, 2006 8:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: happy fun island

Question about common.lvl

Post 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.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

RE: Question about common.lvl

Post 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]
Post Reply