Commit Graph

14898 Commits

Author SHA1 Message Date
cf4fe835c3 Repair - Fix adding actions for hitpoints with the same name (#9430) 2023-09-25 20:55:23 +02:00
5283b487ff Remove Workshop link 2023-09-25 18:45:15 +02:00
ac29287542 Arsenal/Compat RHS - Improve support for RHS attachments (#9386)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-25 18:36:46 +02:00
6029e75aea Documentation - Remove badge and link to CircleCI (#9433) 2023-09-25 18:02:54 +02:00
11bc2695f5 Captives - Blindfold captive units (#9361)
* Fixed typo

* Added "Blindfold Captive" interaction

* Changed comment readability as requested

* Better handling of captive goggle replacement

if the capturer's inventory cannot contain the captive's goggles, move them to the captive's inventory, if that also can't fit them, drop them on the ground.

* Removed extra new line

* Make "validBlindfolds" a CBA Setting

* Add remaining localizations

I speak German and Italian fluently and can also infer the proper sentence structure and conjugations in French/Spanish/Portuguese, the other eastern languages are completely foreign to me though and I have to trust Google/DeepL.

* Removed non-verified translations

* Use GVAR(blindfold) config entry

* Remove unused "_state" parameter

* Check if captive isn't already blindfolded before blindfolding

Co-Authored-By: johnb432 <58661205+johnb432@users.noreply.github.com>

* Added "remove blindfold" interaction

Co-Authored-By: johnb432 <58661205+johnb432@users.noreply.github.com>

* Correct Error Message

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Optimized duplicate code

* Apply suggestion to fix script_component includes

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2023-09-24 17:45:43 -04:00
aee47c9bc6 Medical - Add damage handling for explosive damage while inside vehicles (#9246)
* Add vehicle explosion handling

* Missing semicolon

* scale armor damage using passthrough

* add - to comment

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* improve condition

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* remove extra brackets

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* remove extra brackets

* fix damage sorting

* whitespace

* comment

* fix function header

* fix infinite armor when no item equipped

* modify condition & handling for vehicle explosion

* add vehiclehit woundHandler

* finalize

* add vehiclehit woundHandler

* finalize

* cleanup

* more cleanup

* name

* randomize hitpoints

* finalize

* don't scale structural damage

* fix undefined var

* remove _i

* fix script error, tone down scaling

* add AVD checks

* Update addons/medical_damage/functions/fnc_woundsHandlerVehiclehit.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* nuke AVD crew damage handling

* get rid of aircraft crash lethality compensation

---------

Co-authored-by: James Woods <pterolatypus@gmail.com>
Co-authored-by: GhostIsSpooky <69561145+Salluci@users.noreply.github.com>
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-24 15:58:59 -04:00
94f3b301e0 Medical Treatment - Add Grave Digging for Corpse Disposal (#9276)
* Add grave digging

* Update fnc_placeInBodyBagOrGrave.sqf

* Update fnc_placeInBodyBagOrGrave.sqf

* Update fnc_placeInBodyBagOrGrave.sqf

* Update addons/medical_treatment/functions/fnc_placeInBodyBag.sqf

Co-authored-by: BrettMayson <brett@mayson.io>

* Add setting to enable/disable

* improvements

- fix flipped bool in fnc_canDigGrave
- improve fnc_placeInBodyBagOrGrave.sqf by splitting out some checks and item assignment into separate bodybag and grave functions

* fix typo in variable

* Apply suggestions from code review

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* add to XEH_PREP and fix event for non-local patient

* Add interaction to check name on headstone

* Update addons/medical_treatment/XEH_postInit.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Simplify Setting

* Apply suggestions from code review

Co-authored-by: jonpas <jonpas33@gmail.com>

* Update addons/medical_treatment/stringtable.xml

Co-authored-by: jonpas <jonpas33@gmail.com>

* Make placeInBodyBagOrGrave more generic and use any grave class

* Update addons/medical_treatment/functions/fnc_placeInGrave.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update medical-treatment-framework.md

* Update docs/wiki/framework/medical-treatment-framework.md

Co-authored-by: jonpas <jonpas33@gmail.com>

* update docs

* Update addons/medical_treatment/functions/fnc_placeInBodyBagOrGrave.sqf

* Update addons/medical_treatment/functions/fnc_placeInGrave.sqf

* fix includes

---------

Co-authored-by: BrettMayson <brett@mayson.io>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2023-09-24 15:57:08 -04:00
6fd24c1455 Compat WS RealisticNames - XMS (#9429)
* Compat WS - XMS

* add modified original translations

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-24 14:56:04 -04:00
77a73aee71 Backpacks - Add extra condition for backpack checking (#9428)
Update fnc_isBackpack.sqf
2023-09-24 12:06:20 -05:00
bf6dc5a7a1 Backpacks - Code cleanup (#9409)
backpacks
2023-09-24 00:13:33 -04:00
0d9bcdd708 Nightvision - Fix detecting if vehicle's turret has NVGs (#9421)
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2023-09-23 21:00:04 +02:00
bd0dfe4b30 compat rhs - fix SUBCSTRING and check_strings.py (#9424) 2023-09-23 12:40:48 -05:00
b4940e6fa3 Cargo - Improve cargo space values (#9418)
Alter Cargo values
2023-09-23 13:08:28 -04:00
ab6dd0164e Compat WS - Realistic Names (#9419)
* Compat WS - Realistic Names

* use cba subcstring

* cleanup python

* Update script_macros_common.hpp

---------

Co-authored-by: BrettMayson <brett@mayson.io>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-23 13:07:52 -04:00
da60a1b39d Medical Engine - Improve damage calculation for explosive-resistant armor (#9216)
* scale armor damage using passthrough

* add - to comment

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* improve condition

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* remove extra brackets

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* remove extra brackets

* fix damage sorting

* whitespace

* comment

* fix function header

* fix infinite armor when no item equipped

* cleanup

* more cleanup

* name

* don't scale structural damage

* add setting

* fix key name

* add cap to passThrough

* fix script error in setting

---------

Co-authored-by: GhostIsSpooky <69561145+Salluci@users.noreply.github.com>
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
2023-09-23 13:07:06 -04:00
ec96cdf12c Medical Treatment - Fix clearing trauma after stitch with multiple wounds (#9420)
fix clear trauma on stitch
2023-09-23 12:59:10 -04:00
d8eb97f4ec Tools - Fix configs for hemtt1.9.0 (#9423) 2023-09-23 11:37:41 -05:00
bd5c4850be Docs - Update npm packages (#9422)
Docs - Update npm
2023-09-22 22:47:49 -05:00
0ba67ea173 Optics - Add items to new vanilla rails (#9410) 2023-09-22 18:10:22 +02:00
0b695be841 Laserpointer - Block switching to unsupported visible lasers (#9416) 2023-09-22 18:09:46 +02:00
51e6134b71 Grenades - Improve flashbang sound (#9415) 2023-09-22 18:08:34 +02:00
5eab95d984 Casings - Add Western Sahara Casings (#9417)
* Add WS Casings

* Minor formatting fix
2023-09-22 12:03:07 -04:00
6f58830603 Common - Add lockInventory status effect (#9402)
Add lockInventory status effect
2023-09-22 12:02:09 -04:00
11664b0040 Dragging - Improve featureCamera handling (#9389)
* Update XEH_postInit.sqf

* Update XEH_postInit.sqf

* Update XEH_postInit.sqf

* Different approach

* Updated to new script_component

* fix variable lookup

---------

Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
2023-09-19 23:56:20 -04:00
37be6130f2 RHS Compat - Readd basic 5.56 suppressor to 5.56 muzzle slot (#9412)
bleh
2023-09-19 23:13:38 -04:00
bd4d1a7a50 IR Lights - Fix visible pointers for DBAL (#9414)
* fix dbal visible pointer

* fix dbal visible pointer

* remove unused macro

* tweak numbers, move define to single file

* change max range
2023-09-19 22:55:15 +02:00
b84a84c0ff Laser Pointer - Use engine method for visible lasers (#9411)
* initial commit

* tweak numbers

* nuke framework

* cleanup JR
2023-09-19 15:29:13 -04:00
18739c23ce Misc - Add workshop images source files (#9405)
* Add workshop images source files

* Use white logo with dark themes
2023-09-19 07:15:22 +02:00
748f9aff31 Dragging - Enabled dragging whilst limping (#9379)
Enabled dragging whilst limping

Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
2023-09-18 22:43:10 -04:00
ad5d351474 Docs - Fix IR Lights docs (#9404) 2023-09-17 21:45:25 +02:00
1fd47237d8 Docs - Fix missing sitting property in docs (#9403)
Fix missing sitting property in docs
2023-09-17 12:43:40 +02:00
d6faac5881 Add IR Flashlights (#6563)
* Initial IR flashlight tests

* More experiments

* Rewrite using engine IR lights

* Rework ranges, fix bugs, add docs

* Fix uncommented DISABLE_COMPILE_CACHE

Co-authored-by: jonpas <jonpas33@gmail.com>

* Markdown fixes

Co-authored-by: jonpas <jonpas33@gmail.com>

* Markdown fixes

Co-authored-by: jonpas <jonpas33@gmail.com>

* Markdown fixes

Co-authored-by: jonpas <jonpas33@gmail.com>

* Markdown fixes

Co-authored-by: jonpas <jonpas33@gmail.com>

* Markdown fixes

Co-authored-by: jonpas <jonpas33@gmail.com>

* Use baseWeapon instead of custom property

* Add baseWeapon to SPIR

---------

Co-authored-by: jonpas <jonpas33@gmail.com>
2023-09-17 09:32:39 +02:00
a0dd4400e6 Cargo - Fix/Improve FUNC(paradropItem) (#9399)
paradropItem fixes
2023-09-14 17:54:06 -04:00
f7b520b56b Markers - Fix issues with custom channels (#9383) 2023-09-13 05:05:42 +02:00
7a3e5dd3e0 Dragging - Add config support for weight ignoring (#9396)
* Update fnc_initObject.sqf

* Update dragging-framework.md
2023-09-12 18:57:55 -04:00
742626ff1a General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00
a34d9455d2 Tools - Update setup.py for hemmt dev filepatching (#9231)
* Update setup.py

* Update setup.py
2023-09-12 13:47:21 -05:00
7cbdb7f410 General - Use subcomponent macro (CBA 3.16.0) (#9375) 2023-09-12 20:40:38 +02:00
ebef82d10b Tools - Fix make.py failing when pboProject\Settings folder missing (#9393) 2023-09-12 13:04:26 -05:00
ea783b6c7a Advanced Ballistics - Fix _mapSize sometimes 0 by using engine command (#9394)
Update fnc_initializeTerrainExtension.sqf
2023-09-12 13:04:06 -05:00
119702a189 Zeus - Fix Group Side module (#9388)
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-09-12 17:41:38 +02:00
4a12f61352 Translations - Add Polish Translations (#9391)
Translation - Add Polish Translation

When merged this pull request will:
Add Missing Polish Translations
Fix Spelling in existing translations
2023-09-11 21:33:48 -05:00
07ab8751a6 XM157 - Fix spin drift offset when using advanced ballistics (#9392)
xm157 - Fix spin drift calc when using ab
2023-09-11 20:44:25 -05:00
4ce6fcb3cc Translation - Add German Translation (#9390)
Added German Translation
2023-09-11 20:37:20 -05:00
5b1491278d Dragging - Fix for #9385 (#9387) 2023-09-11 14:29:56 +02:00
de8940af9b Medical Treatment - Add setting to rollover bandage effectiveness (#8426)
* use leftover bandage effectiveness on other wounds in same limb

variable naming

* Comments

Co-authored-by: Kyle Mckay <5459452+kymckay@users.noreply.github.com>

* variable naming, fix part index check in findMostEffectiveWound

trace 4

* fix function header

* Account for multiple wounds in time calculation

* fix trace, remove systemChat

* update for hashmaps

* compile cache

* Update addons/medical_treatment/functions/fnc_findMostEffectiveWounds.sqf

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* add bandage effectiveness setting

* stupid

* remove limit on bandageRemaining

* Update addons/medical_treatment/functions/fnc_bandageLocal.sqf

Co-authored-by: BrettMayson <brett@mayson.io>

* Update fnc_getBandageTime.sqf

* Update fnc_bandageLocal.sqf

* fix header / debug

---------

Co-authored-by: Salluci <69561145+Salluci@users.noreply.github.com>
Co-authored-by: Kyle Mckay <5459452+kymckay@users.noreply.github.com>
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: BrettMayson <brett@mayson.io>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-10 02:06:15 -04:00
f7e247c87e Misc - Add more workshop logos, Update README.md (#9377)
* Assets - Move and add more workshop logos
New workshop logos by @BaerMitUmlaut

* Use png logo in README.md
Better looking for both dark and light themes

* Update testing and building instructions in README.md
2023-09-09 19:20:42 -05:00
29ba42bfb5 Markers - Don't try to move poly-line markers (#9381) 2023-09-09 16:29:57 -05:00
56e905ab7a Fire - Fix macro (#9376)
Update fnc_burnReaction.sqf
2023-09-09 02:24:41 -04:00
eaea6f29b8 Medical - Add setting to drop weapon on unconsciousness (#8433)
* added chance of dropping weapon on unconsciousness

* Moved throwWeapon to common

* Fixed spelling error

* wording changes

* typo

* fix usgae in burn reaction

* Update addons/medical_status/stringtable.xml

* Update addons/medical_status/functions/fnc_setUnconsciousState.sqf

* Update addons/medical_status/stringtable.xml

* move condition

* derp

---------

Co-authored-by: BrettMayson <brett@mayson.io>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2023-09-09 02:17:24 -04:00