When an AI opens fire is based on three things:
a.) max gun range as set in the sim.cfg file
b.) Max gun range as set in whatever gun model it happens to be. For example. Guns.sim. Probably located in data/library/shipparts or something like that
c.) If it visually see's it's target or not.
|