AgentJonathan 0 Posted June 26, 2007 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
karantan 0 Posted June 26, 2007 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 Share this post Link to post Share on other sites
Macser_old 0 Posted June 26, 2007 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. Share this post Link to post Share on other sites
AgentJonathan 0 Posted June 28, 2007 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! Share this post Link to post Share on other sites
Macser_old 0 Posted June 28, 2007 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. Share this post Link to post Share on other sites
AgentJonathan 0 Posted June 28, 2007 Ouch! Guess I better learn C++ soon... If I want it done of course... Share this post Link to post Share on other sites