Page 1 of 1
Adding more units!
Posted: Tue May 09, 2006 4:35 pm
by maxburg96
Ive created a very simple map and I want to have a buttload of units fighting on it at the same time. Ive edited the proper script files and my reinforcement number goes up properly but there are still only 32 units per side on the battlefield. Im new so any suggestions would be great. Thanks.

Posted: Tue May 09, 2006 4:43 pm
by xwingguy
myTeamConfig = {
all = {
team = ALL,
units = 32,
reinforcements = -1,
pilot = { "all_inf_pilot",23},
marine = { "all_inf_marine",6},
special = { "all_inf_wookiee", 3},
},
imp = {
team = IMP,
units = 32,
reinforcements = -1,
pilot = { "imp_inf_pilot",20},
marine = { "imp_inf_marine",6},
officer = { "imp_inf_officer", 3},
special = { "imp_inf_dark_trooper", 3},
}
change the bolded numbers
Posted: Tue May 09, 2006 5:48 pm
by maxburg96
hmmmm, i did that. i just added a zero behind each of the default numbers, but i certainly didnt have 500 units on the battlefield.
Posted: Tue May 09, 2006 6:22 pm
by xwingguy
I do believe there is a limit on that.
Posted: Tue May 09, 2006 6:39 pm
by [RDH]Zerted
look up Uber mode
Posted: Tue May 09, 2006 8:57 pm
by maxburg96
There didnt seem to be a limit in the Hypori: Grievous Attacks map. There were droids coming from everywhere. What the heck is uber mode? Thanks for the replies so far.
Posted: Tue May 09, 2006 9:42 pm
by PvtParts
from what ive been able to uncover uber mode simply takes away restrictions that normally serve as a performance buffer.
So basically, you have uber (or almost) controls over things such as unit count and teams
Posted: Tue May 09, 2006 9:46 pm
by Teancum
[RDH]Zerted wrote:look up Uber mode
Use search.
Posted: Fri May 12, 2006 6:32 pm
by darth-jedi
TIP: Okay, you guys probably already know this, but, for more playable unit classes on a ground map, just add the marine and pilot class to it.
Posted: Fri May 12, 2006 8:10 pm
by Teancum
Have you tried that? Typically my experience has been that it replaces the engineer and rifleman. It's much easier just to put AddUnitClass([sidename], "[odf name]", [min],[max])
Posted: Fri May 12, 2006 8:26 pm
by PvtParts
be sure to check with the tatooine lua to see how to properly add units (its set up sort of differently, and if done wrong it can cause crashes and just all around problems)
Posted: Fri May 12, 2006 11:45 pm
by [RDH]Zerted
By default, you can use some or all of "soldier", "pilot", "assault", "sniper", "marine", "engineer", "officer", and "special" with SetupTeams.
You can edit setup_teams.lua and make it take whatever you want. Just remember max of 10 unit classes per team.
Figured out how to use UberMode maxburg96?
Posted: Sat May 13, 2006 2:16 am
by Penguin
its 12, not 10 lol
Posted: Sat May 13, 2006 6:37 am
by [RDH]Zerted
off topic: you can only view/select 10 units (shortcut keys 1 through 0 ) in the spawn screen. If you don't believe me, read ifs_pc_spawnselect.lua. You can mod it to show more unit selection buttons, but the game won't use them.