Commit Graph

13234 Commits

Author SHA1 Message Date
0fd1a4c39e Convert CBA_fnc_uniqueUnitItems to common fnc_uniqueItems (#6593) 2018-09-22 21:59:16 -05:00
8648ccaba5 Explosives - Optimize creating explosive place actions (#6413)
* Optimize explosive actions

* Optimize hasExplosives function

* Readability parentheses

* bump

* testing...

* last try

* for science

* fix for sqf_validator
2018-09-21 22:54:24 -05:00
ab52ff8ddb add microdagrwaypoint precision as an option (#6437)
* Make the precision of the mircoDagr less perfekt

* Add strings of precision Option to stringtabel

* Update stringtable.xml

* Create initSettings.sqf

* Update ACE_Settings.hpp

* Finally

* Cleaning

* Update initSettings.sqf

* Move other settings to sqf, simplify waypointPrecision
2018-09-21 22:32:09 -05:00
61000df120 Tagging - Cache required items check and use uniqueItems (#6582)
* Cache required items check and use uniqueItems

* Use config-case for required items
2018-09-21 15:11:02 -05:00
afbf2049ea Skip semi-colon test with findIf (#6584)
* Skip semi-colon test with findIf

* Fix  #6186

* column cleanser
2018-09-20 14:34:59 -05:00
0a2f5cf238 Fixed #6581 (#6586) 2018-09-19 08:31:08 -05:00
a6d40549dc Fix findIf typo, Don't deep copy arrays (#6587) 2018-09-19 08:24:57 -05:00
8587da58cb Merge pull request #6583 from acemod/sqf_validator-findIf
sqf_validator compatibility with findIf command
2018-09-19 01:52:45 +02:00
7673ffab0a sqf_validator compatibility with findIf command 2018-09-19 01:23:48 +02:00
550acf6a2b Merge pull request #6208 from Max255PL/laserbeam
Add IR beam to visible laser mode
2018-09-18 20:54:42 +02:00
5aa8c1dca0 make setUnconscious not reset firing mode (#6519) 2018-09-18 11:35:40 -05:00
e2ac18a05d [WIP] Fix script errors reporting wrong line numbers (#6407)
* advanced_ballistics

* advanced_fatigue

* advanced_throwing

* ai

* aircraft

* arsenal

* atragmx

* attach

* backpacks

* ballistics

* captives

* cargo

* chemlights

* common

* concertina_wire

* cookoff

* dagr

* disarming

* disposable

* dogtags

* dragging

* explosives

* fastroping

* fcs

* finger

* frag

* gestures

* gforces

* goggles

* grenades

* gunbag

* hearing

* hitreactions

* huntir

* interact_menu

* interaction

* inventory

* kestrel4500

* laser

* laserpointer

* logistics_uavbattery

* logistics_wirecutter

* magazinerepack

* map

* map_gestures

* maptools

* markers

* medical

* medical_ai

* medical_blood

* medical_menu

* microdagr

* minedetector

* missileguidance

* missionmodules

* mk6mortar

* modules

* movement

* nametags

* nightvision

* nlaw

* optics

* optionsmenu

* overheating

* overpressure

* parachute

* pylons

* quickmount

* rangecard

* rearm

* recoil

* refuel

* reload

* reloadlaunchers

* repair

* respawn

* safemode

* sandbag

* scopes

* slideshow

* spectator

* spottingscope

* switchunits

* tacticalladder

* tagging

* trenches

* tripod

* ui

* vector

* vehiclelock

* vehicles

* viewdistance

* weaponselect

* weather

* winddeflection

* yardage450

* zeus

* arsenal defines.hpp

* optionals

* DEBUG_MODE_FULL 1

* DEBUG_MODE_FULL 2

* Manual fixes

* Add SQF Validator check for #include after block comment

* explosives fnc_openTimerUI

* fix uniqueItems
2018-09-17 14:19:29 -05:00
803d497d8a Improve checking of unit items (#6350)
* Add uniqueItems function

* Optimize dogtag children actions function

* Optimize getDetonators item search

* Store CfgWeapons lookup in getDetonators

* Update items to use new function

* Update items to use new function 2

* More optimization of uniqueItems function

* Update items to use new function 3
2018-09-17 14:03:28 -05:00
7988622635 Add the ability to edit user placed markers (#6564)
* add the ability to edit user placed markers

* remove direct channel from valid channels

* add author

* optimize get map display

replace old method of getting the map display with displayParent

* optimize code by adding isEqualTo

* correct some spelling mistakes
2018-09-17 13:52:24 -05:00
75f8a35d3d RHS Compat - Simplify HuntIR mag config (#6580)
* RHS Compat - Simplify HuntIR mag config

* x
2018-09-17 13:22:18 -05:00
db6a40f91d Arsenal - Add Default Loadouts API (#6558)
* Add addDefaultLoadout function

* Initialize defaultLoadoutsList by default

* Close params bracket

* Revert "Initialize defaultLoadoutsList by default"

This reverts commit a53d21046e.

* Add isNil check

* Remove tab

* Overwrite loadout if it exists

* Fix file name typo

* Use findIf and copy array

* Add override note to header

* Make btnImport use new function instead of duplicating code

* Use GVAR

* Use findIf

* Fix spacing

* Add documentation

* Improve documentation
2018-09-17 13:22:04 -05:00
64cc287408 RHS Compat - Fix GREF canoes refuel interaction (#6575)
* Fix RHS GREF canoes refuel interaction

* Removed ace_refuel from requiredAddons

* fix inheritance
2018-09-15 11:53:28 -05:00
ae6a2709f3 Arsenal - Don't warn when calling removeUnitTrackProjectiles (#6574) 2018-09-14 23:58:28 -05:00
3ee94d3aca [Arsenal] Filter firemodes for precision display by showToPlayer (#6572) 2018-09-14 15:01:50 -05:00
d6976f63ac Zeus - UI improvements and additional objects setting for Editable Objects module (#6391)
* Add additional objects setting to Editable Objects

* Fix Teleport Players UI height and remove unnecessary strings

* Improve Garrison UI

* Config based combo for Toggle NVG and Toggle Flashlights UI

* Capitalize garrison module names
2018-09-13 08:40:55 -05:00
429ecb6171 RHS Compats - Update bases classes for RHS 4.6 (#6529)
* RHS Compats - Update bases classes for 4.6

* Update CfgMagazines.hpp

* Update CfgWeapons.hpp
2018-09-13 00:29:30 -05:00
66da48fcdb Merge pull request #6402 from mharis001/explosives-timer
Explosives - New Timer UI
2018-09-13 06:39:50 +02:00
f2a57797da Make sure explosive is still valid when updating timer 2018-09-12 23:07:39 -05:00
0e980907fe Fix some item type magic numbers (#6487)
* Fix item type magic numbers

* Add weapon and magazine macros
2018-09-12 22:29:56 -05:00
364f84d382 Fix RHS static turrets interaction point (#6567) 2018-09-12 16:12:05 -05:00
eab84e0d09 Arsenal - Fix sort by value not sorting properly (#6570)
* Fix sort by value not sorting properly

* Change single to double quotes

* Remove uneeded space
2018-09-12 14:59:36 -05:00
9de11e066f Merge pull request #6571 from acemod/stamina-bar-setting-fix
don't hide stamina twice when changing the setting
2018-09-10 20:51:15 +02:00
05ad146ba3 restore 2018-09-10 19:31:26 +02:00
b651cc8093 delete duplicated code 2018-09-10 19:30:30 +02:00
e592717c30 make hide stamina setting make bar reappear when changed mid mission 2018-09-10 15:15:59 +02:00
8cd0b496ac Merge pull request #6561 from acemod/repairFacility
Repair - Fix isInRepairFacility for buildings at height
2018-09-03 18:02:01 +02:00
fe1737081c Merge pull request #6556 from alganthe/arsenalMissionUnitInsignias
Arsenal - Add support for mission defined unit insignias
2018-09-03 09:51:11 +02:00
628878d074 Repair - Fix isInRepairFacility for buildings at height
Fix #6560
2018-09-02 21:59:32 -05:00
d13641d670 Add author support for mission defined unitInsignias 2018-08-31 18:35:12 +02:00
04aeaa0912 Add support for mission defined unitInsignias 2018-08-31 18:20:55 +02:00
055c85d56d update shell tracer textures to appear smaller
While in the gunner view, or generally when seeing the tracer from the
front or rear, the shell tracers look reasonalble.
However closer to a perpendicular angle the tracers appear substantially
larger than they ought to.
This texture update makes the tracer look a little smaller from those
angles.
2018-08-29 13:16:06 -07:00
16a3bd096a RHS GREF Compat - MG42 (#6552)
Close #6550
2018-08-27 17:13:38 -05:00
24846e6f74 Make state change status updates consistent (#6538)
State transitions call respective functions in the status component where unit variables and status are actually handled.
2018-08-25 16:40:22 +01:00
0c18d5bcae Merge pull request #6548 from Neviothr/CfgWeaponsReferenceSemicolonFix
Fix missing semicolon in CfgWeaponsReference
2018-08-23 19:14:33 +02:00
8d83800f37 Fix missing semicolon 2018-08-23 18:57:23 +03:00
d8b54a8ef0 Fix switching non-local portable light on (#6522) 2018-08-16 20:52:13 -05:00
48b459240d Update No Uniform Restrictions for Arma 3 v1.84 (#6513) 2018-08-16 19:41:51 -05:00
11547d7ff8 Fix environmental damage sources (#6515)
* Tidy handle damage code
* Fix environmental damage conditions

- Vehicle damage would never occur because it doesn't fire all the
hitpoints
- Missing sanity check on fall damage to check that unit isn't in a
vehicle
- Getting hit by a vehicle while on foot can be detected by checking for
a shooter

* Improve collision handling

- All collisions have a `_shooter` so we simply first check for that because burning doesn't and it could happen at any velocity
- We don't actually care what caused the collision because they should all cause the same type of wounding
- The exception is fall damage because we want to prioritise wounding the legs, we assume if the `_unit` had downward velocity and `_shooter == _unit` that it was fall damage (not necessarily always true, but almost always is and there doesn't look to be a more specific way to check).
2018-08-15 07:57:11 +01:00
5fbaf426a8 Fix various bugs (#6523)
* Fix medical menu not reopening regardless of setting
* Ensure no heartrate or bloodpressure on death
* Fix status variables not being reset on respawn
* Fix JIP resetting status variables for all units
* Fix heart rate adjustment overflow and
2018-08-14 21:34:35 +01:00
ced45b2a4d Remove play with six launch method (#6528)
PWS is no longer active.
2018-08-13 12:29:22 +02:00
0e8ed5315e Remove patient treatment animations (#6524)
* Prevent treatment animation on dead bodies

This was causing bodies to glitch out on dedicated servers according to
feedback

* Remove patient animation logic and setting
2018-08-12 12:28:48 +01:00
a182336880 Ignore playable logic hitpoints (#6517) 2018-08-12 12:21:06 +01:00
923c25163f Fix missing boolean return in CPR 2018-08-12 11:50:47 +01:00
7fcd12c792 Reset default state on respawn (#6518)
* Reset default state on respawn
* Remove old getUnitState function
* Add locality check
2018-08-12 10:14:48 +01:00
14d52ee77e Remove CPR alive check (#6492) 2018-08-12 08:57:23 +01:00