Accurate AI

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
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Accurate AI

Post by Fiodis »

Is there a way of making the AI more accurate? I'm tired of always dodging their way-off potshots.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Accurate AI

Post by YaNkFaN »

*sigh* haven't we all had this problem...well there are a few things that can help make your ai better...

1 is better planning...allow the ai to go almost everywhere on the map and it will make them look definitely more intelligent...also add something called hint nodes (something i haven't heard mentioned a lot here at gt) these tell the ai to do specific actions such as jet jump, land, snipe, and allows you to customize their position (ie stand, crouch) put these in key spots where a human player would do it and the ai will look more "smart"

also i found adding these lines

SetTeamAggressiveness(CIS, (number between 0 and 1))
SetTeamAggressiveness(REP,(number between 0 and 1))

right after this line
function ScriptInit()

in the .lua makes the ai more agressive and possibly more accurate shooters

another is

SetPlayerTeamDifficulty( value )
SetEnemyTeamDifficulty( value )
where value can be between 1 (dumbest) and 20 (smartest)


lastly adding these lines to the weapons .odf may help aid in weapon accuracy

AIUseBubbleCircle = "1"
AIBubbleSizeMultiplier = "0.2"

hope this helps
Post Reply