Increase max CP`s?

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
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Increase max CP`s?

Post by SkinnyODST »

I tried adding in 2 more CP`s to a gamemode and they`re the 13th and 14th in the entire map, and when I load up the game there are no CP`s at all. I`ve heard that BF2 has a CP limit of 12, is this correct? And if so, is there any way to increase this number to use more CP`s in one map?
User avatar
CT108
Rebel Sergeant
Rebel Sergeant
Posts: 186
Joined: Mon Aug 22, 2016 6:20 am
Projects :: None
Games I'm Playing :: CS2
xbox live or psn: Captain CT108
Location: Xanadu

Re: Increase max CP`s?

Post by CT108 »

SkinnyODST wrote:I tried adding in 2 more CP`s to a gamemode and they`re the 13th and 14th in the entire map, and when I load up the game there are no CP`s at all. I`ve heard that BF2 has a CP limit of 12, is this correct? And if so, is there any way to increase this number to use more CP`s in one map?
Yep you can't have more than 12 CPs. I think that you can't increase the CP limitation, as it's said in the BF2 Limitations.
ForceMaster
Lieutenant General
Lieutenant General
Posts: 737
Joined: Fri Aug 08, 2008 11:27 pm
Projects :: Tron The Grid
Games I'm Playing :: The best..SWBFII
xbox live or psn: No gamertag set
Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe

Re: Increase max CP`s?

Post by ForceMaster »

Maximum of 16 (Command Posts + Command Vehicles)
Max Cps at same time (including CommandWalker and CommandFlyer classes) are up to 16. If you are putting it into conquest game mode, make sure that you also add the lines to your .lua file.
User avatar
CT108
Rebel Sergeant
Rebel Sergeant
Posts: 186
Joined: Mon Aug 22, 2016 6:20 am
Projects :: None
Games I'm Playing :: CS2
xbox live or psn: Captain CT108
Location: Xanadu

Re: Increase max CP`s?

Post by CT108 »

ForceMaster wrote:
Maximum of 16 (Command Posts + Command Vehicles)
Max Cps at same time (including CommandWalker and CommandFlyer classes) are up to 16. If you are putting it into conquest game mode, make sure that you also add the lines to your .lua file.
Yep it's 16, my bad. So if you have 14 CPs and 3 or more command vehicles, that might be the problem.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Increase max CP`s?

Post by SkinnyODST »

The gamemode has literally nothing in it but 2 CP`s and is meant for 2 units (I`m messing around with making a 1v1 duel mode)
No vehicles are in it at all,
Here`s the area of it`s LUA that has all the CP info, its a hunt kind of mode so I don`t need to reference the CP`s right? I have another hunt kind of mode and I didn`t reference the CP`s in it and it works fine.
Hidden/Spoiler:
[code] --This defines the CPs. These need to happen first



--This sets up the actual objective. This needs to happen after cp's are defined
hunt = ObjectiveTDM:New{teamATT = 1, teamDEF = 2, pointsPerKillATT = 1, pointsPerKillDEF = 1,
textATT = "game.modes.sls",
textDEF = "game.modes.con2",
multiplayerRules = true,
isUberMode = true,
uberScoreLimit = 1,
}

--This adds the CPs to the objective. This needs to happen after the objective is set up

hunt:Start()

SetUberMode(1);

EnableSPHeroRules()

end





(ScriptCB_DoFile("ObjectiveTDM") is also at the top btw)[/code]
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Increase max CP`s?

Post by Teancum »

Check to see that you're loading the correct layer. Do you have a hunt/TDM layer in ZeroEdit that you're loading in your LUA?
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Increase max CP`s?

Post by SkinnyODST »

Teancum wrote:Check to see that you're loading the correct layer. Do you have a hunt/TDM layer in ZeroEdit that you're loading in your LUA?
Yeah, the layer is called "Duel" and I`ve updated the wld REQ`s and everything.

Code: Select all

    ReadDataFile("dc:CCC\\CCC.lvl", "CCC_duel")
Post Reply