Human-only unit?

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
Darth_Squoobus
General
General
Posts: 760
Joined: Mon Aug 03, 2009 3:21 am
Projects :: No Mod project currently.
Location: over the hills and far away

Human-only unit?

Post by Darth_Squoobus »

Is it possible to make a non-hero unit that's only accessible to humans and off-limits AI?
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: Human-only unit?

Post by sim-al2 »

Example:
special = { "rep_inf_ep3_jettrooper",0, 0}

Should be that, can't quite remember if those numbers only affect ai or have other effects.
Darth_Squoobus
General
General
Posts: 760
Joined: Mon Aug 03, 2009 3:21 am
Projects :: No Mod project currently.
Location: over the hills and far away

Re: Human-only unit?

Post by Darth_Squoobus »

sim-al2 wrote:special = { "rep_inf_ep3_jettrooper",0, 0}

Should be that, can't quite remember if those numbers only affect ai or have other effects.
I see AI jet troopers all the time. I don't think that's it.
fasty
1st Lieutenant
1st Lieutenant
Posts: 438
Joined: Thu Apr 15, 2010 4:17 am
Projects :: Server modding
Games I'm Playing :: SWBF2
Contact:

Re: Human-only unit?

Post by fasty »

No, he is correct. Set your unit to have that in the .lua and you should be fine.
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: Human-only unit?

Post by sim-al2 »

Darth_Squoobus wrote:
I see AI jet troopers all the time. I don't think that's it.
Yeah fasty's right I just chose the jettrooper as an example.
Darth_Squoobus
General
General
Posts: 760
Joined: Mon Aug 03, 2009 3:21 am
Projects :: No Mod project currently.
Location: over the hills and far away

Re: Human-only unit?

Post by Darth_Squoobus »

sim-al2 wrote:
Darth_Squoobus wrote:
I see AI jet troopers all the time. I don't think that's it.
Yeah fasty's right I just chose the jettrooper as an example.
Gotcha. Lookslike I can make that suicide unit after all.
Post Reply