Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: DarkShadow- on November 29, 2006, 09:20:36 am

Title: Fire rate / AI
Post by: DarkShadow- on November 29, 2006, 09:20:36 am
I'm wondering how the ships AI (captain, major, ...) is affecting the fire rate of weapons. In my mod, there's one weapon that should have the same fire rate in all AI levels. In AI profiles table, there's only a way to change the rate of fire for different difficulty levels, not AI levels.

In AI table, there're just entries for accuracy, evasion, courage and patience. On the one hand, I don't really know if and how any of these are affecting the fire rate, on the other hand I don't really want to change anything there (e.g. making all values the same) because ships with low AI should still shoot less accurate, but with the same rate of fire.

Does anybody know if there's a way to change that or do I really have to set all ships using that weapon to the same AI level?

Didn't find anything using the search engine.
Title: Re: Fire rate / AI
Post by: CP5670 on November 29, 2006, 11:35:03 am
It's been a while since I looked into this, but IIRC "accuracy" is not accuracy at all. It controls the fire rate. The AIs have perfect accuracy at all difficulty levels.
Title: Re: Fire rate / AI
Post by: Raptor on November 29, 2006, 11:48:33 am
It's been a while since I looked into this, but IIRC "accuracy" is not accuracy at all. It controls the fire rate. The AIs have perfect accuracy at all difficulty levels.

Which of course makes no sense whatsoever to us, but somehow made perfect sense to the people at :v:  :wtf:

Maybe the SCPers could alter that, so that 'Acceracy' adds a fof: line to all weapons.  Whatever value is in the AI.tbl is the fof?

@DarkShadow:  Just add 'same turret cooldown' into the weapons flag entries.  That should fix the problem.
Title: Re: Fire rate / AI
Post by: Wanderer on November 29, 2006, 03:14:34 pm
Check FSwiki for ai_profiles.tbl
Title: Re: Fire rate / AI
Post by: Mathwiz6 on November 29, 2006, 03:40:07 pm
Or, at least they aim perfectly at where you should be  :lol:
Title: Re: Fire rate / AI
Post by: DarkShadow- on November 30, 2006, 09:53:49 am
Edit: Whoops, sorry Raptor, you're right, that flag works, the Wiki description is just wrong. Once again I learned that trying is better than studying.

@Wanderer:
Quote from: DarkShadow
In AI profiles table, there's only a way to change the rate of fire for different difficulty levels, not AI levels.

Did check them, checking the Wiki for every problem  :p