Hero Issues

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
Alpha

Hero Issues

Post by Alpha »

I changed the hero in the LUA from Boba Fett to be the emporer on my test map and I can never get the hero to spawn now. I don't know what I'm doing wrong...

Here's my LUA section:

ReadDataFile("SIDE\\imp.lvl",
"imp_inf_rifleman",
"imp_inf_rocketeer",
"imp_inf_engineer",
"imp_inf_sniper",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_hero_emperor",
"imp_fly_destroyer_dome" )

This really bothers me...

-Alpha
darth_chooie

RE: Hero Issues

Post by darth_chooie »

you need to find a line called SetHeroClass(IMP, "whatever") and replace whatever with "imp_hero_emperor"
Alpha

RE: Hero Issues

Post by Alpha »

Thanks. That's in the LUA script, too right?
Post Reply