I understand how to replace a unit like the standard rifleman with a hero unit such as Vader, but how would I add Vader on in addition to the units already there?
For instance, I want to have all the standard imperial troops in a mission and have Vader be playable not as a hero, but simply another unit from the spawn menu. Currently, I copy/paste the "special" unit script and replace the jet trooper script with the Vader script, but this removes the jet trooper entirely when in game.
Eventually, I want to add Leia, Solo, and Luke for the rebels side as well, simply as playable units. But, I cannot figure out how to do this without replacing the stock units entirely.
I researched and could not find anything, any help is greatly appreciated.
Adding Unit to Spawn Classes
Moderator: Moderators
-
- Recruit Womprat Killer
- Posts: 5
- Joined: Wed May 13, 2015 8:01 pm
- Projects :: Working on my first real modification
-
- Private Third Class
- Posts: 58
- Joined: Mon Jun 05, 2017 5:14 pm
- Projects :: Battlefront Redux
- xbox live or psn: TheRaigiku
- Location: Perú
Re: Adding Unit to Spawn Classes
You can either do this:
Or this:
Hidden/Spoiler:
Hidden/Spoiler:
-
- Recruit Womprat Killer
- Posts: 5
- Joined: Wed May 13, 2015 8:01 pm
- Projects :: Working on my first real modification
Re: Adding Unit to Spawn Classes
Thank you so, so much!
-
- Recruit Womprat Killer
- Posts: 12
- Joined: Sun Feb 17, 2019 5:55 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding Unit to Spawn Classes
Is it possible to make that extra unit AI only?
-
- Private
- Posts: 33
- Joined: Wed Jul 25, 2018 6:58 pm
- Projects :: My projects
Re: Adding Unit to Spawn Classes
You can make it a local ally, like the wookiees on Kashyyyk. Here is an example:Donhomerj wrote:Is it possible to make that extra unit AI only?
Hidden/Spoiler:
-
- Recruit Womprat Killer
- Posts: 12
- Joined: Sun Feb 17, 2019 5:55 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding Unit to Spawn Classes
Cool, thank you! Thats a cool and simple idea. Do you think this could work online? e.G. have the coruscant map conquest with the jedi soldiers from the campaign assisting the clones?
-
- Private
- Posts: 33
- Joined: Wed Jul 25, 2018 6:58 pm
- Projects :: My projects
Re: Adding Unit to Spawn Classes
I believe the only way to make this work online with stock maps is to make it an era mod. Check the FAQ if you are interestedDonhomerj wrote:Cool, thank you! Thats a cool and simple idea. Do you think this could work online? e.G. have the coruscant map conquest with the jedi soldiers from the campaign assisting the clones?