View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005391 | Spring engine | Unit Scripting | public | 2016-11-16 04:27 | 2018-02-12 12:08 | ||||
Reporter | raaar | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Product Version | 103.0 | ||||||||
Target Version | Fixed in Version | 104.0 +git | |||||||
Summary | 0005391: add option for weapons to trigger aimWeaponX more often | ||||||||
Description | currently the aim function for each weapon is called about twice per second. The frequency is too low for units which are fast and have relatively high turn rates for the body and turret or torso. When making sharp turns their aim is often off, regardless of the turret's turn rate. This looks glitchy, especially for continuous beam lasers and burst weapons. There should be the option to set the delay in frames between consecutive aimWeapon calls for each weapon. This would allow games with bigger or fewer units to have their weapon aiming more frequently and tracking the target more precisely. This could be made into a unit def "weaponAimDelayFramesX" or a weapon def "aimDelayFrames" (default 15, or whatever the current value is) | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
sprung (reporter) 2017-06-01 16:48 |
Use the fireTolerance tag |
Kloot (developer) 2017-06-01 19:59 |
to be specific: the *maximum* delay between AimWeapon calls is 15 frames, increasing fireTolerance will cause it to be called more often (whenever wantedDir.dot(lastRequestedDir) <= fireTolerance). the return value of AimWeapon determines whether the weapon can fire (for COB). |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-16 04:27 | raaar | New Issue | |
2017-06-01 16:48 | sprung | Note Added: 0017758 | |
2017-06-01 19:59 | Kloot | Assigned To | => Kloot |
2017-06-01 19:59 | Kloot | Status | new => closed |
2017-06-01 19:59 | Kloot | Resolution | open => fixed |
2017-06-01 19:59 | Kloot | Note Added: 0017762 | |
2017-06-01 19:59 | Kloot | Resolution | fixed => no change required |
2018-02-12 12:08 | Kloot | Status | closed => resolved |
2018-02-12 12:08 | Kloot | Fixed in Version | => 104.0 +git |