19,041
edits
m (link fixes) |
m (link fix) |
||
Line 145: | Line 145: | ||
{{OBDtr| 0x128 | float |EBEBEB| 00 00 20 41 | 10.000000 | max. inaccurancy angle; sets max angle between weapon's aiming vector and target's position; when AI exceeds this angle (by recoil or target running away), AI stops shooting and aims weapon again straight to the target, then resume shooting }} | {{OBDtr| 0x128 | float |EBEBEB| 00 00 20 41 | 10.000000 | max. inaccurancy angle; sets max angle between weapon's aiming vector and target's position; when AI exceeds this angle (by recoil or target running away), AI stops shooting and aims weapon again straight to the target, then resume shooting }} | ||
{{OBDtr| 0x12C | float |EBEBEB| 00 00 20 40 | 2.500000 | aim_radius; always the same; possible related to the inaccuracy angle above }} | {{OBDtr| 0x12C | float |EBEBEB| 00 00 20 40 | 2.500000 | aim_radius; always the same; possible related to the inaccuracy angle above }} | ||
{{OBDtr| 0x130 | float |EBEBEB| 00 00 96 43 | 300.000000 | weapon sound sphere radius; defines radius of the A.I. sound sphere (gunfire type, see [[AI# | {{OBDtr| 0x130 | float |EBEBEB| 00 00 96 43 | 300.000000 | weapon sound sphere radius; defines radius of the A.I. sound sphere (gunfire type, see [[AI#Vision and hearing|HERE]] about A.I. sound spheres) which is created for a short moment when this weapon is fired }} | ||
{{OBDtr| 0x134 | float |EBEBEB| 00 00 40 41 | 12.000000 | minimal shooting distance; if target is closer than min.shoot.dist then A.I. ceases fire and moves away from the target till at least min.shoot.dis. is achieved; '''diameter, not a radius''', so effective distance from A.I. to target is half of this value }} | {{OBDtr| 0x134 | float |EBEBEB| 00 00 40 41 | 12.000000 | minimal shooting distance; if target is closer than min.shoot.dist then A.I. ceases fire and moves away from the target till at least min.shoot.dis. is achieved; '''diameter, not a radius''', so effective distance from A.I. to target is half of this value }} | ||
{{OBDtr| 0x138 | float |EBEBEB| 00 00 61 44 | 900.000000 | maximal shooting distance; if target is further than max.shoot.dist then A.I. ceases fire and moves towards the target until at least max.shoot.dis. is achieved; }} | {{OBDtr| 0x138 | float |EBEBEB| 00 00 61 44 | 900.000000 | maximal shooting distance; if target is further than max.shoot.dist then A.I. ceases fire and moves towards the target until at least max.shoot.dis. is achieved; }} |