Jump to content

Home

Help, unit spawn editting


GDavidvx77

Recommended Posts

How to increase the number of units on the battlefield:

Example:

 

cis = {

team = CIS,

units = 100, <=== change to something like 100 (max units per side is 400)

reinforcements = 250,

soldier = { "cis_inf_rifleman",9, 25}, <==== last numbers on these lines have to equal

assault = { "cis_inf_rocketeer",1, 25},<===== or be lower than (Units = #)

engineer = { "cis_inf_engineer",1, 20}, <=====

sniper = { "cis_inf_sniper",1, 20}, <=====

officer = {"cis_inf_officer",1, 5}, <=====

special = { "cis_inf_droideka",1, 5}, <=====

 

25+25+20+20+5+5=100

 

Also you need to add another little code in for it to work.

add this line in your ABCc or g_con.lua above EnableSPHeroRules():

 

SetUberMode(1);

 

So it looks like this:

 

--This adds the CPs to the objective. This needs to happen after the objective is set up

conquest:AddCommandPost(cp1)

conquest:AddCommandPost(cp2)

conquest:AddCommandPost(cp3)

conquest:AddCommandPost(cp4)

conquest:AddCommandPost(cp5)

 

conquest:Start()

SetUberMode(1); <============================

EnableSPHeroRules()

 

 

end

 

 

Then save(close) and munge, go play!

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...