32c7181766
General - Make type syntax in header more consistent ( #10681 )
...
* Fix spelling and casing of types
* Fix spelling and casing
* Fix syntax of multi-types and plural of types
* POSITION -> ARRAY
* Remove implicit nil
* Fix type
* Remove optional type
* Rename BOOLEAN to BOOL
* Add helper script
* Add docs
* Remove optional
* Unify optional argument syntax
* Fix spelling of public functions
* Fix for multiple types
* Update fnc_getDelayItem.sqf
* Apply review findings
* Fix more findings
* Fix type
* Move default value after TYPE
* Do not allow for | in types and allow nested types using < >
* Fix spelling
* Improve validation of argument type for documentation
* Apply suggestions from code review
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Standardize header syntax
---------
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2025-06-14 04:59:19 -07:00
a6e1d7e928
Repair - Change isNearRepairVehicle to include more types of objects ( #10901 )
...
* Expand searched types
* Also boats
---------
Co-authored-by: AgentDove <agentdove98@gmail.com >
2025-05-07 10:44:01 -05:00
bb6f885eae
Repair - Patch to detect GM Wheel position and selection ( #10871 )
...
* initial take at fixing GM wheel detection
* fix spelling misakes in comments
2025-04-24 21:01:02 -05:00
755dad8390
Cleanup all Unnecessary _this
in call
( #10726 )
2025-02-06 17:29:41 -06:00
3504835c87
General - Use objectParent for vehicle detection ( #10397 )
...
* General - Use objectParent for vehicle detection (HEMTT L-S18)
* var_all_caps cleanup
2024-10-15 14:56:52 -05:00
631db9d603
Add some lint annotations ( #10372 )
2024-10-12 18:53:11 -05:00
1efe823fc2
General - Fix some undefined variables ( #10335 )
...
* General - Fix some undefined variables
* cleanup reminders
* Fix arg to addPublicVariableEventHandler
2024-09-27 19:02:56 -05:00
5726f8a3da
Repair - Use EFUNC
macro ( #10343 )
...
Update fnc_patchRemovedWheel.sqf
2024-09-26 19:40:57 -05:00
f090c71126
General - Fix Command Case ( #10286 )
...
* run 'hemtt utils sqf case'
* fix config as well
* fix event casing
* Update addons/towing/functions/fnc_attachRopePFH.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/refuel/functions/fnc_startNozzleInHandsPFH.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/rearm/functions/fnc_takeSuccess.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/rearm/functions/fnc_grabAmmo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setSurrendered.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handleZeusDisplayChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handlePlayerChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_handlePlayerChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_onArsenalOpen.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/arsenal/functions/fnc_onArsenalClose.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/spectator/functions/fnc_ui.sqf
* Update addons/ui/XEH_clientInit.sqf
* Update addons/ui/functions/fnc_setElements.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/fcs/functions/fnc_getAngle.sqf
* Update addons/captives/functions/fnc_handleZeusDisplayChanged.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setHandcuffed.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setHandcuffed.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/captives/functions/fnc_setSurrendered.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/common/functions/fnc_displayTextStructured.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/medical_treatment/initSettings.inc.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
---------
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-09-03 11:52:33 -05:00
17f2de4ec1
General - Fix some format args/strings ( #10251 )
2024-08-24 14:55:45 -03:00
5cada7d397
General - Remove "SwitchWeapon" spam ( #10113 )
...
* Remove "switchWeapon" spam
* Update fnc_startDragLocal.sqf
* Don't add invalid fire modes
* Tweaks & fix
2024-07-20 08:13:42 +02:00
1c6c4d6bff
All - Fix parentheses around code ( #10073 )
...
* Fix Brackets around code
* Update fnc_handleFired.sqf
* Shouldn't have changed this one
---------
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2024-06-18 14:08:03 +00:00
421071027e
Common - Add wheel hitpoint function ( #10075 )
...
* Add wheel hitpoint function
* Moved cache to missionNamespace
2024-06-17 10:31:35 -07:00
dce7da60c9
General - Change count
to isEqualTo
where appropriate ( #9921 )
...
count -> isEqualTo
2024-04-06 11:57:08 -07:00
8f46ffd8d5
General - Change count
to forEach
where appropriate ( #9890 )
...
count -> forEach
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2024-04-04 08:15:26 -03:00
e06c6f7835
General - Replace toLower with toLowerANSI where applicable ( #9790 )
...
* General - Replace toLower with toLowerANSI where applicable
* whoops
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
* Update addons/repair/functions/fnc_setHitPointDamage.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/repair/dev/draw_showRepairInfo.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/tagging/XEH_preStart.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/vehicle_damage/functions/fnc_handleCookoff.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* Update addons/tagging/XEH_preStart.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
* comparment -> compartment
* Update fnc_showHud.sqf
* Update fnc_registerObjects.sqf
* Update addons/common/functions/fnc_cbaSettings_settingChanged.sqf
---------
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com >
2024-03-07 22:08:13 +01:00
a3aef6a066
General - Cleanup spaces in macros ( #9769 )
...
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com >
2024-02-05 14:04:24 -03:00
1e404cf85b
General - SQF Improvements ( #9698 )
...
Co-authored-by: Dystopian <sddex@ya.ru >
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2024-02-04 14:50:24 -03:00
99ccf31807
Repair - Use object with lowest damage for changing wheels/tracks ( #9648 )
...
sort claimObject by damage
2023-11-20 22:43:43 -03:00
17daea0ff8
Repair - Fix displayed text when repairing lights ( #9555 )
2023-10-23 18:53:28 +02:00
58cedab493
Repair - Fix script error if vehicle is null ( #9479 )
2023-10-12 12:47:59 -04:00
cf4fe835c3
Repair - Fix adding actions for hitpoints with the same name ( #9430 )
2023-09-25 20:55:23 +02:00
742626ff1a
General - Relative script_component.hpp
includes ( #9378 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2023-09-12 20:58:10 +02:00
519b1cbeb4
Repair - Improve wheel repair interaction position ( #9345 )
...
Update fnc_addRepairActions.sqf
2023-08-28 09:52:21 -03:00
e47e18001f
Docs - Update my display name everywhere ( #9330 )
...
* Update display name in team
* Update display name everywhere
* order
https://youtu.be/VYycQTm2HrM
---------
Co-authored-by: BrettMayson <brett@mayson.io >
2023-08-17 12:02:17 +02:00
fdbcc62c74
Repair - Make headlights repairable ( #9306 )
2023-08-11 19:44:12 +02:00
eb53e7a2fe
Tools - document_functions.py: handle header sub indexs for arguments ( #9303 )
...
* tools - handle header sub indexs for arguements
* convert remaining
* Update coding-guidelines.md
2023-08-08 22:51:20 -05:00
14e92dfb7f
Repair - Add enable setting ( #8070 )
...
* Add enable setting
* Optimize eden expressions
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com >
* Add debug
* Update addons/repair/functions/fnc_addRepairActions.sqf
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* Fix strange indent
* Optimize bool to number conversion
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* Prevent run before setting is ready
* Move postInit to EH
* remove all transportRepair = 0
* remove requiredAddons
---------
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com >
2023-07-29 07:53:05 +03:00
cd36871f90
Repair - Fix bug in detection for ignoring hitpoints ( #9261 )
...
* Fix bug in detection for ignoring repair hitpoints
* Use define for array any
* Add warning if hitpoint group would be ignored
* Apply suggestions from code review
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
* Change ANY to ANY_OF
---------
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com >
2023-07-28 06:32:30 +03:00
04e41a4d5a
Repair - Make Full Repair Time dependent on vehicle damage ( #8417 )
...
* add variable full repair time
* enable compile cache
* Fix stupid
* whoops
* incremental full repair
* cleanup function header
* ignore hitpoints inFullRepairProgress
* fix getHitPointsToIgnore
* final cleanup
* don't show repair hint while doing full repair
* make this all work
* fix stupid
put this back in place
* Add setting for speedup when near repair facility/vehicle
enable compile cache
* refactor near repair facility/vehicle checks
* remove skipping hint from do_repair
better for feedback this way
* git diff stuff
* use functions directly in ACE_Repair.hpp
* add check for vehicle proximity
* add a new line
* switch to multiply by setting instead
* speed boost settings, remove exit addRepairActions
* stringtable
* remove speed boost settings
* fix things, add forceDisplayName
* name in function header
* fix TRACE
* add animation looping
* remove systemChat
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com >
* add time coefficient setting
* move to repair category
* time coefficient max and default values
---------
Co-authored-by: Salluci <69561145+Salluci@users.noreply.github.com >
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com >
2023-07-06 06:52:04 +03:00
10c1085aba
Repair - Add wheel patching ( #8835 )
...
* patch wheels on vehicles
* all tire patching working
Co-authored-by: mp-singh <mandeep@mandeepsingh.ca >
* doc
* remove unused string
* Update CfgVehicles.hpp
* use strintable
* setting for where the wheel can be patched
* localize
* Update stringtable.xml
* can't patch a missing tire
* removal > replacement
* Update addons/repair/initSettings.sqf
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
* Apply suggestions from code review
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
* Apply suggestions from code review
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com >
* patch icon
* use PATCH_WHEEL_STEP_TIME
* fix wheel translation
---------
Co-authored-by: mp-singh <mandeep@mandeepsingh.ca >
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com >
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com >
2023-06-28 13:39:08 +03:00
604f169ba5
Repair - Support all modded toolkits ( #8595 )
2021-11-11 12:41:25 +01:00
7bc6fdfa66
Cleanup - Trim all trailing whitespace ( #8651 )
2021-10-30 16:42:03 -05:00
095fe2b874
Repair - Add support for RHS optic hitpoints ( #8347 )
...
* Potential fix for #8304
Update fnc_addRepairActions to include hitpoints that influence turret view
* Support for the RHS Stryker hitpoints
This whole function is a nightmare but there's no better way to do this. Side effects may include unnecessary hitpoints being shown.
* Style pass
* whoops
2021-10-12 22:20:36 -05:00
82f705b5a1
speed up fnc_getClaimObjects ( #8459 )
2021-10-12 16:09:56 -05:00
e4be783f80
Repair - Add Locations Boost Training Setting ( #8349 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2021-10-12 22:53:45 +02:00
9479c29b42
Repair - Fix claimed object abuse ( #8460 )
2021-10-10 18:50:10 +02:00
2a7eb07803
Use modelToWorldVisualWorld ( #8489 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2021-10-10 15:37:05 +02:00
5fbbb34d2d
Make unrelated things not explode when repairing ( #8351 )
...
_useEffects was probably inverted. Makes ERA/SLAT not explode when repairing unrelated hitpoints. See #7452 .
2021-10-05 12:27:55 -05:00
75f7ed7532
Utilize isNotEqualTo ( #7929 )
...
* Utilize isNotEqualTo
* undo changes to some files
* redo some changes, fix based on @Vdauphin 's comment
* fix validator issues
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2021-02-27 11:05:05 -06:00
e8693c8db9
Various - Use configOf command for faster lookup ( #8100 )
...
* configOf
* replace some use of CBA_fnc_getObjectConfig
2021-02-18 12:58:08 -06:00
119450f4e9
DAGR / Interaction Menu / Repair - Fix overwriting globals ( #7990 )
...
* Remove global DAGR_NEXT variable
* Remove global ERR variable
* Fix overwriting global this variable
* Fix overwriting global total and hitpoint variables
* fix condition
Co-authored-by: PabstMirror <pabstmirror@gmail.com >
2020-11-08 15:54:14 +01:00
8c2f53ac14
Revert quotation on string args
2020-02-12 22:07:19 +01:00
1872b06235
conform isnil checking: repair
2020-02-12 17:29:08 +01:00
d0d70c66ed
Repair - Handle turret hitpoints with no selection ( #7338 )
2019-12-28 10:26:57 -06:00
5ae0ef6bbe
Replace remaining lineIntersects with lineIntersectsSurfaces ( #6898 )
...
* Fix explosive placement while underwater
* Apply suggestions from code review
Co-Authored-By: alganthe <alganthe@live.fr >
* Change placeApprove header to reflect changes
* Replace lineIntersectsWith in isInMedicalFacility
* Replace linesIntersects in isInRepairFacility, fix params
Public func, params should have an expected type.
* Replace linesIntersects in spallTrack
* Replace lineIntersects in getFirstObjectIntersection and findReflection
* Replace lineIntersects in advanced throwing
grenades can pass glass underwater now, I bet all of 0 person will be glad that horrendous bug is now fixed.
* Fix possible issue in pointing while underwater
* Fix possible issue while underwater in attach
* Replace count with isEqualTo in lineIntersectsSurfaces replacements
* Fix inverted conditions
* Fix drawArc
* Fix fnc_attach
* Reverse advanced_throwing and spallTrack lineIntersects changes
* Fix issues raised from code review
2019-12-07 14:58:21 -06:00
e78016d7f7
Repair - Add settings to control item requirements for different actions ( #7243 )
2019-10-24 22:52:04 -04:00
64e640bcf2
revert a variable
2019-05-03 17:09:16 +02:00
744b9778df
temporarily re-allowDamage when using setHit(PointDamage)
2019-05-03 17:03:17 +02:00
3769679237
Add tool to verify stringtable entries exist ( #6889 )
...
* Add tool to verify stringtable entries exist
* Update circle.yml
* test
* Allow running from root directory as well as from inside the tools directory
2019-03-31 15:27:51 -05:00