AI does not use all weapons giving.

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
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

AI does not use all weapons giving.

Post by swado95 »

Hi why wont my AI use all the weapons I give it. Like there not courrped it just they stick with the first weapon there given.
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: AI does not use all weapons giving.

Post by Fiodis »

Grev wrote:Nice! This should be stickied!

Another find thats not personally mine, but:

Code: Select all

BarrageMin   = "3"
BarrageMax   = "8"
BarrageDelay   = "1"
Those lines control how the AI fire the weapon, so i was able to get rid of that stupid "fire 3 shots wait 2 seconds, fire 3 shots" behavior.
Also, in the weapons odf in Common, you can change if the AI fires the weapon or not.
Please check the FAQ thread before posting. This was from this thread, which is in the FAQ.
Post Reply