Commit Graph

10187 Commits

Author SHA1 Message Date
classic
504d54461e Update Japanese translations (#5831)
* Update Japanese translation for captives

* Update Jpn translation for common

* Update Jpn translation for cookoff

* Update Jpn translation for finger

* Update Jpn translation for googles

* Update Jpn translation for hitreactions

* Update Jpn translation for interaction

* Update Jpn translation for magazinerepack

* Update Jpn translation for mk6mortar

* Update Jpn translation for noradio

* Update Jpn translation for overheating

* Update Jpn translation for pylons

* Update Jpn translation for rearm

* Update Jpn translation for respawn

* Update Jpn translation for scopes

* Update Jpn translation for spectator

* Update Jpn translation for switchunits

* Update Jpn translation for vehiclelock

* Update Jpn translation for weaponselect

* Update Jpn translation for weather

* Update Jpn translation for zeus

* Update Jpn translation for reloadlaunchers

* fix the tag
2017-11-30 16:52:27 -06:00
SilentSpike
1f987c0f3d Prevent virtual spectators falling into water (#5832)
Fix #5775
2017-11-30 16:51:34 -06:00
PabstMirror
d357395b4b
Minor fixes for 1.78 RC (#5825) 2017-11-30 10:29:35 -06:00
PabstMirror
ef8825bb21
Fix ab module strings (#5829) 2017-11-29 14:07:44 -06:00
Dystopian
fc8a70872f Lock object while loading to cargo + disable disassembling (#5624) 2017-11-29 14:07:30 -06:00
Dystopian
64384280d0 Fix repair sound (#5706)
* Fix repair sound

* tabs
2017-11-29 13:36:48 -06:00
ulteq
2163e712e5 Ballistics - Dispersion overhaul (#5819)
* Ballistics - Dispersion overhaul
* Updated rifle dispersion according to the data from @dagger

* Updated AUTHORS.txt
2017-11-29 13:18:52 -06:00
PabstMirror
5f062caaea
fix medical enableAdvancedWounds setting (#5826) 2017-11-29 12:19:26 -06:00
ulteq
09c3187c21
Scopes - Adds simplified zeroing subsystem (#5787)
* Client side setting to choose the preferred zeroing method
* Replicates the behaviour of the vanilla zeroing system
2017-11-29 11:38:19 +01:00
Dystopian
eab909e60e Unify settings and keybinds categories (#5815) 2017-11-28 13:32:51 -06:00
commy2
6bf525e6ac fix some Russian grammar (#5817)
* fix some Russian grammar

* fix Russian translations
2017-11-28 13:29:38 -06:00
shukari
87e998650a [MicroDAGR] get the meters for mortars (better rangetable calcs) (#5802)
* get the 10m for mortars

* get the exact meter

* use toFixed

* that evil )

* thx travis
2017-11-28 13:28:42 -06:00
PabstMirror
b2ceeb9936
Captives - Fix handcuff keybind distance check (#5823) 2017-11-26 22:43:45 -06:00
ulteq
ed772ebeb7
Advanced Ballistics - Typo: 'log' -> 'ln' (#5818)
We need to use the natural logarithm here.
2017-11-25 17:45:09 +01:00
Dystopian
d0f256699e Get compile cache back (#5820) 2017-11-25 14:42:04 +01:00
ulteq
af1f36c14a Advanced Ballistics - Muzzle velocity variation
* Simulates slight variations in muzzle velocity between each shot
2017-11-23 14:36:36 +01:00
ulteq
ed872d567c
Advanced Ballistics - Optimized abort conditions (#5811) 2017-11-23 13:44:47 +01:00
ulteq
5ee1df424d
Minor performance tweaks (#5796)
* Medical_ai - Optimize 'fnc_isInjured'
* Laserpointer - Optimize 'fnc_onDraw'
* Overheating - Skip ground detection if possible
* Overheating - Replace function call with inline code
* Overheating - Nest 'firedEH' abort conditions
* Overheating - Remove duplicate code / Skip function call if possible
* Overheating - Cache energy increment
2017-11-23 11:13:58 +01:00
ulteq
f0036847bc
Merge pull request #5791 from acemod/ballistics-initSpeed-revamp
Ballistics - Regenerated vanilla 'initSpeed' config entries
2017-11-23 11:11:35 +01:00
ulteq
df2a7d3853 Tools - Added automated magazine- and weapon class 'initSpeed' calculator 2017-11-23 10:55:47 +01:00
ulteq
8bc77a7b88
Advanced Ballistics - Minor performance tweaks (#5790)
* Advanced Ballistics - Utilize 'linearConversion'

* Advanced Ballistics - Limit config value boundaries
2017-11-22 23:16:17 +01:00
ulteq
7e397b4596
Advanced Ballistics - Removed unused code (#5806) 2017-11-22 23:14:35 +01:00
ulteq
b99a10ad63
Merge pull request #5804 from acemod/scopes-iron-sight-fix
Scopes - Fixed iron sight zeroing
2017-11-22 11:28:28 +01:00
ulteq
c3e1fe31f8
Scopes - Fixed major typo affecting trajectory synchronization (#5805) 2017-11-22 09:59:01 +01:00
ulteq
ce825ce8d3 Scopes - Add 'DISABLE_DISPERSION' helper flag
* Allows you to disable vanilla dispersion for testing purposes by defining 'DISABLE_DISPERSION'
2017-11-21 23:57:12 +01:00
ulteq
91425f8576 Scopes - Added new config entry to fix the iron sight zeroing 2017-11-21 23:57:07 +01:00
PabstMirror
a3160d0d31 Movement - Fix climbing when over water 2017-11-20 19:00:21 -06:00
ulteq
734c68d723 Ballistics - Regenerated vanilla 'initSpeed' config entries
* Updated all vanilla 'initSpeed' config values to match our Advanced Ballistics muzzle velocities (ammo temperature simulation: off)
2017-11-19 15:10:16 +01:00
ulteq
9cad5873d0
Scopes - Adds 'Reset zero' interaction (advanced ballistics only) (#5789)
* Allows you to reset any zero adjustment on your current scope
2017-11-18 13:59:42 +01:00
Dystopian
a0e9b752e9 Add ability to pull dead body out of vehicle (#5630)
* Add ability to pull dead body out of vehicle

* Fix interaction not in vehicle

* Fix interaction with crew of dead vehicle

* Fix medical unload patient when he is dead

* Cleanup

* Fix cargo index, fix menu visible in vehicle
2017-11-17 16:47:58 -06:00
PabstMirror
0672b0da35
Setting Cleanup - Make NoRadio global (#5782) 2017-11-17 16:41:03 -06:00
ulteq
a270ca8a99
Advanced Ballistics - Better diagnostic tools (#5776)
* Makes it easier to detect errors in 3rd party weapon compats
2017-11-17 20:00:57 +01:00
ulteq
aab09584b7
Scopes - Persistent zero adjustments (#5753)
* Makes manual zero adjustments (advanced ballistics only) for each weapon & scope combination persistent across game restarts / mission restarts / weapon or scope changes.
2017-11-17 19:08:03 +01:00
God of Monkeys
257bde4eef Update Chinese stringtable (#5786) 2017-11-17 10:18:54 -06:00
PabstMirror
53bd784380 Remove refuel capability from IDAB water truck (#5783) 2017-11-17 14:48:56 +01:00
nomisum
3f1b755e61 add global event to wirecut start (#5741)
Wirecutter - Add global event when cutting fences
2017-11-16 23:43:49 -06:00
Andrea Verano
4d24840181 Italian Translation Update (#5779)
Added new strings in:
-captives
-common
-cookoff
-finger
-goggles
-hitreactions
-interaction
-magazinerepack
-mk6mortar
-noradio
-overheating
-rearm
-respawn
-scopes
-spectator
-switchunits
-vehiclelock
-weather
-zeus

Fixed some strings in:
-goggles
-magazinerepack
-nightvision
-sandbag
-switchunits
-trenches
-vehiclelock
-weather
2017-11-16 23:35:49 -06:00
PabstMirror
9c7511df0b
Remove missileGuidance setting (#5778) 2017-11-15 15:19:07 -06:00
ulteq
66069519fc
Rearm - Fixed typo in stringtable (#5777) 2017-11-15 20:20:43 +01:00
ulteq
9d383d5add
Settings - Added more categories (#5771) 2017-11-15 20:10:20 +01:00
ulteq
9b6f1879f6 Weather - More natural temperature and humidity randomization (#5754) 2017-11-14 14:43:29 +01:00
ulteq
64c9c7d522 Yardage 450 - Minor performance tweak (#5767)
* Utilize 'params' / 'selectMin' / 'selectMax'
2017-11-14 14:41:36 +01:00
ulteq
827718f748 Magazine Repack - Categorizaton and stringtable overhaul (#5770) 2017-11-14 14:41:14 +01:00
PabstMirror
005c64d174 Map - Allow the pistol flashlight to do illumination (#5766)
Close #5757
2017-11-14 14:40:24 +01:00
Josuan Albin
765d36b4bc Add / Fix missing author entries (#5763)
* Add missing author strings

* Fix dagr author entry
2017-11-13 16:54:34 -06:00
ulteq
3729f377ad
Sort more settings into categories (#5760) 2017-11-13 18:50:24 +01:00
ulteq
31aa478f28
Settings - Utilize 'sliderSettings' (#5756) 2017-11-13 18:50:08 +01:00
ulteq
0a0c43eff0 Rangecard - Fix author string (#5759) 2017-11-13 17:18:08 +01:00
PabstMirror
d1f6b0a9d8 Add support for custom slider settings using ace_settings config (#5750) 2017-11-13 10:27:09 +01:00
ulteq
39c56447d9
Scopes - Hide 'up' direction lettering (#5751)
* Improves readability
2017-11-13 00:37:03 +01:00
PabstMirror
2d3dc6ca99
Restore some modules set to scope = 1 (#5749)
* Restore some modules set to scope = 1

* hide the fries again

* Restore stringtable entries
2017-11-12 12:19:25 -06:00
PabstMirror
f9b89cd07a
Cleanup options menu (#5746) 2017-11-12 11:34:23 -06:00
PabstMirror
3c8d5d6052
Add CBA setting for noRadio (#5571)
* Add ace_setting for noRadio

* Delay adding server EH

* make noradio a cba setting
2017-11-12 11:34:10 -06:00
ulteq
fbaa071a4e
Merge pull request #5747 from acemod/scopes-zeroing-fix
Scopes - Improved zero angle calculation
2017-11-12 14:16:34 +01:00
ulteq
224e2cb777 Scopes - Take rail base angle into account
* Removes fixed angular offsets from the zero angle calculation
2017-11-12 12:21:06 +01:00
ulteq
6b68ff426f Scopes - Fixed zero angle prediction
* Corrects the prediction of the (hair-raising!) zero angle calculation in the vanilla-game
2017-11-12 12:21:03 +01:00
ulteq
afbc8bfb82 Revert "Scopes - Fixes zero on three vanilla weapons (#5696)"
This reverts commit 4c2348cff5.
2017-11-12 11:45:38 +01:00
Dystopian
95434c521b Fix misprint in maptools (#4957) 2017-11-11 23:39:37 -06:00
PabstMirror
93e69adcb5 Wirecutter - Fix net_fence_8m_f on malden (#5744) 2017-11-12 02:15:24 +01:00
ulteq
d4c4e68e42
Overheating - Minor performance tweaks (#5739)
* Don't try to cool down an already cooled barrel
* Don't run the projectile direction update routine if we know that the max. possible deflection is < 0.05 mrad
2017-11-11 20:45:13 +01:00
ulteq
9e11e39eb0
ATragMX - Utilize 'linearConversion' (#5743)
* Improved muzzle velocity table lookup speed
* Improved drag coefficient table lookup speed
2017-11-11 20:44:23 +01:00
PabstMirror
662089a61b QuickMount - Use correct cargo index (#5733) 2017-11-11 20:31:28 +01:00
PabstMirror
cd30b09b4f Convert ACE_settings to CBA_settings (#4895)
* Convert ACE_settings to CBA_settings

* Run Modules Globaly, BWC for SetSetting

* Add support for string settings

* ACE_ServerSettings warning

* Add handler for global setting being changed

* Add deprecated and replaced not to Settings Framework doc

* Remove options menu UI, Move Debug and HeadBug Fix to Options in Pause Menu

* Change modules scope to 1

* Disable debug
2017-11-11 20:21:55 +01:00
ulteq
9ea1f6839f
Scopes - Fixed bugs in the zero angle calculation (#5742)
* Fixed typo in the module setting parsing (reference temperature was way off)
* Fixed bug in the zero angle calculator (muzzle velocity was off in most cases)
2017-11-11 14:15:59 +01:00
ulteq
9d69961d5f
Merge pull request #5698 from acemod/ab-trajectory-refinement
Advanced Ballistics - Trajectory refinement
2017-11-10 17:29:32 +01:00
ulteq
dcc934202b
Weather - Major Cleanup (#5710)
* Single global on/off switch (that really turns everything off properly)
* Less coupling between code that runs on the client / server
* Simpler update routines
* More cohesive code
* Less module options
* Less network traffic
2017-11-10 15:44:15 +01:00
PabstMirror
70c25aacaf cargo - use getInteractionDistance to get better distance (#5697) 2017-11-10 15:28:12 +01:00
ulteq
fecc77e225 Advanced Ballistics - Improved random seed generator 2017-11-08 15:26:43 +01:00
ulteq
fb0a60b018 Gravity correction
* ArmA is using 9.8066
2017-11-08 15:26:39 +01:00
ulteq
28706c4dab
Scopes - UI improvement (#5702)
* Displays U, D, L, R behind the MIL turret adjustment number
* Allows clients to select their preferred UI type
* Improves the text alignment
2017-11-08 14:04:09 +01:00
Dedmen Miller
bacb7d069b Don't recompile XEH EH's before every call (#5728)
* Fix medical respawn/init

* Medical use CBA addClassEH

* Movement inventoryDisplayLoad

* Medical handleRespawn header typo

* Parachute handleRespawn

* Rearm and parachute handleRespawn

* concertina_wire handleInit

* Fix header

* use XEH function instead of config

* use XEH function instead of config

* remove unneeded init eh
2017-11-07 15:21:58 -06:00
sbng-PAPA
a3e9879cec korean translation (#5730)
Misfit taxt Modified, translate for 3.11
2017-11-06 15:54:35 -06:00
ulteq
e1213483e6 Remove duplicate macro definitions 2017-11-06 18:33:08 +01:00
ulteq
008602590c Fixes bugs in newly added macro based MRAD/MOA conversion
* Fixes: 5729
2017-11-06 17:24:21 +01:00
commy2
568ef50c02 simplify some code (#5727) 2017-11-04 11:05:33 -05:00
PabstMirror
c20ec6599d
Spectator - Fix script error in ui_draw3d (#5722) 2017-11-04 11:03:51 -05:00
ulteq
96d978615e
Merge pull request #5726 from acemod/atragmx-c1-vs-distance-interpolation
ATragMX - Added 'C1 vs. Distance interpolation' data
2017-11-03 22:33:14 +01:00
ulteq
ef0c2788d3
Merge pull request #5695 from acemod/ab-vanilla-drag-removal-fix
Advanced Ballistics - Fixes bug in the vanilla drag removal routine
2017-11-03 22:24:52 +01:00
ulteq
0bae4511e4
ATragMX - Fixed UI (C1 vs. Distance interpolation) (#5720)
* The C1 coefficient needs to be updated automatically whenever the target range changes
2017-11-03 22:01:02 +01:00
ulteq
30fedc9ece ATragMX - Utilize 'C1 vs. Distance' data in the range card output 2017-11-03 21:59:47 +01:00
ulteq
d3dbb77510 ATragMX - Added C1 vs. Distance interpolation data
* Significant accuracy improvement for some bullets
2017-11-03 21:59:42 +01:00
Andrea Verano
50b569f62c Italian Translation Update (#5719)
Added:
-New string in "pylons"
-New string in "weaponselect"
2017-11-01 15:59:38 -05:00
PabstMirror
ba97bb20fe
Tagging - For lastUsed use random if not used yet (#5687) 2017-10-31 12:13:55 -05:00
ulteq
25344deb80
Ballistics - 7.62x54R muzzle velocity correction (#5711)
* Closes: https://github.com/acemod/ACE3/pull/5470
* Reference: https://github.com/acemod/ACE3/files/1272583/mousin.barrel.experiment.pdf
2017-10-31 10:58:12 +01:00
ulteq
4bfc956e1a Advanced Ballistics - Fixes bug in the vanilla drag removal routine
* More accurate bullet drop at extreme long ranges
* Fixes Client FPS affecting the trajectory
2017-10-30 10:07:37 +01:00
Dystopian
32e3b643a7 Fix 5.56 Reload Tracer mags are not tracer (#5660) 2017-10-29 16:41:26 +01:00
ulteq
461c2649a5
RangeCard - Increased level of accuracy (#5703)
* Accounts for the accuracy improvements of the Advanced Ballistics module
* Reduces the expected error at max range down to 0.1 Mil
2017-10-28 23:52:35 +02:00
ulteq
fd9c28ba48
Merge pull request #5701 from acemod/ballistics-dispersion-cleanup
Ballistics - Dispersion Cleanup
2017-10-28 21:48:42 +02:00
ulteq
cd3f2f03a1
ATragMX | Scopes - Fixed typo (#5700) 2017-10-28 21:42:03 +02:00
ulteq
916d5ee6c0 Ballistics - Added comments with actual the weapon names 2017-10-28 20:26:59 +02:00
ulteq
9d6b772661 Ballistics - Automatic MOA -> RAD conversion 2017-10-28 20:05:51 +02:00
Cuel
c815a9cae8 (spectator) unhide/unmute unit on exiting (#5699)
* unhide/unmute unit on exiting

* Update fnc_setSpectator.sqf
2017-10-28 11:23:18 -05:00
ulteq
4c2348cff5
Scopes - Fixes zero on three vanilla weapons (#5696)
* Manually fix rail heights where the automated gathering failed
* Affects: Noreen "Bad News" ULR, Vector SMG and ASP-1 Kir
2017-10-27 22:53:15 +02:00
ulteq
cda060d3e0 Weather - Properly sync overcast value (#5688)
* Makes sure that all clients share the same (numeric) overcast value
* Only affects the barometric pressure calculation
* Does not affect the actual weather on the clients
2017-10-27 12:39:48 +02:00
Cuel
7acff1848b Set correct state (#5684) 2017-10-27 00:40:06 +02:00
PabstMirror
a24b095b6a Add more sources for pylon (Taru and Huron pods) (#5682)
Close #5677
2017-10-26 12:31:34 -05:00
Tim Beswick
c9f1719f5a Hot Resupply (#5639)
Allow rearm, refuel and pylons to function while vehicle engine is running
2017-10-25 23:13:44 -05:00
Tim Beswick
1a2e2848ad Added collision lights keybind (#5646) 2017-10-25 23:11:35 -05:00
Dedmen Miller
8c1952d15f Fix ACE_ItemCore order (#5675)
* Fix ACE_ItemCore order

* Commy is forcing me
2017-10-25 23:11:13 -05:00
shukari
154d56a0e4 Ability for ace engineer to configure pylons (#5672)
* let ace engineer configure pylons

* fix double usage
2017-10-24 20:49:51 -05:00
PabstMirror
5c4dbdcbda Merge branch 'master' into medical-rewrite
Conflicts:
	addons/medical/ACE_Settings.hpp
	addons/medical/XEH_postInit.sqf
	addons/medical/functions/fnc_adjustPainLevel.sqf
	addons/medical/functions/fnc_copyDeadBody.sqf
	addons/medical/functions/fnc_getTriageStatus.sqf
	addons/medical/functions/fnc_handleBandageOpening.sqf
	addons/medical/functions/fnc_handleCollisionDamage.sqf
	addons/medical/functions/fnc_handleDamage_fractures.sqf
	addons/medical/functions/fnc_handleDamage_woundsOld.sqf
	addons/medical/functions/fnc_init.sqf
	addons/medical/functions/fnc_moduleAssignMedicalFacility.sqf
	addons/medical/functions/fnc_parseConfigForInjuries.sqf
	addons/medical/functions/fnc_setDead.sqf
	addons/medical/functions/fnc_setHitPointDamage.sqf
	addons/medical/functions/fnc_setUnconscious.sqf
	addons/medical/functions/fnc_showBloodEffect.sqf
	addons/medical/functions/fnc_unconsciousPFH.sqf
	addons/medical/stringtable.xml
	addons/medical_ai/functions/fnc_healUnit.sqf
	addons/medical_ai/functions/fnc_isInjured.sqf
	addons/medical_menu/functions/fnc_handleUI_DisplayOptions.sqf
2017-10-24 16:13:12 -05:00
PabstMirror
1cd86efc06 Zeus - Fix moduleLoadIntoCargo (#5669) 2017-10-24 14:11:16 -05:00
PabstMirror
2efe2642ab Remove duplicate weapon srifle_DMR_03_spotter_F (#5492) 2017-10-24 13:28:48 -05:00
Ozan Eğitmen
e769d092af Pylons: Evaluate String Values from config (#5667) 2017-10-24 18:22:02 +02:00
jonpas
5160a4d767 Prepare release 3.11.0 (build 4) 2017-10-24 15:42:18 +02:00
jonpas
c2c1ae538a Merge branch 'master' into release-3.11.0 2017-10-24 15:40:38 +02:00
Ozan Eğitmen
b45a7e2413 Add custom combo box control (#5661) 2017-10-24 15:39:15 +02:00
BaerMitUmlaut
53b8649d85 Fix carrying on water (AGL->ASL) (#5659) 2017-10-24 15:38:47 +02:00
jonpas
58d69a7978 Prepare release 3.11.0 (build 3) 2017-10-23 20:21:01 +02:00
jonpas
84cd5d8749 Merge branch 'master' into release-3.11.0 2017-10-23 20:20:04 +02:00
ulteq
3484942680 Scopes - Fixed MRAD conversion (#5651)
* Same issue as https://github.com/acemod/ACE3/pull/5640
2017-10-22 10:44:00 +02:00
ulteq
0aca46d7aa Scopes - BoreHeight config revamp (#5648)
* Scopes - Added rail heights for all vanilla guns
* Scopes - Improved default rail height
* Scopes - Updated all scope heights
* ATragMX - New default bore heights
* ATragMX - Updated scope base angles
2017-10-22 10:28:20 +02:00
Daniel Jupp
c34b1e1376 Disabled Debug Define (#5645) 2017-10-20 22:46:51 +02:00
jonpas
89495d4dc2 Prepare release 3.11.0 (build 2) 2017-10-20 17:36:30 +02:00
jonpas
81e4740b60 Merge branch 'master' into release-3.11.0 2017-10-20 17:35:01 +02:00
ulteq
61c044e16b Fixed a typo in the airFriction generator script (#5641)
- Slightly improves the vanilla trajectory of the 'ACE_338_Ball' bullet
2017-10-20 17:33:40 +02:00
ulteq
923507d009 ATragMX and RangeCard - Fixed incorrect MRAD conversions (#5640)
- This greatly improves the accuracy of the MRAD output in both modules
- Old and incorrect conversion factor: 3.38 [(360 * 60) / 6400]
- New and correct conversion factor: 3.44 [54 / (5 * PI)]
2017-10-20 17:33:26 +02:00
jonpas
9c78e20670 Merge branch 'master' into release-3.11.0 2017-10-20 17:32:05 +02:00
Andrea Verano
18c2f45b3a Italian Translation Update (#5636)
Added:
-New string in "weather"
2017-10-20 17:27:28 +02:00
God of Monkeys
72e48c04f0 Update Chinese stringtable content (#5637)
Update Chinese stringtable content
2017-10-18 12:01:29 -05:00
PabstMirror
8ea0a42b1b Use BIS translation for Zeus/Players (#5633) 2017-10-18 06:26:08 +02:00
PabstMirror
23023ff8ea Fix server rain PFEH (#5631) 2017-10-17 22:48:02 +02:00
jonpas
e6f4046bf8 Prepare release 3.11.0 2017-10-17 20:27:56 +02:00
jonpas
856ffb5579 Remove rain, lightnings and wind sync (#5622)
* Move ACE Weather rain simulation to server and remove sync (synced correctly by vanilla from server)

* Remove lightnings sync (synced correctly by vanilla, ACE3 doesn't have own lightnings probability)

* Cleanup rain and lightning settings, strings, comments

* Set wind only on server (correctly synced in vanilla, gusts and waves still need manual sync)
2017-10-17 20:19:30 +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
b366be0277 Prevent fastroping teleport serverside (#5629) 2017-10-16 23:20:50 +02:00
Mark Ruffner
7aae91be79 'Fix' race condition where rope is cut as someone mounts the rope (#5569)
* initial fix attempt

* reset animation

* Fix logic

* Not cutting when roping
2017-10-16 23:11:21 +02:00
PabstMirror
9c7b546e24 Fix garrison header and use showMessage (#5628)
* Fix garrison header and use showMessage

* Fix moduleUngarrison
2017-10-16 15:23:39 -05:00
Andrea Verano
c08bea1275 Italian Translation Update (#5627)
* Italian Translation Update

Added:
-Ai
-Pylons
-New entries for Zeus

* Remove empty comment
2017-10-16 20:30:38 +02:00
jonpas
7183a765f5 Add Advanced Throwing torque (rotation) (#5621)
* Add throwable rotation

* torque grenade config

* Cleanup

* Do vectorNormalized on direction only
2017-10-15 20:06:18 +02:00
PabstMirror
6e219b8678 QuickMount - fix locked seats, getIn EH (#5626) 2017-10-15 17:59:34 +02:00
jonpas
d598906205 Fix defused UXOs being able to be defused again and detected by mine detector (#5623) 2017-10-15 13:13:16 +02:00
LordGolias
8d9c17ed88 Made AI medic use epipen on unconscious patients (#5433)
* Made AI medic use epipen on unconscious patients

* Fix epi heal args, use non-local treatment funcs
2017-10-14 20:43:53 +02:00
PabstMirror
65c5e6e38e Add function to add curator actions (#5620) 2017-10-14 12:01:07 -05:00
BaerMitUmlaut
c211cbf82b Added fastrope keybind (#5606)
* Add fastrope keybind

* Add canInteractWith checks

* Fix player -> ACE_player
2017-10-14 11:55:48 -05:00
PabstMirror
750382ff67 Cookoff - Filter bad ammo, use new rearm config (#5618) 2017-10-14 15:12:32 +02:00
PabstMirror
2663bbb786 Fix options menu (#5617) 2017-10-13 23:50:12 +02:00
classic
d1aaf89c81 Update the Jpn translation (#5612)
* Add the Jpn translation for ai

Add the Japanese translation for ai

* Update the Jpn translation for nightbision

just tweaks for name.

* Update the Jpn translation for captives

added missing word

* Add the Jpn translation for pylons

Add the Japanese translation for pylons

* Update the Jpn translation for zeus

added to new entry.
2017-10-12 16:15:56 +02:00
PabstMirror
c8255960d6 Disable checking weapon temp on fakeWeapon (#5600) 2017-10-11 23:36:48 +02:00
BaerMitUmlaut
a95c380dcc Remove legacy medical settings (#5609) 2017-10-11 22:23:12 +02:00
Laid3acK
958471cb0c AB : same values for the both 127x108 bullets (#5588)
* 127x108 apds fix

* fix 127x108 apds initspeed mag
2017-10-11 14:07:13 -05:00
Ozan Eğitmen
1b86063ade Add Pylons Component (#5517)
* Initial commit

* Change order

* ace-ify functions

* Add function headers, tweak onPylonMirror function

* Finish localization

* Fix trivial idc collision

* Styling

* Add self as author

* Add interaction for the dialog

* Add settings to enable menu and change behaviour

* Add strings

* Move changes into pylons component

* Progress

* Only one function left!

* Fix issues with overlapping players, Use LINKFUNC

* Add progress bar

* I need to switch branches

* Remove old pylon weapons from aircraft

* Explicitly set new pylon's ammo to 0

* Replace magic numbers with ID list

* Align controls properly

* Remove space before eol

* Add ability to add/remove FRIES

* 🐛 Whoops

* Fix logic errors

* Value of 1 means helicopter has built-in FRIES

* Add pilot/gunner switch button

Working on those buttons also helped me improve both the static and
on-the-fly (pun intended) parts of the dialog.

* Add quick zeus module

* Add a way to retrieve scripted pylon turrets

Not entirely reliable, but if used in both rearm and pylons, missions
that only use ace will work perfectly.

* Use getNumber default

* Use common's getPylonTurret

* Make dialog close on apply for zeus

* Handle UI Scaling better

* Prevent progressBar from failing in zeus

* Remove unnecessary stringtable key
2017-10-11 14:05:54 -05:00
Joko
3a0fd5cae3 fix the delay timing when a unit switch to Captive (#5338) 2017-10-10 11:30:31 -05:00
Josuan Albin
bb03f55c5c Add garrison zeus modules (#4555)
* Add garrison and un-garrison modules

* Remove unnecessary text from garrison header

* Add french translations to new strings

* Add changes requested by review

* Change pushback to pushBack

* Move garrison funcs to ai, finish headers

* Remove diag log debug

* Fix typos and header issues

* Add missing newlines

* Fix strings, Fix typos and headers

* Enable debug and disable compile cache, Add trace and comments

* Rebase before review

* Fix default case running instead of case 3

* Fix edge case related to players being in garrison group

The player would make the enableAttack checks in ungarrison and garrisonMove fail, this is now fixed.

* Fix some arrays in garrsionMove and garrison

* Relax distance checks in garrisonMove, change AI behaviour while pathing to aware

* Add debug view

* Remove unused var, fix unit pos using the wrong format

* Make debug more visually pleasing

* Change garrison debug target to a waypoint icon

* Change disableAI event to AISection, comment out doFollow in doMove EH

* Fix locality issue
2017-10-10 11:06:37 -05:00
AkiraforARMA
ed1e95106d Priority ERROR units never die possibility (#5526)
* Priority ERROR units never die possibility

Cases when _lifesLeft goes below 0. 
Low or limb damage, then recovered with PAK from unconcious & revivestate.

* Update fnc_setDead.sqf
2017-10-10 11:06:07 -05:00
Dedmen Miller
81e02a7336 Refactor private ARRAY to private keyword (#5598)
* Everything

* Fixed missing ;

* Fix missing ; and double private

* Fixed cannot isNull on number

* Turn _temparture back to isNil

* Fix error from merge
2017-10-10 09:39:59 -05:00
shukari
22c8ef1e8a German stringtable updates (#5539)
* advanced_fatigue stringtable german

* cargo stringtable german

* cookoff stringtable german

* fastroping stringtable german

* hellfire stringtable german

* nlaw stringtable german

* overpressure stringtable german

* quickmount stringtable german

* refuel stringtable german

* repair stringtable german

* scopes stringtable german

* slideshow stringtable german

* spectator stringtable german

* zeus stringtable german

* cookoff stringtable german #2

* hellfire stringtable german #2

* nlaw stringtable german #2

* overpressure stringtable german #2

* quickmount stringtable german#2

* refuel stringtable german #2

* scopes stringtable german #2

* slideshow stringtable german #2

* zeus stringtable german #2

* tiny fix

* tiny fix

* quickmount stringtable german #3

* fastroping stringtable german #2

* captives stringtable german

* cargo stringtable german

* cookoff stringtable german

* tiny change

* cargo stringtable german

* fcs stringtable german

* Fix german strings for scopes
2017-10-07 13:37:59 +02:00
Willard
51b1cd6023 Missile guidance for RHS hellfire and DAGR (#5444)
* rhs hellfire missileguidance

* tabs to spaces

* added support for -N and -M launcher, removed ir/radar locking

* added missing macro

* Switch to using pylon system
2017-10-06 15:31:48 -05:00
ulteq
be482ea097 Advanced Ballistics - Drag model revamp & Spin drift correction (#5566)
* Advanced Ballistics - Drag model revamp
- Moved away from using the drag tables from the GNU exterior ballistics library
- The drag functions are now based off this data from JBM Ballistics: http://www.jbmballistics.com/ballistics/downloads/text/
- The differences are minor, but some players might still appreciate the additional authenticity

* The Mach number is now calculated in relation to the air temperature.

* Improved speed of sound calculation accuracy.

* Advanced Ballistics - DLL update

* Advanced Ballistics - Added drag function reference (JBM Ballistics)

* Advanced Ballistics - Fixed calculation error in the spin drift simulation
- The error was introduced with this PR (https://github.com/acemod/ACE3/pull/4708)

* More descriptive variable names

* Minor performance optimizations

* Fixed some minor issues

* DLL rebuild

* Utilize new 'toFixed' script command
- Small performance improvement

* Fixed a typo

* Use correct reference speed for the drag compensation

* Updated all 'airFriction' values to match the new drag model

* 'Default' atmosphere now equals the ICAO standard atmosphere

* Update reference humidity to meet the ICAO standard
2017-10-06 13:05:20 -05:00
classic
d5aeec11ea Update the Jpn translation (#5586)
* Update the Jpn translation

few tweak to translation

* Update the Jpn translation

couple tweak

* Update the Jpn translation

added more simplify translation

* Update the Jpn translation

few tweak and fix miss translation

* Update the Jpn translation

Added missing symbol and few tweak

* Update the Jpn translation

added shortest word because text is protruding the button

* Update the Jpn translation

fix miss translation and some tweaks

* Update the Jpn translation

just few tweak

* Update the Jpn translation

fix miss translation

* Update the Jpn translation

just a little tweak

* Update the Jpn translation

just a tweak

* Update the Jpn translation

added more simply translation

* Update the Jpn translation

tweaked to some entry

* Update the Jpn translation

tweak to few entry

* Update the Jpn translation

fix for miss translation

* Update the Jpn translation

fix miss translation

* Update the Jpn translation

some tweaks to translation

* Update the Jpn translation

fix miss translation

* fix the Jpn translation

fix the kanji
2017-10-04 16:30:11 +02:00
PabstMirror
760665f65f Leave ACE_FCS off by default (#5580) 2017-10-03 11:57:07 -05:00
PabstMirror
b41cc8651f Fix kestrel ItemInfo for cba misc items (#5583) 2017-10-03 11:54:49 -05:00
PabstMirror
32e73fa1b3 Fix addLoadPatientActions 2017-10-02 22:37:22 -05:00
PabstMirror
af48c6a86c Merge branch 'master' into medical-rewrite
Conflicts:
	addons/medical/ACE_Medical_SelfActions.hpp
	addons/medical/CfgVehicles.hpp
	addons/medical/XEH_PREP.hpp
	addons/medical/functions/fnc_treatment.sqf
	addons/medical/functions/fnc_treatment_failure.sqf
	addons/medical/functions/fnc_treatment_success.sqf
	addons/medical_treatment/functions/fnc_actionLoadUnit.sqf
2017-10-02 22:29:30 -05:00
jonpas
711e1fc026 Fix Underwater interactions (magrepack, loading, refuel, medical legs, dragging) (#5521)
* Fix Magazine Repack underwater - fix #5513
Also prevent common goKneeling function underwater

* Fix loading patients underwater - fix #5515

* Fix load object underwater

* Fix take nozzle on jerry can underwater

* Fix refuel underwater conditions further

* Use isTouchingGround, Make refuel semi-compatible
 reports false if head is out of the water, we want true even if we are not diving

* Less interact exceptions duplication

* Use animationState to determine if unit is swimming, create common function and use it instead of isTouchingGround

* Fix condition

* Support dragging underwater
No carrying due to animation timing issues and other misc things

* Allow Medical Legs SelfActions underwater

* Fix fixPosition function underwater (use getPosATL instead of getPos)

* Fix fixPosition's slope adjustment for non-gravity objects, Do the same for objects without simulation as well
2017-10-01 13:38:11 -05:00
Andrea Verano
03a32b9b13 Italian translation update (#5576)
Added:
-The new string in captives
2017-10-01 10:56:02 -05:00
PabstMirror
5f8350d7bc Minor rearm fixes (#5572) 2017-09-30 11:14:41 -05:00
Ozan Eğitmen
45a66ccfa1 Medical & Captive Load Menu Overhaul (#5519)
* Add load in child actions to medical & captive

* Add actions with proper structure

* Move vehicles actions code to common function

* Simplify code in config, Fix docs

* Remove unused vars

* Fix header example

* Add _distance param to fnc_nearestVehiclesFreeSeat

* Change docs

* Fix spacing
2017-09-29 22:00:47 +02:00
Tuupertunut
0644ad9ca2 Rearm bugfixing (#5411)
* Added workaround functions for turret magazine ammo.

* Switched to retrieving turrets dynamically instead of looking them up from an array.

* Refactoring only, no functional changes

* Repurposed getNeedRearmMagazines as a general purpose rearm info function + more.

* The function retrieves all non-full magazines. This code was previously repeated in many different functions, but is now centralized in one.
* Empty pylon filling is no longer supported in favor of the upcoming "pylons" ACE-module.

Fixed bugs:

* Rearm was using broken commands "magazineTurretAmmo" and "setMagazineTurretAmmo". They are now replaced with their corresponding workaround functions.
* Pylon rearm was trying to set ammo count on empty pylons.

Note: rearmSuccessLocal is not yet fixed!

* Rearming no longer switches shell types in cannons/mortars.

* Added Tuupertunut to authors.

* Rearming no longer switches shell types. 2nd try.

Last time it was fixed only if the turret is manned. Now it is fixed even when unmanned.

* Updated fnc_rearm to support the earlier repurposing of fnc_getNeedRearmMagazines.

* Small fixes and comments.

* Renamed fnc_getVehicleMagazines to fnc_getTurretConfigMagazines.

The latter describes much better what the function actually does.

* Removed redundant checks.

* Refactoring.

* Fixed spaces in macros.

* Renamed fnc_getAllTurrets to fnc_getAllRearmTurrets
2017-09-29 14:53:25 -05:00
classic
9dfc76b6d5 Update the Japanese translation (#5565)
* Update the Jpn translation

following to official localization.

* Update the Jpn translation

fix for miss translation

* Update the Jpn translation

added more natural words and fix miss translation.

* Update the Jpn translation

fixed for miss translation.

* Update the Jpn translation

just tweaks

* Update the Jpn translation

added to new entry. fixed or tweaked to few entry.

* Update the Jpn translation

added the jpn translation to new entry

* Update the Jpn translation

Added the Jpn translation to new entry.

* Update the Jpn translation

tweak to jpn translation

* Update the Jpn translation

following to official Japanese localization

* Update the Jpn translation

support to new entrys and few fix

* Update the Jpn translation

just tweaks to few entrys
2017-09-28 16:04:24 +02:00
PabstMirror
651aa285f8 Add trip flare to Put muzzle (#5564)
Muzzle won't be used because explosives has a custom placing engine.
But arsenal needs this to categorize it as an "explosive"

Close #5563
2017-09-28 03:46:33 +02:00
PabstMirror
21d928396a Re-add #5544 changes 2017-09-27 15:50:37 -05:00
PabstMirror
80e5088013 Merge branch 'master' into medical-rewrite
Conflicts:
	addons/medical/CfgVehicles.hpp
	addons/medical/XEH_PREP.hpp
	addons/medical/stringtable.xml
2017-09-27 15:48:22 -05:00
jonpas
a48db26996 Fix Load Patient/Captive actions (#5544)
* Disable (un)load patient action if unit is dead but was uncoscious before

* Remove handcuffs on death (prevents stand-up ragoll restart), Don't show load patient and captive at the same time

* Only allow unloading from outside - fix #5525 as discussed

* Also prevent unloading captives from inside

* Add debug logging
2017-09-27 15:41:05 -05:00
PabstMirror
b0d68b1011 Add respawn/state logging 2017-09-27 12:06:03 -05:00
KoffeinFlummi
32b2d99887 Merge remote-tracking branch 'sbng/master' 2017-09-27 18:57:24 +02:00
Josuan Albin
240a078dde Toggle modules standardization (#5558)
* Change toggle modules messages to be the same as others

* Fix _ui_toggleNvg capitalization
2017-09-26 19:36:36 -05:00
jonpas
430c136a61 Deprecate isUnderwater (replaced by underwater command from 1.66) (#5560) 2017-09-26 19:35:00 -05:00
PabstMirror
75e58a8dce Fix unloading unconscious unit 2017-09-26 17:45:10 -05:00
PabstMirror
4c28c4de22 Reset isLimping var 2017-09-26 17:43:54 -05:00
PabstMirror
30fcbb66ae Add ace_common_fnc_getPylonTurret func (#5548)
* Add getPylonTurret function

* cleanup

* debug

* Fix
2017-09-26 21:47:13 +02:00
jonpas
4de7953316 Remove deprecated addToInjuredCollection function (#5559) 2017-09-26 11:23:20 -05:00
ulteq
098b88106c RangeCard - Always display barrel length and bore height (#5551)
- More uniform appearance with advanced ballistics enabled or disabled
2017-09-26 16:51:48 +02:00
Christian Klemm
3d340bb0ef Added captive hotkey (#5529)
* added captive hotkey

* Removed toggling + distance check

* adjusts

player -> ace_player
interact check
stringtable adjust

* Update XEH_postInit.sqf

* Update XEH_postInit.sqf

* Removed dots

* Removed comment

* Use targetEvent
2017-09-25 23:22:10 -05:00
Ľuboš Lendáč
b292cbf8c6 Merge branch 'medical-rewrite' into medical-rewrite-kill-ai 2017-09-25 23:36:49 +02:00
sbng-PAPA
37dcb562a7 korean translation for 3.10 2017-09-26 00:54:27 +09:00
Jo David
4a6b06dfeb Typo in flashlights translation Fix #5552 (#5553) 2017-09-25 16:29:40 +02:00
PabstMirror
0ff9a5bf64 Add error logging 2017-09-23 12:09:35 -05:00
PabstMirror
04db4add26 Remove unused addUnloadPatientActions 2017-09-23 11:58:49 -05:00
PabstMirror
6aa32ce811 Fix setUnconsciousAnim error 2017-09-23 11:46:48 -05:00
PabstMirror
ddf72d5878 Merge branch 'master' into medical-rewrite
Conflicts:
	addons/medical/ACE_Medical_SelfActions.hpp
	addons/medical/CfgVehicles.hpp
	addons/medical/CfgWeapons.hpp
	addons/medical/data/model.cfg
	addons/medical/functions/fnc_treatment.sqf
	addons/medical/functions/fnc_treatment_failure.sqf
	addons/medical/functions/fnc_treatment_success.sqf
	addons/medical/stringtable.xml
2017-09-23 11:25:58 -05:00
Dystopian
e874f6a343 Fix SDV refueling (#5546) 2017-09-23 01:01:19 +02:00
jonpas
eb6e8c0b56 Cleanup optional argument headers (#5543) 2017-09-22 17:33:08 +02:00
Andrea Verano
c68ebf2816 Italian translation update (#5542)
Added:
-Fastroping
-Refuel
-Zeus

Fixed:
-Add full arsenal
-Remove arsenal
2017-09-22 17:23:11 +02:00
Josuan Albin
1ba330e853 Add toggle flashlight and NVG zeus modules (#4556)
* Add toggle flashlight and NVG modules

* Remove excessive spaces in moduleToggleNvg

* Fix indentation and typos to fit review

* Add an option to add gear, fix headers

* Change category to utility

* Add QOL improvement suggested by pabst

* Fix locality issues

* Remove locality check before enableFlashlight targetEvent

* Remove locality check before addWeaponItem targetEvent

* Add a player check in moduleToggleNVG, change modules category

* Add the same QOL in toggleNVG than in toggleFlashlight
2017-09-21 20:43:35 +02:00
shukari
a783e6319f magazinerepack stringtable fix #5390 (#5392)
* fix #5390

stringtable optimization

* Dont use the same wort twice - magazinerepack stringtable

* [magazinerepack] get bulletsLeft in last partial mag as optional param

* [magrepack] remove unused entries

* [magrepack] entry is needed for interrupt event

* [magrepack] finish msg

successful -> full mags + left rounds
Interrupted -> full mags + partial mags

* [magrepack] final translation change

* space fix
2017-09-21 20:42:01 +02:00
Ozan Eğitmen
41e1b25397 Refuel: Turn on nozzle after connection (#5426)
* Turn on nozzle after connection

* Remove some superflous progress bars

* Handle tempFuel var

* Handle conflicts 2: conflict harder

* Remove duplicate code
2017-09-21 16:24:58 +02:00
Ozan Eğitmen
90f92db01d Replace UI icons with vanilla/common ones (#5532)
Also removes some _very_ old paa files that belong to AGM/CSE
2017-09-21 16:22:28 +02:00
Ozan Eğitmen
21e9674ab7 Add "Load Into Cargo" Zeus Module (#5528)
* Initial commit

* Finish TODOs

* Remove "<BR/>" from showing up on zeus messages

* Add check for scheduled environment, cargo enabled
2017-09-21 16:19:49 +02:00
jonpas
40e4ad3f5a Add Stow FRIES interaction (#5533)
* Add stow FRIES interaction
Allows stowing FRIES (retracting the hooks, closing doors) without the need to deploy and cut ropes

* Do not automatically stow FRIES anymore

* Cleanup more privates
2017-09-21 16:16:04 +02:00
classic
8a0bbf655b Update the Jpn translation (#5536)
* Update the Jpn translation

support to new entry.

* Update the Jpn translation

Fully translated for the maverick

* add credit

because I am translating mod to Japanese ;)
2017-09-20 14:59:46 +02:00
Andrea Verano
9e36e0d7ef Italian translation update (#5535)
Added:
-2 missing entries in captives
2017-09-20 14:04:56 +02:00
jonpas
333b24e306 Fastrope animations and in-line privatization (#5501)
* Add older Arma door animations and macroize them, In-line privatization, Fix comment

* Clarify animation macros

* Fix onCut delayed animations
2017-09-19 22:38:49 +02:00
PabstMirror
db36ee4581 showMouseHint - Allow adding additional icon/text lines (#5524)
* showMouseHint - Allow adding additional icon/text

* Remove icons, just use localized text
2017-09-19 14:00:22 -05:00
Keithen
7fe932803b Add requireSurrender setting for AI - close #5518 (#5522) 2017-09-19 13:21:30 -05:00
Andrea Verano
e47212ea9c Italian translation update (#5531)
Added:
-Advanced Fatigue
-Interactions
-Medical
-Refuel
-Spectator
-Fully translated markers and maverick

Fixed:
-Next Unit
-Previous Unit
2017-09-19 16:22:11 +02:00
Christian Klemm
73b9f69adf Re enable all markers (except civ and quantity) (#5376)
* Reenabled medical markers

* Re enabled all markers (except civ and quantity)

* Update CfgMarkers.hpp
2017-09-18 11:18:02 -05:00
Dystopian
90647c5495 Replace Helicopter eject configs with universal scripted action (#5384)
* Remove eject config entries

* Add scripted Eject action

* Fix engine stop on driver eject

* Clean up

* Use config instead object for CBA_fnc_getTurret

* Optimize, add commander turret init

* Restore role in var name

* Use single qoutes instead QUOTE macro
2017-09-18 00:24:14 +02:00
PabstMirror
45d9a3a1a9 Fix spectator onLoad (#5523) 2017-09-17 23:42:29 +02:00
xrufix
31b1050f3b Maverick L (laser guided AGM) (#5364)
* Initial commit

* Initial commit

* Initial Commit

ACE-Coding-Guidelines compatible version of http://steamcommunity.com/sharedfiles/filedetails/?id=943852645

* Changes to realisticnames, readme.md, added to authors.

* Dependency on ace_missileguidance

* readme

* Use ACE-AMG for ammo

* Use macros in all configs

* Use own attackProfile to prevent climbing at start even in low-flight-conditions.

* include HUD from ace_hellfire

* fix missing semicolon

* Add missing defines, makes HUD work for now.

* Readme

* replace tabs with spaces

* replace tabs with spaces 2

* replace tabs with spaces 3

* Use missileguidance's DIR-Profile instead of own. Keep profiles config for name and nameLocked values necessary for HUD

* Use showHud from ace_laser

* Minor Cleanup
2017-09-16 22:25:20 +02:00
SilentSpike
b0c27d1071 Add uiNamespace variable to spectator display (#5520)
* Add uiNamespace variable to spectator UI

* Update spectator keys to match docs branch
2017-09-16 15:20:32 -05:00
Dystopian
357f3a9ceb Add JIP event deleting if vehicle is deleted (#5506) 2017-09-16 22:18:28 +02:00
PabstMirror
1a1fdb7c2c Move the hellfire hud to the laser module (#5503)
* Move the hellfire hud to the laser module

* Fix example
2017-09-16 14:24:43 -05:00
Ozan Eğitmen
ca580daedd Cargo: Add removeCargoItem Function (#5432)
* Add removeCargoItem function to cargo module

* Fix documentation typos

* Fix header 'public' field

Of course it's a public function, that's the whole point!

* Fix spelling

* Add missing then command

* Work better with objects

* After-test fixes

* Also update wiki

* Overhaul

* Make the event more robust

* Fix logic & shorten docs
2017-09-16 11:21:23 -05:00
PabstMirror
2a8e758390 Allow loading fuel canister (#5493)
Fix #5438
- Also block cargo action when being used
2017-09-16 11:36:42 +02:00
ulteq
ecd688647c AdvancedBallistics - Utilize 'parseSimpleArray' (#5496)
- Decent performance improvement compared to the old 'call compile' approach
2017-09-16 11:08:25 +02:00
PabstMirror
df739bd36c Handle laser targets from non-primaryGunner turrets (#5507) 2017-09-15 17:31:31 -05:00
classic
2611b56767 Jpn translate e103805 (#5505)
* Update the Jpn translation for interaction

-fix miss translation
-fix html tag
-support to new words
-tweaks

* fix

i was change the English by mistake. it is fix.

* Update the Jpn translation for markers

support to new words

* Update the Jpn translation for refuel

-fix miss translation
-support to new words
2017-09-13 10:26:26 -05:00
PabstMirror
30a8d2db7b Use CBA Misc Items (#5502)
* Use CBA Misc Items

* Set required CBA to 3.4.1
2017-09-12 23:23:45 -05:00
Dystopian
e103805f00 Fix unconscious handlers run globally (#5504) 2017-09-12 18:10:49 -05:00
jonpas
9cce08f152 Move handle on carrier doors (#5498) 2017-09-11 17:33:58 -05:00
PabstMirror
d4cd0f2286 Add support for orange drone (UAV_06) (#5494)
* Add support for orange drone (UAV_06)

- Remove cargo from orange drones (and apex heli drone)
- Allow battery replacement on orange drone

* ops
2017-09-10 15:38:10 -05: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
Wanderrful
635b667a74 Fixed viewdistance error while controlling UAV (#5308)
* Fixed viewdistance error while controlling UAV.

When you take control of UAV drones, the view distance does not properly update to your setting because it thinks that you are still the land infantry guy.  So I've experimented a bit in the editor and found a condition that will properly return true when you are in control of a drone aircraft.  I've also adapted this for use with land-based UAV stuff (like the Stomper).

To accomplish this, I created a private *_isControllingDrone* variable that will detect if the player is currently in control of any UAV.  I also edited the _landVehicle and _airVehicle scripts so if and only *_isControllingDrone* returns true, then it will check whether the drone is a subclass of "LandVehicle" or an "Air".

That's all I did.  Please accept my pull request!

* Use ACE_controlledUAV event
2017-09-10 14:42:19 -05:00
PabstMirror
3869c8362f Don't add fake weapon in restoreGear (#5491)
Fix #5474
2017-09-10 14:42:04 -05:00
PabstMirror
c7b804a685 Add ace_explosive support for orange dlc mines (#5486) 2017-09-10 09:44:57 -05:00
ulteq
c402a2028f Kestrel4500 - Fixed head- and crosswind calculation (#5489)
* Kestrel4500 - Fixes head- and crosswind calculation
- The wind direction was not taken into account when calculating head- and crosswinds
- This does not affect how the Kestrel4500 behaves with AdvancedBallistics enabled
- Fixes #5181

* Kestrel4500 - Fixes wind direction formatting issue
- This does not affect how the Kestrel4500 behaves with AdvancedBallistics enabled
2017-09-10 15:16:17 +02:00
Broström.A | Evul
e0f3b393d7 Added missing semicolon (#5487) 2017-09-10 14:44:26 +02:00
ulteq
1ca43c4bd9 ATragMX - Fixed AT mode (#5485)
Fixes #5330
2017-09-08 18:18:17 +02:00
jonpas
40d927d3fd Use selectRandomWeighted 1.76 command (#5482) 2017-09-08 16:18:07 +02:00
jonpas
170cd8e5de Remove deprecated stringRemoveWhitespace (#5483) 2017-09-07 20:12:47 +02:00
Broström.A | Evul
a50cf4e300 Added drag and Cargo ability to Orange crates (#5421)
* Added load and carry ability to some new upcoming crates

* Added missing crate to dragging

* Added missing ones for cargo.
2017-09-07 19:45:37 +02:00
Christian Klemm
19418b824d Added rating settings (#5354)
* added rating settings

* moved rating to interaction

* Update fnc_canPardon.sqf

* Update stringtable.xml

* Update CfgVehicles.hpp

* Update XEH_postInit.sqf
2017-09-07 19:38:26 +02:00
Christian Klemm
22b4788891 added movable markers option (#5397)
* added movable markers option

* added restrictions

* added local events

* formatting + small fixes

* Events for start and end modified + small adjusts

* minor fixes

* lazy eval

* Alt as modifier key

* Update XEH_postInit.sqf

* Skip UI EH on headless
2017-09-07 19:26:32 +02:00
PabstMirror
1a590ea399 Remove cargo from fastrope helper object (#5480) 2017-09-07 11:45:56 -05:00
commy2
f0818bc8d4 add argo, jets, orange to requiredAddons (#5439)
* add argo, jets, orange to requiredAddons

* Just add orange's loadorder to required addons
2017-09-07 18:39:49 +02:00
PabstMirror
451be53219 Remove srifle_DMR_03_spotter_F (#5477)
`srifle_DMR_03_spotter_F` does not exist in base game, and parent srifle_DMR_03_F is scope 2
So we were adding a duplicate weapon with only the name changed??

- Hide weapon for now via `scope = 1` to avoid breaking loadouts
- Can remove later
2017-09-07 18:39:11 +02:00
classic
98c140bb64 Jpn translate 2f93c40 (#5476)
* update the Jpn translation

Add translation for new words and small changes.

* Update Jpn translation

add translation for new words and some tweaks.

* Update Jpn translation

fix miss translation and minor tweak.
2017-09-07 00:06:00 -05:00
PabstMirror
2f93c408c9 Dogtags - Fix error with cyrillic names (#5473)
* Dogtags - Fix error with cyrillic names

* Add note
2017-09-04 11:34:15 -05:00
SilentSpike
2a9358ab03 Fix virtual spectator breaking if template active (#5466)
* Simplify virtual spectator code
* Rename camTarget GVAR for linter
* Fix respawn template breaking virtual spectators
2017-08-30 16:36:53 +01:00
SilentSpike
1ab7a886e7 Improve spectator drawing and selection (#5457)
* Optimise cursor object updates
* Restrict distance units can be selected from
* Fix potential for no icons to render in FPP
* Limit projectile drawing distance
* Optimise icon updates
* Fix group names not being drawn in vehicles
* Fix selection nameplate not drawing for vehicles
* Fix selection of non-spectatable entities
2017-08-30 11:40:12 +01:00
Neviothr
abc91f1564 Cleanup (#5463)
Cleanup some configs and array spacing
2017-08-29 17:47:01 -05:00
Vdauphin
5ca113d0ba FIX: ace_common_fnc_loadPerson don't detect taru with place for crew (#5464)
When you load somebody inside a vehicle the ace_common_fnc_loadPerson is
used. This fonction acutually search nearestObjects of type ["Car",
"Air", "Tank", "Ship_F"] to put player inside. Infortunatly, the taru
family with crew place (exemple
:"Land_Pod_Heli_Transport_04_medevac_black_F") are not detected because
the corresponding parent class of
"Land_Pod_Heli_Transport_04_medevac_black_F" is :
["Land_Pod_Heli_Transport_04_medevac_F","Pod_Heli_Transport_04_crewed_base_F","StaticWeapon","LandVehicle","Land","AllVehicles","All"].
To avoid this, the "Pod_Heli_Transport_04_crewed_base_F" parent class
should also be search by nearestobjects.
2017-08-28 22:51:03 -05:00
SilentSpike
4afcc546e7 Improve spectator focus widget (#5452)
* Optimize widget updates
* Improve focus widget vehicle position display
* Remove insignia from widget
* Add current throwable to widget
* Fix padding/spacing of widget items
* Fix incorrect vehicle cargo icon being used
2017-08-26 19:16:24 +01:00
PabstMirror
eb18d23181 Allow digging in malden grass (#5453) 2017-08-24 15:00:25 -05:00
PabstMirror
52915e1104 Common func to run config tests (#5170)
* Common func to run config tests

* Add map config testing, malden data and reverse map config's latitude

* Headers

* Simplify config levels

* Header

* fix example
2017-08-22 16:21:41 -05:00
PabstMirror
74fd0f507f Add EH for UAV control, Add Hellfire support (#5305)
* Add EH for UAV control, Add Hellfire support

* cycle guidance keybind

* Handle broken PlayerViewChanged

* humps

* UAV Self-interactions (#5379)

* Switch ACE_Player to uav AI on valid seat change

* Different approach to UAV interactions

* Forgot to remove a variable

* Changed param to select
2017-08-22 16:07:45 -05:00
SilentSpike
43ac39f06c Improve spectator tab fading (#5441)
* Cleanup spectator PFH variable

* Improve spectator tab fading

Looks better
2017-08-22 14:11:34 -05:00
jonpas
e11e102a76 Underwater actions support (#4984)
* Enable majority of actions underwater

* Remove log

* Add logistics_wirecutter support (don't play kneel animations underwater - looks silly)

* Don't perform kneel animations when repairing or medicaling underwater

* Fix interaction menu rendering underwater (was moving based on player eye level due to height max used for large vehicles)

* Fix attach underwater (LIW does not work underwater, LIS does), Add attach scan drawing define

* Remove left-over systemChat

* Remove vehiclelock from Plane, Disallow linking belt underwater, Allow checking ammo when sitting via action (was already possible via keybind), Use param for LIS
2017-08-22 13:30:56 -05:00
PabstMirror
a67815d072 Disable damage on cars loaded as cargo (#5402) 2017-08-22 13:27:11 -05:00
PabstMirror
e7ebbd5750 Customized map lighting for vehicle interiors (#5401)
* Customized map lighting for vehicle interiors

* Tabs for cases

* Add wiki for new configs

* V
2017-08-22 13:13:03 -05:00
Vdauphin
c3986b0a04 Add optional parameter useEffects for damage (#5318)
Since 1.67, you can  skip destruction effects if you want to. see  :
https://community.bistudio.com/wiki/setDamage and
https://community.bistudio.com/wiki/setHitPointDamage
This add an optional parameter  to ace_repair_fnc_setHitPointDamage to
allow this new choice
2017-08-22 12:56:14 -05:00
BaerMitUmlaut
b7e42cb7a4 New medical box (#5278)
* Replaced medical box

* Added ElTyranos as author

* RVMAT code style

* Added ground contact points, fixed broken face
2017-08-22 12:55:14 -05:00
PabstMirror
accaf9fd01 Compatibility with newest mikro tools (#5442)
* Compatibility with newest mikro tools

- Remove all use of `access` in configs
- Add skeleton cfg for rtms
- Remove use of `-L` in makePbo for non-bin

* Tabs in model.cfg
2017-08-22 12:53:58 -05:00
SilentSpike
85c5fbabe9 Remove locations tab from spectator (#5431)
* Fix incorrect function input for spectator hiding
* Remove locations tab from spectator

- Doesn't add much value, adds complexity and the implementation is half
baked. Would rather add back in at a later date (if at all) with a
better implementation.
- I have an idea to replace the locations tab with a meta tab so users
can toggle things like projectile drawing via the UI and are not forced
to use a hotkey. Might also be a good place to display the extended controls.
2017-08-17 12:50:43 +01:00
Joko
d9ea680afa Fix adenosine self injection displaying incorrect action (#5430) 2017-08-14 19:47:58 +01:00
SilentSpike
407df4433a Disable spect camera movement while map is open (#5427)
- Prevents camera panning when right-click dragging the map around
2017-08-14 11:31:19 +01:00
SilentSpike
d3ce75daef Spectator overhaul (#5171)
- Overhauls the spectator module entirely to share a similar UX to BI's "End Game Spectator" while maintaining some of the extended flexibility of ACE Spectator.
- Simplifies spectator setup by reducing the number of settings. More advanced setup is still possible via the API functions provided.
2017-08-12 14:25:48 +01:00
Ozan Eğitmen
ff1247daef Change "Remove Wheel" Action's Color Based on Damage (#5415)
* Change repair action's colors on wheels

* Add dots.
2017-08-10 13:32:55 +02:00
PabstMirror
d81e943590 Delete medical litter on building explosion 2017-08-09 12:13:29 -05:00