Jump to content
Sign in to follow this  
AgentJonathan

Automatic Fire problems...

Recommended Posts

I was wondering if it's possible to get the AI to choose a weapon function that I tell him/her to... Example: I use the JAM3 weapons, and I want the AI to fire Auto, but he fires only one bullet at a time... Help will be appreciated.

Share this post


Link to post
Share on other sites

You meant you want them to fire in bursts, yes? Unfortunately this is a 'malfunction' inside JAM3, that the AI don't/can't fire in bursts, only a player can, but this is really not a big deal, and I think there's no way to control/change this, only and maybe if you mess with config or something, which is way out of my territory wink_o.gif

Share this post


Link to post
Share on other sites

Hello Agent,Karantan,

That's a bit of a problem I've experienced

myself.

Anyway,with my own addons,I adjust

some settings in their weapon config.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Single

{

ammo="556mm";

multiplier=1

burst=1

displayName="Sopmod M4";

dispersion=0.000200;

sound[]={"\SfWeapons\sounds\m4.wav",1.000000,1};

soundContinuous=0

reloadTime=0.100000;

ffCount=1

recoil="riffleSingle";

autoFire=0

aiRateOfFire=1.000000;

aiRateOfFireDistance=500

useAction=0

useActionTitle="";

};

class fullauto

{

ammo="556mm";

multiplier=1

burst=1

displayName="Sopmod M4 auto";

dispersion=0.001000;

sound[]={"\SfWeapons\sounds\m4.wav",1.000000,1};

soundContinuous=0

reloadTime=0.080000;

ffCount=1

recoil="riffleBurst3";

autoFire=1

aiRateOfFire=.080000;<<<<<<<<

aiRateOfFireDistance=400<<<<<<

useAction=0

useActionTitle="";

};

};

Try adjusting these settings.AIrateOfFire should

change exactly that;AI's rate of fire.AiRateOfFireDistance

should change the distance at which they engage that

particular "mode".

Hopefully that'll get you a little closer to what you

want.

Of course,you could create a variant weapon just

for the AI,having only the mode you want in it.

So they have no choice but to use it.Although I've

never actually tried that.

I'm obviously open to correction on any of the above.

smile_o.gif

Share this post


Link to post
Share on other sites

Actually I wan't them to fire Automatically, instead of burst. (Which is AI's default choice.)

Is there no small command to get them to switch from burst to auto?

THX

Welcome Back, Karantan! welcome.gifyay.gif

Share this post


Link to post
Share on other sites

If there is,I've never heard of it.

Although it'd be a great feature to be

able to dynamically change

config attributes with a command.

I think the only way is to get in there,and

alter the settings yourself.

smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×