mace windu dislikes me (solved)

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

mace windu dislikes me (solved)

Post 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")
Last edited by Commander_Keller on Tue Apr 14, 2009 1:26 pm, edited 1 time in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: mace windu dislikes me

Post by Teancum »

Take a quick look in your custom Rep.req and make sure Mace is in there.
User avatar
Delta 47
Jedi
Jedi
Posts: 1127
Joined: Sun Dec 23, 2007 12:07 am
Games I'm Playing :: BioShock
xbox live or psn: Delta811
Location: MI, USA
Contact:

Re: mace windu dislikes me

Post 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.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: mace windu dislikes me

Post 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.
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

Re: mace windu dislikes me (solved)

Post 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.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: mace windu dislikes me (solved)

Post 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.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: mace windu dislikes me (solved)

Post 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"
}
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

Re: mace windu dislikes me (solved)

Post by Commander_Keller »

cool, that's some good advice. learned something. again...
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: mace windu dislikes me (solved)

Post 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?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: mace windu dislikes me (solved)

Post by FragMe! »

If I understand the question yes so it would look like

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