How To Make A Normal XL?

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
Darkicon

How To Make A Normal XL?

Post by Darkicon »

I noticed XL isn't in Visual Munge for making maps. How would I go about making an XL map? Editing a Hero Assault to include normal units?
PvtParts
Jedi
Jedi
Posts: 1001
Joined: Mon Apr 03, 2006 9:12 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: plundering yer booty

RE: How To Make A Normal XL?

Post by PvtParts »

Basically XL is the same lua setup, except you add a few lines ( SetUberMode() 1 ...dont quote me on that cause its from memory), and then change the ai goal from conquest to deathmatch.

Your best bet is to just read the XL mode luas in the assets and compare them to their conquest counterparts, to see the differences.
CmdAt-a

RE: How To Make A Normal XL?

Post by CmdAt-a »

its simple, as pvtparts said..

Open your lua and scroll down to this:
conquest:Start()

EnableSPHeroRules()

end
Now add SetUberMode(1); so it look like this:

conquest:Start()
SetUberMode(1);
EnableSPHeroRules()

end

Now scroll down to this:
SetupTeams{
rep = {
team = REP,
units = 300,
reinforcements = 500,
soldier = { "rep_inf_ep2_rifleman",9, 50},
assault = { "rep_inf_ep2_rocketeer_chaingun",1, 50},
engineer = { "rep_inf_ep2_engineer",1, 50},
sniper = { "rep_inf_ep2_sniper",1, 50},
officer = {"rep_inf_ep3_officer",1, 50},
special = { "rep_inf_ep2_jettrooper_rifleman",1, 50},

At units = 300(its normally 80 i think) you write as many as you want(if you add 300 for cis or reb you cant play as them) then you chose how many there will be of each unit, see mine?? i choosed 50 of each of them all... 50 + 50 + 50 + 50 + 50 + 50 = 300
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: How To Make A Normal XL?

Post by Epena »

I suggetst a higher minimum unit count than 1 (in "1, 50" the number on the left is the minimum) because more often than not you'll get a lower unit count. A minimum like 9 for the units other than normal trooper I'd recommend (and the rifleman going up to like 18) but it's your call. Just thought I'd mention that.
CmdAt-a

RE: How To Make A Normal XL?

Post by CmdAt-a »

i didnt get that, whats minimum?? what does it do??
Post Reply