Weapon Attributes and Elements (reference list)
-
- Commonwealth Pilot
- Posts: 55
- Joined: Wed Aug 27, 2008 6:30 pm
- Location: USA
I'm guessing aimTolerance is the maximum angle (or a modifier to the maximum angle) at which an ai considers a target to be shootable. It seems to be used in spread or randomized-shot-angle configurations. To make a weapon with a targeting arc, maybe try the minFireArc and maxFireArc Weapon attributes (see Dwarg Xiphon cannon).
Yes I know how to make it partially auto-targetting I just wondered what aimTolerance meant. So it's a hint to the AI equipped with that weapon? Hmm what does it mean, if I set aimTolerance="90" then enemy ships equipped with it will fire almost randomly, i.e. missing a lot with that weapon?speedofsquid wrote:I'm guessing aimTolerance is the maximum angle (or a modifier to the maximum angle) at which an ai considers a target to be shootable. It seems to be used in spread or randomized-shot-angle configurations. To make a weapon with a targeting arc, maybe try the minFireArc and maxFireArc Weapon attributes (see Dwarg Xiphon cannon).
Okay, so if fireAccuracy is "95" but aimTolerance is "90" (degrees) - which of them has precedence? At any rate, one of them sounds superfluous.digdug wrote:also the <AISettings> in the shipclasses have already
fireAccuracy="95"
as a parameter to have an AI ship randomly missing.
It's not to make it self-aiming. There's only one non-omni self-aiming weapon in vanilla transcendence and it uses minFireArc and maxFireArc.
aimTolerance is used in the following weapons.
Trident
Storm
Ion Flame Cannon
It's used by all spread shot weapons that do not use the hard coded spread configuration. I suspect it's an indicator for the AI that the weapon covers an arc and so shots don't have to be lined up perfectly.
fireAccuracy is an ai setting and is designed to generate misses. It is probably added to aimTolerance when applicable.
aimTolerance is used in the following weapons.
Trident
Code: Select all
<Configuration aimTolerance="5">
<Shot angle="3d5-9"/>
</Configuration>
Code: Select all
<Configuration aimTolerance="5">
<Shot angle="3d5-9"/>
</Configuration>
Ion Flame Cannon
Code: Select all
<Configuration aimTolerance="5">
<Shot posAngle="0" posRadius="0" angle="0"/>
<Shot posAngle="0" posRadius="0" angle="-8"/>
<Shot posAngle="0" posRadius="0" angle="-5"/>
<Shot posAngle="0" posRadius="0" angle="-2"/>
<Shot posAngle="0" posRadius="0" angle="2"/>
<Shot posAngle="0" posRadius="0" angle="5"/>
<Shot posAngle="0" posRadius="0" angle="8"/>
</Configuration>
fireAccuracy is an ai setting and is designed to generate misses. It is probably added to aimTolerance when applicable.
I would like to know if you can have a configuration under <fragment>.
I tried this some time back and couldn't get it to work. That was about a year ago.
Trying to make a launcher that can fire what amounts to fireworks. One main projectile and each shell type has it's own burst configuration. Right now just wanting arcs with different spreads, 45, 60, 90 and 180, and number of fragments. Haven't found any working examples but have been nudged this way.
I tried this some time back and couldn't get it to work. That was about a year ago.
Trying to make a launcher that can fire what amounts to fireworks. One main projectile and each shell type has it's own burst configuration. Right now just wanting arcs with different spreads, 45, 60, 90 and 180, and number of fragments. Haven't found any working examples but have been nudged this way.
"Have you guys ever watched the show?" ~ Guy