Blind Tanks

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
User avatar
wishihadaname
Captain
Captain
Posts: 493
Joined: Fri Dec 28, 2007 2:10 pm
Projects :: The Corellian Resistance
Games I'm Playing :: Halo Reach and LOTRO
Location: Look to your left.... no, your other left....

Blind Tanks

Post by wishihadaname »

Is there a way to make it so that tanks don't ignore infantry? They seem to just glide off on their own right past whole plattons and unless someone shoots at them they don't even notice. not that the infantry really notice the tanks either... Any ideas? Is there a script command for making tanks attack infantry/other tanks on sight and vica versa?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Blind Tanks

Post by AQT »

Well, do you know how to make AI infantry use certain weapons against other infantry, turrets, vehicles, etc.?
Hint (off the top of my head):

Code: Select all

AITargetVehicle = 1
TargetVehicle = 0
TargetBuilding = 1
Etc. Add in the lines you want your tanks to target in their weapon ODFs and that should work.
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Blind Tanks

Post by FragMe! »

You could also try changing this line

NoCombatInterrupt = "1"

to

NoCombatInterrupt = "0"

What the line means is, if it is set to 1 and AI is driving, ignore combat situtations and proceed to objective, meaning in most case a command post. By setting it to 0 then they should stop and engage.
Post Reply