Commit Graph

297 Commits

Author SHA1 Message Date
Brandon Danyluk
d34201ed4e remove uneeded sets 2021-04-13 17:18:42 -06:00
Brandon Danyluk
e1436d6ece Change out missile types to reflect navigation scheme they use IRL 2021-04-13 16:27:33 -06:00
Brandon Danyluk
e9d474c995 remove placeholder 2021-04-13 16:21:25 -06:00
Brandon Danyluk
f96abc0b89 Fix bug with ZEM 2021-04-13 16:21:15 -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
789ae1cbe4 Add AIM-120 with ARH. Change AHR to not always seek all targets 2021-04-12 22:37:41 -06:00
Brandon Danyluk
34af87bb07 update todo with list of weapons 2021-04-12 18:04:48 -06:00
Brandon Danyluk
0d0019b272 add KAB-250 lgb 2021-04-12 18:04:40 -06:00
Brandon Danyluk
8948e8ac77 add camera tool to observe projectile in flight 2021-04-12 17:03:21 -06:00
Brandon Danyluk
e54e6ec254 Fix hellfire firing without lock. Change LOS navigation type 2021-04-12 16:44:59 -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
46abb93cb8 add GBU-12 to missile guidance 2021-04-12 02:51:02 -06:00
Brandon Danyluk
35c48c8915 fix dagr 2021-04-12 01:43:35 -06:00
Brandon Danyluk
5f45ad838d fix maverick 2021-04-12 01:12:24 -06:00
Brandon Danyluk
023fed45cb fix hellfire 2021-04-12 01:11:21 -06:00
Brandon Danyluk
3e50605b37 update todo 2021-04-12 01:10:36 -06:00
Brandon Danyluk
22d3ee838f Fix SALH
With Pro-nav the irratic behaviour of the laser caused the missile to over correct, so we average the position and use that running average for the target
2021-04-12 01:09:12 -06:00
Brandon Danyluk
4124a317f2 Update todo 2021-04-12 00:16:44 -06:00
Brandon Danyluk
4f8ea33e36 Fix NLAW 2021-04-12 00:16:10 -06:00
Brandon Danyluk
cf40622b52 Fix metis and HOT to use new scheme 2021-04-12 00:12:16 -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
450d1a2a09 allow for bang bang guidance 2021-04-10 19:02:31 -06:00
Brandon Danyluk
0af82a56f4 allow for different types of navigation 2021-04-10 18:49:47 -06:00
Brandon Danyluk
4d5d395f61 adjust hellfire attack profile to work with pro-nav 2021-04-10 18:32:55 -06:00
Brandon Danyluk
5cd61d1301 set default navigation type 2021-04-10 13:16:08 -06:00
Brandon Danyluk
fd8a55addf make navigation a modifyable system 2021-04-10 13:11:20 -06:00
Brandon Danyluk
fa064f9287 small adjustents 2021-04-10 11:27:41 -06:00
Brandon Danyluk
ea0bb8fa37 pro-nav works flawlessly 2021-04-10 11:15:27 -06:00
Brandon Danyluk
dee326606c pn crap 2021-04-06 21:01:07 -06:00
Brandon Danyluk
53ff3bb1f5 proportional navigation now "works" 2021-04-03 21:04:16 -06:00
Brandon Danyluk
7179a91c77 small changes 2021-04-01 20:12:49 -06:00
Brandon Danyluk
17175db48e v2 of proporitonal nav 2021-03-31 17:16:00 -06:00
Brandon Danyluk
365860dd09 attempt at missile dynamics 2021-03-26 23:15:29 -06:00
Brandon Danyluk
2fd4f70c5b Add debug info 2021-03-18 23:43:07 -06:00
Brandon Danyluk
51542f9053 Basic proportional navigation and PID controller 2021-03-18 23:28:55 -06:00
PabstMirror
05ab4ba677
Javelin - reduce soft-launch motor delay (#8152) 2021-03-07 13:25:14 -06:00
Neviothr
75f7ed7532
Utilize isNotEqualTo (#7929)
* Utilize isNotEqualTo

* undo changes to some files

* redo some changes, fix based on @Vdauphin 's comment

* fix validator issues

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-02-27 11:05:05 -06:00
PabstMirror
e8693c8db9
Various - Use configOf command for faster lookup (#8100)
* configOf

* replace some use of CBA_fnc_getObjectConfig
2021-02-18 12:58:08 -06:00
Brandon Danyluk
4058a7e42b
MissileGuidance - Active Radar Homing: Use AGL for nearestObjects check (#8045)
* Use AGL for `nearestObjects` check

* remove empty line
2020-12-15 21:01:53 -06:00
Brandon Danyluk
6b674f5395
Add config option for the use of pilot camera for weapons on that turret (#7812) 2020-07-22 10:37:56 -05:00
Taha
35e4c2ae35
Turkish Language Update (#7690)
* Fatal

Turkish Language Update

* Update AUTHORS.txt

* Update stringtable.xml

Problems solved

* Update stringtable.xml

Problems solved

* Update stringtable.xml

Problems solved

* Update stringtable.xml

Problems solved

* Fix medical_treatment

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2020-05-09 12:26:27 -05:00
PabstMirror
a9a69ac4ff
Headers - Fix function names in examples (#7663) 2020-04-25 08:41:45 +02:00
jonpas
c42a004ab3
General - Fix preprocessor issues (#7563)
* Fix preprocessor issues

* Fix more preprocessor issues
2020-02-29 16:09:31 -06:00
Taha
d8f18c685b Turkish Language Update (#7446)
* Fatal

* Fatal

* Fatal

Turkish Language Update

* Fatal

* Update AUTHORS.txt

* Fatal

Fix

* Update AUTHORS.txt

* Update

* Delete stringtable.xml

* Update stringtable.xml

* Delete stringtable.xml

* Revert "Delete stringtable.xml"

This reverts commit 704c1e838c.

* Update stringtable.xml

* Fix

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2020-01-16 21:14:23 -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
Elgin675
bd0ecd7edf French translation (#7298)
* Cleaning and reorganizing of some stringtable files (WIP) :

- Duplicate entries have been removed, and the arrangement improved, to help future translators.
- Some ACE_Settings.hpp files have been modified because they were not up to date.
- Minor french translation correction.

* Added French translation and / or correction for :

- Weaponselect module,
- Weather module,
- Winddeflection module,
- Yardage450 module,
- Zeus module.

* Convert Tabs to Spaces

* Minor corrections ; arrangement improved for few stringtable.xml files.

* Improved French translation, and adjust fews settings.

- Nombreuses corrections mineures, en vérifiant chaque menu un à un, puis chaque
  option dans le jeu lui-même. Ca m'a permit de constater qu'il y a certaines
  absurdités, y compris en anglais, qui ont donc été retraduites dans toutes les
  langues, mais qui ne correspondent pas vraiment à l'option telle qu'implémentée.
  Par exemple, le système de réarmement dans Eden est traduit de manière très
  étrange.

- Modification du fichier "addons/overheating/ACE_Settings.hpp", afin de changer
  l'ordre du menu "ACE Surchauffe". En effet la case "activé" était tout en bas,
  aussi je l'ai mise tout en haut (comme c'est déjà le cas pour toutes les options).

- Modification du fichier "addons/finger/ACE_Settings.hpp", concernant le pointage
  du doigt ACE, afin d'y ajouter une description dans les réglages des addons.
  Il y en avait déjà une (peu utile) dans les paramètres des commandes, mais pas
  dans les options des addons, ce qui rend l'option peu explicite pour un débutant.

* Corrections mineures

* correction erreurs

* correction erreurs (nametags)

* correction erreurs et modules obsolètes (nametags)

* correction erreurs et modules obsolètes (common)

* Mise en commentaire d'éléments obsolètes

* correction key error

* Added Vdauphin suggestions :).

* French translation - Replaced "Faction" (faction) to "Camp" (side)

addons/captives/stringtable.xml
addons/switchunits/stringtable.xml
addons/zeus/stringtable.xml

* Minor correction of french Concertina_wire translation

* - (PabstMirror suggestions) Replace tabs by spaces, in addons/common/stringtable.xml
- (PabstMirror suggestions) Replace xml comments by french plain text, in addons/common/stringtable.xml

- Replace xml comments by french plain text, addons/explosives/stringtable.xml
- Replace xml comments by french plain text, addons/nametags/stringtable.xml

* Removed accented capital letters for objects in french translation :

Capital accented letters were a problem because they were not classified alphabetically.
Thus in Eden or in the arsenal, objects starting with a capital accented letter were systematically at the top of the list.

modified:   addons/chemlights/stringtable.xml
modified:   addons/huntir/stringtable.xml

* Correction of a typing error (french concertina_wire translation
2019-12-19 11:08:31 -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