flag1 mode does not work

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
User avatar
Brucelciolino
Private Recruit
Posts: 24
Joined: Thu Feb 11, 2021 10:54 pm
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront 2
xbox live or psn: No gamertag set

flag1 mode does not work

Post by Brucelciolino »

I'm making a mod that adds an era and a map, on this map the Conquest mode works well, but in Flag1 mode the soldiers don't appear on either side.
In addition, the game shows that each team has 150 points and the troops have basic skins instead of the skins I added.
User avatar
TheComicCorvette
Posts: 3
Joined: Wed Feb 03, 2021 10:56 pm
Projects :: Clone Wars Hero Assault on Dantooine
Games I'm Playing :: SWFB 2 2005
Contact:

Re: flag1 mode does not work

Post by TheComicCorvette »

If the soldiers don't spawn in game, that is likely due the CPs being defied incorrectly, in your era's lua script, locate the CPs configuration, make had no errors, and contains all of the in-game command posts in your map.

Have you typed your lua from scratch? Since no 1 Flag template exists. If so, make sure you copy over the correct details from another 1 flag script (jabba's palace is a good example) I'm not sure what the exact commands for set the game in CTF mode instead of the default conquest mode, but it is there somewhere.

As for your skins, make sure you but "dc:" in front of each of the ReadDataFile lines in your lua. This tells the game to read your sides instead of the stock sides.

For example: ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman")

I hoped this helped somewhat, but I don't know exactly what your problem is.
Post Reply