Playable heroes and AI support

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
nmycon
Private Recruit
Posts: 20
Joined: Mon Apr 13, 2009 2:57 pm
Projects :: Star Wars Movie Mods
Games I'm Playing :: LA Noire MLB 11 BF2
Location: Toronto, ON

Playable heroes and AI support

Post by nmycon »

Hello again (seems like I've been asking for a lot of help lately :x)

Anyways, I'll keep it short and sweet:

I want Han Solo as the hero for the Alliance and I've created a hero for the Empire (Captain Sarkli). Both work fine.

I would also like to have Leia and Chewbacca in the battle, but not as selectable characters.

Now, I know the easiest way to do this would be to add two more spawn points to the map and make two more local teams consisting of one Leia unit and one Chewy unit. However, I was intending to incorporate this into the stock Endor map as a new era, rather than an addon map, so that complicates things, especially since I didn't use END as my map's letters either...

I've also simply added Leia and Chewy to the Ewoks team, of couse when killed, the game refers to them as Ewoks... :eek:

Another way I was thinking was to set them up as unlockable units, but put the number at something rediculously high... idk

I looked into Archer01's AI Hero Support script, but using that means that you cannot have unlockable playable heroes for each team.

What if in the mission LUA I don't give the Ewok team a name? Would that result in the game referring to each unit by it's unit name?
Post Reply