Second hero unit per team

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
baumerindustries
Lance Corporal
Posts: 96
Joined: Mon Apr 11, 2011 8:24 am
Games I'm Playing :: Bf2 EAW EAWFOC[SI]
xbox live or psn: No gamertag set
Location: In front of my english vocab and translating my confused thinkings into English....

Second hero unit per team

Post by baumerindustries »

I alredy used search and found something, but the thread wasn't realy finished....
so, can I add a second hero to e.g the republic so that obi wan and windou can be used as hero?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: can I have 2 heros on the same side???

Post by DarthD.U.C.K. »

no, its impossible to have more than one proper hero per side.
baumerindustries
Lance Corporal
Posts: 96
Joined: Mon Apr 11, 2011 8:24 am
Games I'm Playing :: Bf2 EAW EAWFOC[SI]
xbox live or psn: No gamertag set
Location: In front of my english vocab and translating my confused thinkings into English....

unit which cannot be played by bots

Post by baumerindustries »

Is it possible to make a unit which the AI doesn't play?
so you can maybe make sth like a hero... (for having 2)

EDIT
Is it possible to make a unit which can't be played by the AI, and if yes how?
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: can I have 2 heros on the same side???

Post by Dakota »

i think using the lua could work for that.

look at the numbers which are after the odf names of your "heros" in the lua under the team section and then set the numbers to 0. As long as you don't have ubermode on then this will most likely work. if you post your lua i could show u what i am talking about.

my rambling nonsense about why i say most likely
Hidden/Spoiler:
i say most likely because of what the ai do... they scare me... i just ride along in a tank and get seismic'd, and then an engineer driod keeps healing himself... and then there are the ghost ai which appear sometimes when someone leaves a server or gets booted :shock: Fear them...
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: unit which cannot be played by bots

Post by Executer94 »

Yes it is just go to your lua and look for a line like this:

soldier = { "rep_inf_ep3_rifleman",9, 25},

I dont know which unit you want not to be played by bots but for example if you dont want this unit I posted to be played by bots let it look like this:

soldier = { "rep_inf_ep3_rifleman",0, 0},

Try it out!
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: unit which cannot be played by bots

Post by Dakota »

this was also answered in your thread about having two heros if u want a bit of extra information.
baumerindustries
Lance Corporal
Posts: 96
Joined: Mon Apr 11, 2011 8:24 am
Games I'm Playing :: Bf2 EAW EAWFOC[SI]
xbox live or psn: No gamertag set
Location: In front of my english vocab and translating my confused thinkings into English....

Re: unit which cannot be played by bots

Post by baumerindustries »

sry for that in the other tread .
I thought I made an new topic about this but i made a reply
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: unit which cannot be played by bots

Post by AQT »

Your two original topics were merged because they were related. Obviously, you couldn't have a second hero unit, so you then asked about using a unit that the AI cannot play as with intentions of using it as a substitute for the not-possible second hero unit, yes? Merged again.
Post Reply