Commit Graph

21 Commits

Author SHA1 Message Date
Brandon Danyluk
5315b11177 add MCLOS guidance 2021-05-08 02:49:07 -06:00
Brandon Danyluk
197c1a7cae Add new navigation profile. Tweak javelin mid-course guidance 2021-05-01 20:34:41 -06:00
Brandon Danyluk
6cfc0754d8 Add action to get into jdam settings 2021-04-21 15:53:52 -06:00
Brandon Danyluk
9d26335271 Fix SACLOS missiles 2021-04-20 18:11:44 -06:00
Brandon Danyluk
44b7b874fd Add SDB and JDAM 2021-04-19 01:27:49 -06:00
Brandon Danyluk
e1cdbb777f Add GPS selector dialog for GPS munitions 2021-04-18 03:30:10 -06:00
Brandon Danyluk
8318b60982 Improve radar simulation 2021-04-15 22:29:02 -06:00
Brandon Danyluk
d0775283e3 implement course state machine 2021-04-14 02:29:27 -06:00
Brandon Danyluk
e2c8ddfd3b IR seeker and AIM-9M 2021-04-13 22:45:18 -06:00
Brandon Danyluk
1873467deb Add zero-effort miss. Seeker now feeds data to navigation 2021-04-13 16:10:39 -06:00
Brandon Danyluk
a93eb6433d implement augmented proportional navigation 2021-04-13 14:09:36 -06:00
Brandon Danyluk
187c6d35c3 Implement some generic modes of flight 2021-04-12 23:14:22 -06:00
Brandon Danyluk
fca022a401 scale deltatime in accordance to acctime. Change velocity so that it isnt always pointing out the nose. Dont scale Acmd as much 2021-04-12 15:18:01 -06:00
Brandon Danyluk
bac6a0b6dd implement LOS guidance, rename previous LOS guidance 2021-04-11 23:50:03 -06:00
Brandon Danyluk
224a243713 implement LOS guidance and Bang-Bang control 2021-04-11 17:58:44 -06:00
Brandon Danyluk
fd8a55addf make navigation a modifyable system 2021-04-10 13:11:20 -06:00
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
Brandon Danyluk
316fbfe7b9 Implement Metis SACLOS guidance (#6997)
* abc

* Revert "abc"

This reverts commit bcb4214bd9.

* Update to current commit

* Begin transfer of SACLOS into Missile Guidance

* Allow seeker and attack profiles to have their own "OnFired" functions

* Fix bugs with SACLOS

* Implement Metis wire guidance. Add "Beam" guidance

* add missing parenthesis

* Update how Wire/Beam guidance works. Add compatability for SACLOS planes. Move all base missile changes out of missileguidance and into their own files.

* try to cleanup merge

* minor stuff
2019-12-16 20:01:30 -06:00
PabstMirror
78a55d4436 Generic cycle attack profile key for missile guidance (#4787)
* Generic cycle attack profile key for missile guidance

* Add hint for weapons without huds

* Fix Korean strings

* Cleanup
2017-02-10 13:01:17 -06:00
PabstMirror
63f3673a65 Missile Guidance Overhaul 2016-10-17 16:08:23 -05:00
commy2
46a239f9f6 precompile on game start 2016-02-22 15:20:36 +01:00