Team Killing, AI gunnery and animated turrets

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....

Team Killing, AI gunnery and animated turrets

Post by wishihadaname »

I didn't want to spam the forum so I put all three questions in one thread

1) is there a way to make the AI stop team killing and comitting suicide? it looks really stupid when they run over their own grenades...

2) Is there a way to make the AI use turrets more intellegantly? They normally don't even bother manning them and when they do they can't aim worth crap

3) This is just theory at this point but could I turn a Y-wing into an auto aiming turret and then animate it so it strafes a certain area?
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Team Killing, AI gunnery and animated turrets

Post by bobfinkl »

1. Not possible

2. You can add a defend objective to the turret object that will maybe work at getting them in it I don't know myself though I have never tried, and the aim is set by the AI difficulty just turn that up and they will aim for you

3. Yes it's perfectly possible.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Team Killing, AI gunnery and animated turrets

Post by Fiodis »

Turrets act as automatic hint nodes. If you have a turret, and an AI's path takes it near it, the AI will automatically try to enter it and use it.
User avatar
TGB
Private Third Class
Posts: 58
Joined: Sun Oct 25, 2009 2:21 am
Games I'm Playing :: LoL SWBF2 BF3 CNC3
xbox live or psn: pfff xbox
Location: New Zealand

Re: Team Killing, AI gunnery and animated turrets

Post by TGB »

2) ai accuracy can be increased or decreased by putting this in the weapon odf (not the turret building file) : AIUseBubbleCircle = "1"
AIBubbleSizeMultiplier = "1.25"



Lower the number for higher accuracy
Post Reply