ACE3/addons
Brandon Danyluk f2fff98ad0 Add AGM-114L Active Radar Homing Hellfire (#7337)
* Create AGM-114L

* If we lose LOS dont continue tracking magically Allow for datalinked targets to donate data to the missile.

* Update documentation

* RHS 2x hellfire compatability

* Make ARH more realistic by not allowing to switch targets after firing

* Fix filename. Change Hellfire attack profile to lead target. Switch to two LOS checks.

We check two Line's of Sight to ensure that we are 100% gone from the target. A raw LOS check will be blocked by bushes and light trees while the checkVisibility wont while on the otherhand smoke will block a visiblity check but not a raw LOS check. We get best of both worlds with this.
I changed the attack profile so that it will lead moving targets. This isnt needed with the laser version because the user will "lead" the target if needed, but with the radar scan we have velocity information so we might as well lead the target as much as possible

* Change function calls to FUNC macro. Slightly change radar logic. Up poll frequency to 7hz

Instead of the missile immediately going active when the shooter doesn't have radar, check if targets are in datalink. If they are, use the datalink to guide the missile instead of its internal radar.

* Add logic for missiles launched without target

If a missile is fired without a locked target, it will immediately go active and target the first thing its seeker picks up. This is an incredibly dangerous trait of active radar homing missiles and is so in this implementation. Be careful!

* Change from `exitWith` to basic `then`

Legacy code that never got changed. This is essentially what happened before

* Update CfgMagazineWells.hpp

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2019-12-30 12:29:08 -06:00
..
advanced_ballistics French translation (#7298) 2019-12-19 11:08:31 -06:00
advanced_fatigue Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
advanced_throwing French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
ai Pass function by reference to Draw3D EH (#7333) 2019-12-26 19:42:48 -06:00
aircraft Spanish translations (#7235) 2019-12-26 15:49:15 -06:00
apl Wrong texture path for ace_csw_tripod_m122.p3d, csw -> apl (#7201) 2019-09-29 19:51:00 +02:00
arsenal Register ace arsenal feature camera (#7330) 2019-12-26 15:45:11 -06:00
artillerytables French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
atragmx Ballistics - Contact DLC rifles added (#7156) 2019-09-03 19:09:12 -05:00
attach Replace remaining lineIntersects with lineIntersectsSurfaces (#6898) 2019-12-07 14:58:21 -06:00
backpacks [WIP] Fix script errors reporting wrong line numbers (#6407) 2018-09-17 14:19:29 -05:00
ballistics French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
captives Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
cargo Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
chemlights French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
common Update Tchinese String (#7340) 2019-12-29 20:57:28 -06:00
concertina_wire French translation (#7298) 2019-12-19 11:08:31 -06:00
cookoff Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
csw Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
dagr French translation Update / Added (#7213) 2019-12-07 13:48:47 -06:00
disarming More trivial code cleanup (#6859) 2019-03-21 08:52:32 -05:00
disposable keep well on ready weapon? 2019-12-20 23:04:41 -06:00
dogtags Spanish translations (#7235) 2019-12-26 15:49:15 -06:00
dragging French translation (#7298) 2019-12-19 11:08:31 -06:00
dragon Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
explosives Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
fastroping Update Tchinese String (#7340) 2019-12-29 20:57:28 -06:00
fcs French translation (#7298) 2019-12-19 11:08:31 -06:00
finger French translation (#7298) 2019-12-19 11:08:31 -06:00
flashlights Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
flashsuppressors Update /flashsuppressors/stringtable.xml 2019-11-29 03:03:08 +08:00
fonts Cleanup (#5463) 2017-08-29 17:47:01 -05:00
frag Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
gestures French translation (#7298) 2019-12-19 11:08:31 -06:00
gforces Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
goggles French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
grenades French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
gunbag French translation Update / Added (#7213) 2019-12-07 13:48:47 -06:00
hearing Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
hellfire Add AGM-114L Active Radar Homing Hellfire (#7337) 2019-12-30 12:29:08 -06:00
hitreactions Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
hot Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
huntir French translation (#7298) 2019-12-19 11:08:31 -06:00
interact_menu Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
interaction Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
inventory French translation (#7298) 2019-12-19 11:08:31 -06:00
javelin French translation (#7298) 2019-12-19 11:08:31 -06:00
kestrel4500 Alt. syntax in favor of obsolete BIS func. 2019-11-22 21:47:51 +01:00
laser Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
laserpointer French translation (#7298) 2019-12-19 11:08:31 -06:00
logistics_uavbattery French translation (#7298) 2019-12-19 11:08:31 -06:00
logistics_wirecutter Add berlin wall compatibility (#6982) 2019-05-05 19:03:57 -05:00
magazinerepack French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
main Spanish translations (#7235) 2019-12-26 15:49:15 -06:00
map Spanish translations (#7235) 2019-12-26 15:49:15 -06:00
map_gestures Added missing Czech translation strings (#7323) 2019-12-21 19:34:06 +01:00
maptools Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
markers Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
maverick Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
medical Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
medical_ai Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
medical_blood Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
medical_damage Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
medical_engine Medical Engine - Increase lethality of aircraft explosions (#7304) 2019-12-17 10:01:17 -06:00
medical_feedback Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
medical_gui Stringtable Validator - Check for tabs and correct spacing (#7332) 2019-12-26 19:42:30 -06:00
medical_statemachine Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
medical_status Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
medical_treatment French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
medical_vitals Medical Feedback - Change pain scream frequency based on intensity (#7238) 2019-12-17 11:17:49 -06:00
metis Implement Metis SACLOS guidance (#6997) 2019-12-16 20:01:30 -06:00
microdagr French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
minedetector Portugues Language Updated 2019-09-14 15:36:28 -03:00
missileguidance Add AGM-114L Active Radar Homing Hellfire (#7337) 2019-12-30 12:29:08 -06:00
missionmodules French translation (#7298) 2019-12-19 11:08:31 -06:00
mk6mortar Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
modules [WIP] Fix script errors reporting wrong line numbers (#6407) 2018-09-17 14:19:29 -05:00
movement Portugues Language Updated 2019-09-14 15:36:28 -03:00
mx2a Add Chinese translation Modify grammar (#6400) 2018-06-22 19:14:11 -05:00
nametags Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
nightvision Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
nlaw Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
noidle Cleanup (#5463) 2017-08-29 17:47:01 -05:00
noradio Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
norearm Cleanup (#5463) 2017-08-29 17:47:01 -05:00
optics Add Feature Camera Player EH and Handling (#6573) 2018-10-12 14:59:40 +02:00
optionsmenu French translation (#7298) 2019-12-19 11:08:31 -06:00
overheating French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
overpressure Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
parachute Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
pylons Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
quickmount Update Tchinese String (#7340) 2019-12-29 20:57:28 -06:00
rangecard French translation (#7298) 2019-12-19 11:08:31 -06:00
realisticnames Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
realisticweights nlaw disposable realistic weight 2019-04-26 23:31:56 +02:00
rearm Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
recoil More trivial code cleanup (#6859) 2019-03-21 08:52:32 -05:00
refuel Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
reload French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
reloadlaunchers French translation (#7298) 2019-12-19 11:08:31 -06:00
repair Repair - Handle turret hitpoints with no selection (#7338) 2019-12-28 10:26:57 -06:00
respawn Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
safemode French translation Update / Added (#7213) 2019-12-07 13:48:47 -06:00
sandbag French translation (#7298) 2019-12-19 11:08:31 -06:00
scopes Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
slideshow Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
smallarms Remove cursor config for vanilla sniper rifles - fix #7326 2019-12-24 15:18:59 +01:00
spectator Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
spottingscope French translation Update / Added (#7213) 2019-12-07 13:48:47 -06:00
switchunits French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
tacticalladder French translation Update / Added (#7213) 2019-12-07 13:48:47 -06:00
tagging Tagging - Convert to CBA Settings (#7336) 2019-12-26 20:38:36 -06:00
thermals Cleanup (#5463) 2017-08-29 17:47:01 -05:00
trenches French translation Update / Added (#7213) 2019-12-07 13:48:47 -06:00
tripod Use STRING macros (#6576) 2019-12-07 22:40:44 +01:00
ui Spanish translations (#7235) 2019-12-26 15:49:15 -06:00
vector French translation (#7298) 2019-12-19 11:08:31 -06:00
vehiclelock Addition to Czech translation (#7319) 2019-12-20 13:38:53 -06:00
vehicles Spanish translations (#7235) 2019-12-26 15:49:15 -06:00
viewdistance French translation (#7298) 2019-12-19 11:08:31 -06:00
weaponselect Spanish translations (#7235) 2019-12-26 15:49:15 -06:00
weather French translation of the latest updates (#7321) 2019-12-28 09:58:52 -06:00
winddeflection French translation (#7298) 2019-12-19 11:08:31 -06:00
yardage450 French translation (#7298) 2019-12-19 11:08:31 -06:00
zeus Spanish translations (#7235) 2019-12-26 15:49:15 -06:00