Page 1 of 1

mace windu dislikes me (solved)

Posted: Tue Apr 14, 2009 10:53 am
by Commander_Keller
i wonder why mace windu doesn't appear ingame.
i changed the rep hero from anakin to windu but he won't appear even when i made a score of 30+. when i put anakin back into the lua instead of windu i can play as anakin. i had a look into another lua (from shipped geonosis) to make sure i have no spelling mistake but i didn't. i cleaned and munged. same result. can anybody tell me what i can do to get windu into the game.

and here goes the obligatory part of the lua:
Hidden/Spoiler:
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_fly_assault_dome",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_jettrooper",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_commando",
"rep_fly_gunship_dome",
"rep_walk_oneman_atst",
"rep_hover_fightertank",
"rep_hero_macewindu")


ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_hover_aat",
"cis_fly_gunship_dome",
"cis_inf_officer",
"cis_inf_droideka",
"cis_inf_commando",
"cis_hero_ventress")

ReadDataFile("dc:SIDE\\rep.lvl",
"rep_walk_oneman_atst")

ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_recoilless_lg")



SetupTeams{

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



cis={
team = CIS,
units = 32,
reinforcements = 150,
soldier = {"cis_inf_rifleman", 9, 25},
assault = {"cis_inf_rocketeer", 1, 5},
engineer = {"cis_inf_engineer", 1, 5},
sniper = {"cis_inf_sniper", 1, 5},
officer = {"cis_inf_officer", 1, 4},
special = {"cis_inf_droideka", 1, 4},
}
}



AddUnitClass(REP, "rep_inf_ep3_officer", 1, 1)
AddUnitClass(CIS, "cis_inf_commando",1, 4)

-- Hero Setup Section --

SetHeroClass(REP, "rep_hero_macewindu")
SetHeroClass(CIS, "cis_hero_ventress")

Re: mace windu dislikes me

Posted: Tue Apr 14, 2009 11:16 am
by Teancum
Take a quick look in your custom Rep.req and make sure Mace is in there.

Re: mace windu dislikes me

Posted: Tue Apr 14, 2009 11:20 am
by Delta 47
It would be best to actually load Mace Windu from the stock sides too if he's not customized. Also, its good to double check so put your hero time on always to see if he shows up immediately instead of getting the 30+ points or whatever to unlock.

Re: mace windu dislikes me

Posted: Tue Apr 14, 2009 12:44 pm
by FragMe!
Probably not releated but purely from a tidyness point of view, you have two calls for the oneman_atst. One in the big list and one just above the TUR level.

Re: mace windu dislikes me (solved)

Posted: Tue Apr 14, 2009 1:26 pm
by Commander_Keller
teancum you were right. i just forgot to put him into my custom rep.req. it's crazy... one looks for any detail thus neglecting the rough basics. shame on me...
but thanks for your help.

off topic:
i had to call twice for the at-rt because of its skin. when i don't do so my custom skin won't show up but the shipped one. it works good that way.

Re: mace windu dislikes me (solved)

Posted: Tue Apr 14, 2009 1:45 pm
by Teancum
Commander_Keller wrote:off topic:
i had to call twice for the at-rt because of its skin. when i don't do so my custom skin won't show up but the shipped one. it works good that way.
Hey if it works, it works. You won't hurt performance or anything by calling it twice.

Re: mace windu dislikes me (solved)

Posted: Tue Apr 14, 2009 1:49 pm
by FragMe!
I knew I remembered seeing something like the texture not showing up problem before AQT had the same thing for a turret. He mentioned adding a texture section in the sides req file.
I think you can either add it there or in the actual oneman_atst req would just need something like this.

REQN
{
"texture"
"nameoftheonemanatsttgafile"
}

Re: mace windu dislikes me (solved)

Posted: Tue Apr 14, 2009 2:08 pm
by Commander_Keller
cool, that's some good advice. learned something. again...

Re: mace windu dislikes me (solved)

Posted: Tue Apr 14, 2009 3:42 pm
by Fiodis
You'd put that texture req part in the unit's (or vehicle's or turret's) req under the part that says class, but within the main set of parentheses?

Re: mace windu dislikes me (solved)

Posted: Tue Apr 14, 2009 4:03 pm
by FragMe!
If I understand the question yes so it would look like

ucft
{
REQN
{
"class"
"nameofthing"
}
REQN
{
"texture"
"nameoftexture"
}
}