Page 1 of 1
Adding more troops [Solved]
Posted: Sat Sep 30, 2006 6:14 am
by adrenalinshake
I'm kinda new mith modding , and i have a working new map.
How do I double the number of the troops on the map?
RE: Adding more troops
Posted: Sat Sep 30, 2006 6:30 am
by Rekubot
Under Instant Action, go to Global, and then increase the amount of AI units per team. If you mean via the LUA, use the search function.
RE: Adding more troops
Posted: Sat Sep 30, 2006 6:31 am
by adrenalinshake
I meant the LUA.
RE: Adding more troops
Posted: Mon Oct 02, 2006 7:42 pm
by XXXNewbie666XXX
Increase the number of troops or the reinforcements????
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
In the reinforcement change the number to 200, 800, 1000 etc.....
RE: Adding more troops
Posted: Mon Oct 02, 2006 9:13 pm
by Darth_Z13
Or change the units to wahtever you want it to be.
RE: Adding more troops
Posted: Tue Oct 03, 2006 10:27 am
by adrenalinshake
Sorry i wasn't clear enough.
I meant the numberof Units on field.
You know like if i'd like to have 100 droids and 100 clones on the map at once.
RE: Adding more troops
Posted: Tue Oct 03, 2006 1:28 pm
by [RDH]Zerted
search around for Uber mode.
Someone really needs to add Uber mode to the modding Wiki. I would, but I've never used Uber mode.
RE: Adding more troops
Posted: Tue Oct 03, 2006 1:34 pm
by XXXNewbie666XXX
i thing that you may change this number:
SetupTeams{
rep = {
team = REP,
units = 100,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
i don't know if will work, but try it
How to increase the number of units on the battlefield
Posted: Tue Oct 03, 2006 5:05 pm
by AceMastermind
How to increase the number of units on the battlefield:
Example:
Code: Select all
cis = {
team = CIS,
units = 100, <=== change to something like 100 (max units per side is 400)
reinforcements = 250,
soldier = { "cis_inf_rifleman",9, 25}, <==== the last numbers on
assault = { "cis_inf_rocketeer",1, 25},<==== these lines are
engineer = { "cis_inf_engineer",1, 20}, <==== the max number
sniper = { "cis_inf_sniper",1, 20}, <==== of units for that type
officer = {"cis_inf_officer",1, 5}, <===== and should add up to (Units = #)
special = { "cis_inf_droideka",1, 5}, <=== 25+25+20+20+5+5=100
You'll also need to add another little bit of code for it to work. (ABC = example modID)
add this line in your ABCc or g_con.lua above EnableSPHeroRules():
So it looks like this (without the arrow) :
Code: Select all
conquest:Start()
SetUberMode(1); <============================
EnableSPHeroRules()
end
Then save(close) and munge, go play!
Posted: Wed Oct 04, 2006 4:23 pm
by adrenalinshake
Thanx AceMastermind I'll try that.