Commit Graph

88 Commits

Author SHA1 Message Date
Brandon Danyluk
1511ecc1c0 SACLOS and HOT Missiles (#6708)
* abc

* Revert "abc"

This reverts commit bcb4214bd9.

* Update to current commit

* Added HOT1 Missile and SACLOS/Wire guidance

* Added all HOT variants. Added polish to code

* Fixed bug with pylons

* Changed how seeker angle is calculated. When the wire snaps the missile goes haywire. Fixed bug where HOT2/3 missiles weren't getting missile guidance

* Replaced Wiesel FireFIST launcher with  HOT Launcher

* Remove debug defines

* Tweak thrust

* Fix formatting issues. Added true randomness. Added ACE prefixes. Added string table. Tweaked missile dynamics

* Fix bug where attack profile correction was wrong due to magnitude always being 50. Add stringtable values for relevant strings. Added reload time to Wiesel ATGM. Added "onFired" to initialize values

* Moved wire-snapping logic to attack profile

* Missile flight dynamics tweaked

* Add a crosshair offset. The missile sits in this offset relative to the crosshair

* Add LOS checks. Fix bug where wire-cutting didnt work.

* Tweak explosive range for a kill radius of ~20m. Add fragmentation

* Add AI Flags

* Person in control of missile may not be the shooter

* Fix RPT spam on missile out of LOS. Tweak missile dynamics. Add wire break sound cue

* Fix bug where missile didn't go to a fake target in front of it when out of LOS

* Use a better, more generic way to calculate direction camera is facing

* Use ACE Macros for frag values. Get config entry with CBA

* Add Wiki entry

* Add new lines to wiki. Allow for SQF expressions in config for maxCorrectableDistance

* Add CPP code tag

* Fix wiki grammer error

* Re-convert back to CBA_fnc_getConfigEntry

* UAV Gunner support, cleanup

* Fix bug where SACLOS for launcher guided weapons was off

* Add the ability to define how far ahead of the missile the attack profile will seek toward
2018-12-06 20:27:30 -06:00
PabstMirror
69a3ae823a
Wiki - Update feature list for AH9 (#6691)
Close #5299
2018-11-18 10:48:12 -06:00
Jo David
58c0c3fd02
Consitently capitalize first letters of wiki titles (#6615)
* Consitently capitalize first letters of wiki titles

* fix title case, add framework to the atragmx page
2018-10-05 15:20:50 +02:00
PabstMirror
2767fddd92
Update goggles.md (#6479) 2018-07-29 13:53:16 -05:00
markooff
8e71d51956
Update vector.md 2018-07-04 20:23:31 +02:00
markooff
ea4533fc7f
Update vector.md 2018-07-03 17:26:36 +02:00
BaerMitUmlaut
9acce30dd3
Fix doc for aneaerobic pathway (#6379) 2018-05-30 15:25:58 +02:00
Josuan Albin
704dd66d38 Ace arsenal doc improvement (#6251)
* Add a part of the stats documentation

* Finish documenting stats

It's barebone but it'll do.

* Add EH list to ace arsenal framework doc

* Remove I form in framework doc, capitalize default loadouts

* Add section about importing BI VA loadouts
2018-04-19 14:03:53 -05:00
Josuan Albin
d4825f920f Add note in options menu doc (#6167)
It's deprecated, better indicate it.
2018-02-25 20:19:16 +01:00
Laid3acK
94d58f7552 Wiki AtragMX updated with CBA Settings System (#5974)
* Update atragmx.md

* Update advanced-ballistics.md

* Update scopes.md

* Update scopes.md

* Add files via upload

* Delete scope_module.jpg

* Delete ab_module.jpg

* Delete atragmx3.png

* Delete atragmx3a.png

* Delete scope_module.jpg

* Delete atragmx4.png

* simplified_ zeroing

* Add files via upload

* minor_fix

* Update atragmx.md
2017-12-31 13:13:30 -06:00
Josuan Albin
06db96663f Add Arsenal feature doc (#5937)
* Add first draft of the arsenal feature page

* Fill out the loadout section, add doc for new shortcuts

* Add features part of the documentation

* Fix minor typos

* Fix typos, remove inline code highlighting for words
2017-12-21 15:25:22 +01:00
Tittoffer
82913af107 Rewrite night vision documentation (#5715)
* First draft rewrite nightvision doc.

* Minor phrasing fixes.
2017-12-20 14:21:55 -06:00
ulteq
42cb8cab97 Documentation - Weather module update (#5748)
* First draft

* Shorter Framework description
2017-12-20 14:20:20 -06:00
Tittoffer
0f3639979b Moveable Map Markers Documentation (#5691)
* Updated markers.md to include moveable map markers.

* Added documentation for map-gestures and moveable map markers.

* Minor phrasing fixes.

* Minor phrasing fixes.
2017-10-29 00:53:37 -05:00
Tittoffer
4a1653c292 Pylons documentation (#5690)
* First draft for pylons documentation.

* First draft for pylons documentation.

* Minor phrasing changes.

* Fix link to Rearm page
2017-10-28 18:18:46 +02:00
Dystopian
1936343428 Fix refuel documentation (#5547)
* Update refuel.md

* Update refuel-framework.md

* Fix refuel-framework.md

* Fix refuel.md

* Add version note

* Fix version note

* Fix hooks
2017-10-24 15:39:32 +02:00
SilentSpike
51a61653f4 Update spectator docs (#5362)
* Add player initilization safety to setSpectator

Public function which should wait for player unit to exist before running.
With this change an additional variable is now set on the player unit which
can be used to check whether players are spectators or not (part of
grander plans).

* Add UI initalization safety to setSpectator

Should make it so that calling the public function before the main display
has initalized will correctly wait until it has before starting spectator

* Overhaul spectator

Initial WIP overhaul of spectator component. Based on BI's End Game
Spectator and AACO's work on POTATO spectate. The essential functionality
is in place, but some things are broken and some are still to be
transferred.

* Remove redundant canInteract condition

Spectator UI will be open anyway so this is pointless.

* Fix follow camera controls

Also ensure unit camera modes have a target more consistently

* Fix widget weapon icon for unarmed

* Fix follow camera zooming

* Fix entity list not updating correctly

* Remove redundant conditions

* Fix list click behaviour

* Remove a bunch of old debug

* Alter behaviour of camera speed

* Restructure the spectator addon

* Fix camera tracking behaviour

* Fix very fast camera toggle

* Fix initial camera mode

* Fix double click behaviour

* Make AI name display consistent

* Add UI toggle

* Fix current camera mode button highlighting

* Fix focus info widget when clicked on in 3D world

* Improve key handling

Use of `inputAction` could result in weirdness when multiple keys pressed
at the same time. Hardcoded for now.

* Implement dynamic help UI element

* Remove some redundant code

* Fix follow camera jitter

* Add projectile drawing

Technically the capability to draw projectiles has been in since the
start. However it took me a bit of time to figure out how best to
add/remove the required event handlers.

I decided to add them during the process of finding things to draw, since
I'm iterating over the list of spectatable entities here anyway. With an
additional GVAR containing up to date entities, the fired EHs can remove
themselves when applicable. This avoids any granularity issues with adding
EHs en masse.

* Improve naming convention related to drawing

* Remove outdated unit and side settings

Also re-add unit whitelisting/blacklisting support

* Rename public function for consistency

Adds a deprecated warning to the old function name.

* Update stringtable

Some entries are replaced with BI translations, others are no longer
needed. I pieced together one of the camera mode settings by combining the
BI translations of the individual versions.

* Add location public functions and list population

Just need to take care of drawing and then camera interaction now

* Add location 2D and 3D drawing

* Respect whitelist and blacklist correctly

* Add location camera focus capability

* Fix local helicopters follow mode bug

* Add compatibility with `counter` template

Simply repositions the counter UI to the top of the screen out of the way

* Update respawn template

This template is only compatible with respawn types 2 & 3

* Rename compatibility function

* Add compatibility for respawn types 1,4 and 5

* Update setCameraAttributes function

* Fix draw3D for respawn types 1,4 and 5

* Fix screeching seagulls #4265

* Fix script command typo

* SQF Linter Pass

* Add obsolete warning for public func params

* Deprecate interrupt function

* Fix incorrect function call

* Make playable virtual spectator work

* Improve focus handling in public function

- User might want to reset focus for free cam, in which case objNull
  cannot be reserved for random
- Focus is still required for unit camera
- Update some function headers

* Note explicitly the use of `player`

* Remove unused base classes

* Improve seagull culling

* Add projectile drawing to vehicles

* Fix same tab selection clearing list

* Make projectile lines last 1 frame longer

* Add true zeus compatibility

- Re-opens spectator when zeus closes
- Transfers the curator module over in the respawn template
- Only handle uiForced in setSpectator to avoid issues with esc key
- Add safety to setFocus so that it only updates the UI when applicable

* Fix player moving in FPP

* Fix zeus transfer and re-opening

* Consolidate icon definitions

* Fix AI setting for player groups

* Improve handling of alive spectators

Instead of disabling simulation, just stage them automatically if alive.

* Fix respawn template for types 2 & 3

* Fix pre-set camera mode with no focus

- Improve handling of UI updates in camera related functions
- More explicit UI initalisation
- Find a focus if one wasn't pre-set for a camera mode which requires a
  focus

* Localise key names

* Fix camera mode and vision settings on init

When spectator starts the available camera modes and vision modes should
be consulted to ensure they are respected upon opening.

* Fix key localisation

* Add next/prev entity keys

* Fix vision modes update while camera active

- Updates the camera vision mode in case the current was removed

* Add public getCameraAttributes function

* Fix spectator zeus compatibility

- Camera control wasn't returned on exit due to change in fnc_ui

* Improve vision mode handling

- Curator now resets vision mode on entry
- First person also reset vision mode so that it is consistent between
  camera changes

* Improve location handling

- It makes more sense to specifiy the position ATL since the text is going
  to be rendered there and a z of 0 is then ground height.
- Updates the ui immediately if the list is already on locations

* Disable list keyboard search

* Fix handling of forced camera mode with no focus

* Fix handling of free mode removal while no target

* Fix locations respecting available modes

* Fix list entry removal code

- Replace getTargetGroups with getTargetEntities for consolidated
  filtering.
- Fix the step of the removal loops and make them go to index 0 instead of
  1

* Improve side handling of unit list

- Accounts for possibly of whitelisted random objects that belong to other
  sides
- Move the index decrement to loop, not within every loop

* Add linter ignore directive

* Fix list code

* Improve entity fetching

- Change whitelist/blacklist application to optimize the code

* Include dead units in the list

- Allow getTargetEntities to return dead units too
- Iterate over allGroups in list updates to reduce overhead

* Take care of TODOs

* Mark stageSpectator as non-public

* Fix updating list focus

* Adjust default camera speed

* Include the function file

* Generalise camera button UI

- Makes it easier to extend with future camera mode buttons
- Removes potential error when display doesn't exist

* Remove obsolete staged event

- Add vision toggle to help
- Restructure some function PREP

* Add public function to return all spectators

* Change default briefing name used on map display

* Fix the order of 4 main sides in list

* Restore non-toggle behaviour of camera speed

* Fix UI gap between list and tabs

* Force update UI list when player is staged

Hopefully this fixes any issues related to the player appearing in the
list

* Update controls strings

* Fix entity tooltips showing short name

- Also revert changes to common function and just handle in this component

* Include dead in unit switching

* Show rank and vehicle icon in list

- Rank is shown in tooltip
- Vehicle icon is used to see which units in the list are mounted

* Change default vehicle icon

* Show whether medic/engineer in tooltip

* Improve list double click behaviour

* Improve group icon handling

* Use dynamic group icons for drawing

* Fix EFUNC call

* Update all function headers

* All the changes I had staged before arma broke git

Arma managed to crash my whole system again, breaking my git repo and I
resorted to nuking it and pasting the changes I had comitted locally back
in. From memory:

- Fix icon paths
- use distanceSqr for minor speed boost
- Add setting to show map locations in the UI
- Limit location rendering based on distance
- Probably some other crap

* Fix squared comparisons

* Remove unnecessary variable publicity

* Deprecate fnc_stageSpectator

The function was a source of confusion alongside fnc_setSpectator and so
it is replaced by an additional parameter to hide the unit as part of
fnc_setSpectator. No longer is the unit moved either, to reduce complexity
and give more control to mission maker.

* Fix undefined variable

* Update spectator framework doc

* Update spectator feature doc

* Fix typos and grammar

* Revent version introduced number

* Update with new changes
2017-10-17 20:19:10 +02:00
BaerMitUmlaut
280aa3a3e5 Remove dead link in AF docs 2017-10-13 14:38:03 +02:00
Dystopian
559a498e6d Add fast mouse actions to refuel, add refuel eden attributes (#5418)
* Add fast mouse actions to refuel

* nobody seen that

* Add interaction condition and refuel on ladder

* Add car hit, fix change weapon on uncon

* Replace objNull with nil in setVar, unify var names

* Delete *ConnectNozzle functions

* Delete reset* functions

* Add public function and eden attributes

* Remove static actions from RHS compat

* Remove statusEffect_set on respawn

* Fix dual menu, add deprecating message

* Optimize fnc_takeNozzle

* Cleanup
2017-09-10 14:43:03 -05:00
Jeff Zellen
dec1f5d8b5 Corrected kbd tag open on 2.4 (#5445)
Minor fix correcting the kbd open html tag.
2017-08-21 12:15:38 -05:00
Laid3acK
7a3d15d37c Minor update Wiki AtragMx (#5322)
* update wiki atragmx

* Add files via upload
2017-07-08 10:10:40 -05:00
Laid3acK
199eb849fc fix video link (#5276) 2017-06-13 08:09:26 -05:00
Phyma
48b9a61497 Fix Large IED defuse distance (#5261)
* Fix for large-ied bug because underwater thing have changed

* Added size of IED in config and determine defuse range

* Added typo

* Added help text to wiki about defusing

* Better English

* Increased the defusal range on large bombs make it similar to small ieds

* Add wiki doc
2017-06-09 12:52:55 -05:00
PabstMirror
9c3cca3c56 Add repair feature to wiki (#5247)
* Add repair feature to wiki

* Add blank lines, use adv engineer

* Add repair framework page
2017-06-09 09:11:00 -05:00
Laid3acK
6facb9008b Update kestrel4500.md (#5228) 2017-06-09 15:23:30 +02:00
PabstMirror
f35f80ee82 Rearm - Pylon Support and Dynamically Add Supply Actions (#5183)
* Dynamic Add

* Support 1.70 Pylon Loadouts

* Properly handle old compat pbos - Update RHS Compat

* Re-add documentation

* cleanup headers (note from other pr)

* Cleanup

* Fix var spelling
2017-06-08 11:47:52 -05:00
PabstMirror
3898202091 Hellfire missiles (#4679)
* Hellfire

* Cleanup dev macros

* Cleanup some debug

* Add base interaction node for firemode actions

* Handle bad data in attack profile variable

* Skip ammo checks (returns bad data on added weaps)

* Add mags sizes for apache

* Add Hellfire Wiki Doc

* Cleanup doc

* Add pylon support

* Add support for pilot controlled weapons

* Add label to pylon mags

* Cleanup vehicle configs, autoAdd laser des, fix ineractions for driver
2017-06-02 16:51:38 -05:00
PabstMirror
49374feb2a NLAW - Predicted Line Of Sight Guidance and Overfly Attack Mode (#4791)
* NLAW Prototype

* Make AI Compatible

* Add Overfly Top Attack Mode

* Limit Max Deflection

* Base prediction on AI skill

* Generic cycle attack profile key for missile guidance

* Add hint for weapons without huds

* Configure for attack cycle key

* Finish OTA ammo effects

* Cleanup

* Arm at 20m

* Disable Debug

* No models for short lived sub-ammos

* Fix Korean strings

* Change AI randomization to use skillFinal

* Add wiki doc for nlaw

* Cleanup

* Cleanup

* Cleanup
2017-06-02 16:51:20 -05:00
PabstMirror
afe862324e Refuel - Add setting for hose length (#5224) 2017-05-31 11:30:48 -05:00
Laid3acK
de38a5fca7 Wiki AtragMx minor changes (#5111)
* fix markdown syntax

* Update atragmx.md
2017-05-10 19:27:41 +02:00
PabstMirror
0a7033a186 Remove CfgAiSkill config changes (#5091)
* Remove CfgAiSkill config changes

* Add note to wiki about removal
2017-04-22 11:18:56 -05:00
Glowbal
06820c6b69 Fix broken url on modules wiki page (#5088) 2017-04-17 12:19:06 +02:00
Jo David
8dfb7928c0 Merge pull request #5031 from Laid3acK/wiki_atragmx
Wiki AtragMx updated_3
2017-04-10 11:47:07 +02:00
Laid3acK
ee53c9e69d fix link atragmx.md 2017-03-30 13:58:17 +02:00
Laid3acK
9b4377a547 Update atragmx.md 2017-03-29 21:34:34 +02:00
Jo David
a13a685258 Update vector.md 2017-03-29 13:57:53 +02:00
Marco Kaulea
6c4d6c88d9 Add blank line after heading 2017-03-29 13:43:22 +02:00
Marco Kaulea
105ac01b56 Update documentation for Vector21
Add explanation on how to switch range and azimuth units
2017-03-29 00:30:18 +02:00
Laid3acK
0da039758e Wiki scope updated_1 (#5037)
* Update scopes.md

* Update scopes.md

* Update scopes.md

* Add files via upload

* Update scopes.md

* fix links and `alt` texts

* Delete scope_module.jpg

* Add files via upload

* Update scopes.md
2017-03-26 10:30:52 -05:00
Laid3acK
3291059621 Wiki scope updated (#5028)
* Update scopes.md

* Update scopes.md

* Update scopes.md

* Add files via upload

* Update scopes.md

* fix links and `alt` texts
2017-03-25 10:49:46 -05:00
Laid3acK
10168e9e90 Wiki Kestrel 4500 updated (#5027)
* Update kestrel4500.md

* Update kestrel4500.md

* Update kestrel4500.md

* Update kestrel4500.md

* Update kestrel4500.md

* Update kestrel4500.md

* Update kestrel4500.md

* fix links and `alt` texts
2017-03-25 10:49:14 -05:00
Laid3acK
24fd37c9a6 Wiki Advanced Ballistics updated (#5030)
* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Update advanced-ballistics.md

* Add files via upload

* Update advanced-ballistics.md

* fix links and `alt` texts
2017-03-25 10:48:35 -05:00
Laid3acK
b5030d90b7 Wiki range card updated (#5029)
* Update rangecard.md

* Update rangecard.md

* Update rangecard.md

* Add files via upload

* Update rangecard.md

* fix links and `alt` texts
2017-03-25 10:47:11 -05:00
Laid3acK
a58a39f35a fix links and alt texts 2017-03-25 12:44:38 +01:00
Laid3acK
04926173db Update atragmx.md 2017-03-25 09:09:35 +01:00
Laid3acK
462a11d92a Update atragmx.md 2017-03-24 14:09:43 +01:00
J3aLeiNe
203a279696 Update atragmx.md 2017-03-23 14:42:45 +01:00
J3aLeiNe
c625dcda26 Update atragmx.md 2017-03-22 11:23:43 +01:00
J3aLeiNe
86e806a04f Update atragmx.md 2017-03-21 18:09:49 +01:00
J3aLeiNe
e2cbb81777 Update atragmx.md 2017-03-21 14:49:21 +01:00