How do I get the AI to aim better?

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
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

How do I get the AI to aim better?

Post by skelltor »

How do i get ai to aim better i know its in the wepon odf and has like bubble multiplyer or something but what are the odf lines and how do the work? And what does this line do?

BarrageMin = "3"
BarrageMax = "8"
BarrageDelay = "1"
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: ai aim better

Post by genaral_mitch »

A quick look into the sniper rifle's com odf revealed these two lines:

Code: Select all

AIUseBubbleCircle	= "1"
AIBubbleSizeMultiplier	= "0.6"
Just put those into the weapon's odf.

Code: Select all

BarrageMin = "3"
BarrageMax = "8"
BarrageDelay = "1"
THAT^^ makes so when a unit fires the weapon, the minimum lasers they'll shoot is 3, and the most they'll shoot is 8.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: ai aim better

Post by skelltor »

ok am i correct in saying the BarrageDelay = "1" means they wait one second than shoot 3-8 shots again? But what do the bubble size things mean is .6 more accurate than 6.0? and the circle thing means what?
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: ai aim better

Post by genaral_mitch »

I don't know what the circle part does, so I'd just keep it to 1.
skelltor wrote:ok am i correct in saying the BarrageDelay = "1" means they wait one second than shoot 3-8 shots again?
Correct.
skelltor wrote:But what do the bubble size things mean is .6 more accurate than 6.0? and the circle thing means what?
Just make the first number something like 2.0 or something, I remeber putting it pretty high on Felucia, so you can get sniped really easily.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: ai aim better

Post by skelltor »

ok thx
Post Reply