Page 1 of 1

A couple questions.

Posted: Wed Jan 30, 2008 9:59 pm
by SilvaDalek
Would having the set up like this do anything? I don't know if the stick figure is replacing the hero thing . . .

Code: Select all

ReadDataFile("sound\\yav.lvl;yav1cw")
    ReadDataFile("dc:SIDE\\rep.lvl",
                             "rep_inf_ep3_rocketeer",
                             "rep_inf_ep3_engineer",
                             "rep_inf_ep3_sniper",
                             "rep_inf_ep3_officer",
                             "rep_inf_ep3_jettrooper",
                             "rep_hover_fightertank",
                             "rep_hero_anakin",
                             "rep_hover_barcspeeder")
    
    ReadDataFile("dc:SIDE\\dwc.lvl",
                             "dwc_inf_dalek")
    
    ReadDataFile("dc:SIDE\\jed.lvl",
                             "jed_knight_02")
    
    ReadDataFile("dc:SIDE\\cis.lvl",
                             "cis_inf_rifleman",
                             "cis_inf_rocketeer",
                             "cis_inf_engineer",
                             "cis_inf_sniper",
                             "cis_inf_officer",
                             "cis_inf_droideka",
                             "cis_hero_darthmaul",
                             "cis_hover_aat")

and

    SetHeroClass(REP, "rep_inf_ep3_rifleman")

    AddUnitClass(CIS, "dwc_inf_dalek",1,4)
    AddUnitClass(REP, "jed_knight_02",1,4)
And would it work if I made all of the 1,4 to 9,25?

Code: Select all

	SetupTeams{
		rep = {
			team = REP,
			units = 50,
			reinforcements = 150,
			soldier  = { "rep_inf_ep3_rifleman",1, 4},
			assault  = { "rep_inf_ep3_rocketeer",1, 4},
			engineer = { "rep_inf_ep3_engineer",9, 25},
			sniper   = { "rep_inf_ep3_sniper",1, 4},
			officer = {"rep_inf_ep3_officer",1, 4},
			special = { "rep_inf_ep3_jettrooper",1, 4},

Re: A couple questions.

Posted: Wed Jan 30, 2008 10:01 pm
by Caleb1117
for 2

Only if you add up all the max unit numbers, in your case 25, and change the "units" number to that.
SetupTeams{
rep = {
team = REP,
units = 50, <----- this here
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",1, 4},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",9, 25},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
And 6 times 25 is 150

If you go over 100 I think it is, you'll have to enable uber mode.

Re: A couple questions.

Posted: Wed Jan 30, 2008 10:15 pm
by Teancum
You don't have a hero for the CIS, so it looks like it's taking the last unit and making it the hero.

Re: A couple questions.

Posted: Wed Jan 30, 2008 10:19 pm
by SilvaDalek
I kinda do have a CIS hero, but it's secret . . . (for now . . .)