Remove all AI from map? [Solved]
Posted: Fri Jan 03, 2014 11:21 pm
I'm trying to make a ''private map'' for me and my mates on SWBFII. Problem is, the AIs pretty much ruin the concept of it being a ''private map'' So is there a way to remove all AI?
EDIT: Nevermind, I found a way to do it
(Replace ABC with ModID)
How I did it: In data_ABC/common/scripts/ABC there are the..
- ABCc_con.lua
- ABCc_con.lua.bak
- ABCg_con.lua
- ABCg_con.lua.bak
You have to change the : (Example: If I want to remove all Imperial troopers from my map)
*
To:
*
In the SetupTeams section in your -
- ABCc_con.lua
- ABCc_con.lua.bak
- ABCg_con.lua
- ABCg_con.lua.bak
*Make sure you're removing the AI from the right team you want!
EDIT: Nevermind, I found a way to do it
(Replace ABC with ModID)
How I did it: In data_ABC/common/scripts/ABC there are the..
- ABCc_con.lua
- ABCc_con.lua.bak
- ABCg_con.lua
- ABCg_con.lua.bak
You have to change the : (Example: If I want to remove all Imperial troopers from my map)
*
Code: Select all
soldier = { "all_inf_rifleman",9, 25},
assault = { "all_inf_rocketeer",1,4},
engineer = { "all_inf_engineer",1,4},
sniper = { "all_inf_sniper",1,4},
officer = { "all_inf_officer",1,4},
special = { "all_inf_wookiee",1,4},*
Code: Select all
soldier = { "imp_inf_rifleman",0, 0},
assault = { "imp_inf_rocketeer",0,0},
engineer = { "imp_inf_engineer",0,0},
sniper = { "imp_inf_sniper",0,0},
officer = { "imp_inf_officer",0,0},
special = { "imp_inf_dark_trooper",0,0},
- ABCc_con.lua
- ABCc_con.lua.bak
- ABCg_con.lua
- ABCg_con.lua.bak
*Make sure you're removing the AI from the right team you want!