How To Only Make One Side Playable? [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
Stealchief
Private Recruit
Posts: 17
Joined: Fri Nov 11, 2016 8:41 pm
Projects :: Order 151 The Fall Of Vader
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set
Location: Death Star Trash Compactor

How To Only Make One Side Playable? [Solved]

Post by Stealchief »

I Have A Map That Is Darth Vader Vs Clones How Do I Make Only Darth Vader Playable (Darth Vader Is Republic And Clones Are CIS)
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: How To Only Make One Side Playable?

Post by Teancum »

Add this to your LUA file for the map: ForceHumansOntoTeam1(1)
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: How To Only Make One Side Playable?

Post by Marth8880 »

Teancum wrote:Add this to your LUA file for the map: ForceHumansOntoTeam1(1)
I'm fairly certain that there is no argument to pass into the function, so all you'd need is ForceHumansOntoTeam1().
Stealchief
Private Recruit
Posts: 17
Joined: Fri Nov 11, 2016 8:41 pm
Projects :: Order 151 The Fall Of Vader
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set
Location: Death Star Trash Compactor

Re: How To Only Make One Side Playable?

Post by Stealchief »

Thanks!!
Post Reply