How can I get more AI units on the battle field?
I would like to have more then 32, at least 50.
Please help.
More AI in multiplayer
Moderator: Moderators
-
CommanderCody212
- Second Lance Corporal

- Posts: 103
- Joined: Mon Feb 14, 2011 4:44 pm
- Projects :: BattleFront 1.5 tester
-
SleepKiller
- Corporal

- Posts: 143
- Joined: Thu Mar 03, 2011 5:08 pm
- xbox live or psn: N/A
Re: More AI in multiplayer
You should be able to do that by modifying the map you wisg to have more AI units mission lua.
-
CommanderCody212
- Second Lance Corporal

- Posts: 103
- Joined: Mon Feb 14, 2011 4:44 pm
- Projects :: BattleFront 1.5 tester
Re: More AI in multiplayer
Ok, how fo I do that?
And does every one in the room have to have the modded map?
Or if I host do it works and no one else needs the map?
And does every one in the room have to have the modded map?
Or if I host do it works and no one else needs the map?
-
SleepKiller
- Corporal

- Posts: 143
- Joined: Thu Mar 03, 2011 5:08 pm
- xbox live or psn: N/A
Re: More AI in multiplayer
Well if you were to make a new mission lvl only you(the host) would need it.
To do so download this http://aleafytree.zxq.net/mission.zip make a new project with BF builder once you have down this extract the files from the file you downloaded to common in your new project then go to the assets folder in your BF builder directory and go into Mission LUA Samples copy the contents of that into yourprojectdata\common\scripts then find the lua you wish to add more AI to we will use and look for the fowling lines they will vary depending on which era you pick to modify.
-- Alliance Stats
SetTeamName(ALL, "Alliance")
SetTeamIcon(ALL, "all_icon")
AddUnitClass(ALL, "all_inf_soldiersnow",14)-- Change to 20
AddUnitClass(ALL, "all_inf_vanguardsnow",3) -- Change to 6
AddUnitClass(ALL, "all_inf_pilot",4)-- Change to 9
AddUnitClass(ALL, "all_inf_marksmansnow",4)-- Change to 9
AddUnitClass(ALL, "all_inf_smugglersnow",3) -- Change to 6
SetHeroClass(ALL, "all_inf_lukeskywalkersnow")
-- Imperial Stats
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_storm_troopersnow",14)-- Change to 20
AddUnitClass(IMP, "imp_inf_shock_troopersnow",3)-- Change to 6
AddUnitClass(IMP, "imp_inf_pilotatat",4)-- Change to 9
AddUnitClass(IMP, "imp_inf_scout_troopersnow",4)-- Change to 9
AddUnitClass(IMP, "imp_inf_dark_troopersnow",3)-- Change to 6
SetHeroClass(IMP, "imp_inf_darthvader")
Then look for.
-- Attacker Stats
SetUnitCount(ATT, 28) -- Change to 50
SetReinforcementCount(ATT, 250)
AddBleedThreshold(ATT, 31, 0.0) -- Change to 49
AddBleedThreshold(ATT, 21, 0.75) -- Change to 39
AddBleedThreshold(ATT, 11, 2.25) -- Change to 29
AddBleedThreshold(ATT, 1, 3.0)
-- Defender Stats
SetUnitCount(DEF, 28) -- Change to 50
SetReinforcementCount(DEF, 250)
AddBleedThreshold(DEF, 31, 0.0) -- Change to 49
AddBleedThreshold(DEF, 21, 0.75) -- Change to 39
AddBleedThreshold(DEF, 11, 2.25) -- Change to 29
AddBleedThreshold(DEF, 1, 3.0)
And then munge your project and go to _LVL_PC in your project folder copy mission.lvl and then go to by default C:\Program Files\LucasArts\Star Wars Battlefront\GameData\Data\_LVL_PC and rename your current mission.lvl and then paste your new one and launch the game and have fun
If your game crashes use sptest.exe.
To do so download this http://aleafytree.zxq.net/mission.zip make a new project with BF builder once you have down this extract the files from the file you downloaded to common in your new project then go to the assets folder in your BF builder directory and go into Mission LUA Samples copy the contents of that into yourprojectdata\common\scripts then find the lua you wish to add more AI to we will use and look for the fowling lines they will vary depending on which era you pick to modify.
-- Alliance Stats
SetTeamName(ALL, "Alliance")
SetTeamIcon(ALL, "all_icon")
AddUnitClass(ALL, "all_inf_soldiersnow",14)-- Change to 20
AddUnitClass(ALL, "all_inf_vanguardsnow",3) -- Change to 6
AddUnitClass(ALL, "all_inf_pilot",4)-- Change to 9
AddUnitClass(ALL, "all_inf_marksmansnow",4)-- Change to 9
AddUnitClass(ALL, "all_inf_smugglersnow",3) -- Change to 6
SetHeroClass(ALL, "all_inf_lukeskywalkersnow")
-- Imperial Stats
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_storm_troopersnow",14)-- Change to 20
AddUnitClass(IMP, "imp_inf_shock_troopersnow",3)-- Change to 6
AddUnitClass(IMP, "imp_inf_pilotatat",4)-- Change to 9
AddUnitClass(IMP, "imp_inf_scout_troopersnow",4)-- Change to 9
AddUnitClass(IMP, "imp_inf_dark_troopersnow",3)-- Change to 6
SetHeroClass(IMP, "imp_inf_darthvader")
Then look for.
-- Attacker Stats
SetUnitCount(ATT, 28) -- Change to 50
SetReinforcementCount(ATT, 250)
AddBleedThreshold(ATT, 31, 0.0) -- Change to 49
AddBleedThreshold(ATT, 21, 0.75) -- Change to 39
AddBleedThreshold(ATT, 11, 2.25) -- Change to 29
AddBleedThreshold(ATT, 1, 3.0)
-- Defender Stats
SetUnitCount(DEF, 28) -- Change to 50
SetReinforcementCount(DEF, 250)
AddBleedThreshold(DEF, 31, 0.0) -- Change to 49
AddBleedThreshold(DEF, 21, 0.75) -- Change to 39
AddBleedThreshold(DEF, 11, 2.25) -- Change to 29
AddBleedThreshold(DEF, 1, 3.0)
And then munge your project and go to _LVL_PC in your project folder copy mission.lvl and then go to by default C:\Program Files\LucasArts\Star Wars Battlefront\GameData\Data\_LVL_PC and rename your current mission.lvl and then paste your new one and launch the game and have fun
If your game crashes use sptest.exe.
Last edited by SleepKiller on Sun Mar 20, 2011 4:39 pm, edited 1 time in total.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: More AI in multiplayer
The link is broken
-
SleepKiller
- Corporal

- Posts: 143
- Joined: Thu Mar 03, 2011 5:08 pm
- xbox live or psn: N/A
Re: More AI in multiplayer
Ops forgot to change it from ftp to http it is fixed now.
