View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002795 | Spring engine | General | public | 2011-11-29 09:05 | 2011-11-29 13:00 |
| Reporter | Google_Frog | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 84.0 | ||||
| Summary | 0002795: Rapier no longer fires backwards | ||||
| Description | In any recent ZK version: * Spawn corape * Give it an attack ground order about 250 elmos North of it's location In 0.82.7 the unit would fire forwards (in the 'wrong' direction) as soon as the attack order was given and the missile would hit it's target with homing. This is the desired behaviour and was achieved with 'turret = false' and 'tolerance = 10000000000'. In 84.0 the unit does not fire until it is pointing directly at the target. It is behaving as it would if it had no tolerance in 0.82.7. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
http://code.google.com/p/zero-k/issues/detail?id=962 |
|
|
"was achieved with 'turret = false' and 'tolerance = 10000000000'" 1) turret=false means a weapon can only fire forward within its tolerance cone 2) tolerance values are NOT used directly, what you actually get is cos((tolerance * (180 / COBSCALEHALF)) / (180 * PI)) plugging in the numbers (tolerance=1e10, COBSCALEHALF=65536/2) the _angle_ becomes 958737.9924285257 radians and cos(958737.9924285257) happens to be ~0.77 which means a target MUST BE within an arc acos(0.77) radians ~= 40 degrees wide to be fired at --> the engine must have been broken if it allowed the behavior you describe before. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-29 09:05 | Google_Frog | New Issue | |
| 2011-11-29 09:46 | Google_Frog | Note Added: 0007757 | |
| 2011-11-29 09:46 | Google_Frog | Note Edited: 0007757 | |
| 2011-11-29 13:00 | Kloot | Note Added: 0007763 | |
| 2011-11-29 13:00 | Kloot | Status | new => closed |
| 2011-11-29 13:00 | Kloot | Resolution | open => no change required |