johnb432
421071027e
Common - Add wheel hitpoint function ( #10075 )
...
* Add wheel hitpoint function
* Moved cache to missionNamespace
2024-06-17 10:31:35 -07:00
Grim
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
PabstMirror
a3aef6a066
General - Cleanup spaces in macros ( #9769 )
...
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
2024-02-05 14:04:24 -03:00
PabstMirror
58cedab493
Repair - Fix script error if vehicle is null ( #9479 )
2023-10-12 12:47:59 -04:00
Grim
cf4fe835c3
Repair - Fix adding actions for hitpoints with the same name ( #9430 )
2023-09-25 20:55:23 +02:00
jonpas
742626ff1a
General - Relative script_component.hpp
includes ( #9378 )
...
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00
johnb432
519b1cbeb4
Repair - Improve wheel repair interaction position ( #9345 )
...
Update fnc_addRepairActions.sqf
2023-08-28 09:52:21 -03:00
Kyle Mckay
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
Dystopian
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
Grim
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
BrettMayson
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
GhostIsSpooky
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
Neviothr
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
PabstMirror
d0d70c66ed
Repair - Handle turret hitpoints with no selection ( #7338 )
2019-12-28 10:26:57 -06:00
Dystopian
24d2aa647e
Repair - Fix Typhoon rear wheel change ( #6207 )
2019-03-10 21:41:06 -05:00
Dedmen Miller
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
Dystopian
4e0df9b90e
Minor fixes ( #6465 )
...
* Fix example in ace_map_fnc_simulateMapLight
* Make fnc_addActionToObject public
* Repair - Delete unnecessary condition
2018-07-27 12:24:56 -05:00
mharis001
e90ea95ce7
Change repair to use icon color not multiple files ( #6318 )
2018-05-31 18:11:16 -05:00
PabstMirror
a828ebe591
Repair - Disable repair on ERA/Slat armor hitpoints ( #6283 )
...
* Repair - Disable repair on ERA/Slat armor
Disable "miscRepair" action for all era and slat armor hitpoints.
Can still be repaired via "Full Repair"
* Minor perf improvment
* Add hitpoint names for 1.82 comTurret/gun
* Fix russian translations
2018-04-19 12:31:00 -05:00
PabstMirror
e7b7219bd9
Repair - Handle changes to getAllHitPointsDamage ( #6250 )
...
Since 1.82 `getAllHitPointsDamage` returns lower case
Fix track repair and hit point groups being case sensitive
Part of #6248
2018-04-12 09:15:57 -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
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
f33ff4e767
Repair - Handle depends = "0" ( #5283 )
...
* Repair - Handle depends = "0"
* quote
2017-06-22 22:58:00 -05:00
PabstMirror
bfd3695868
SQF Lint Cleanup Pass ( #5157 )
...
* SQF Lint Cleanup Pass
* Fix var in TRACE
* Add basic python tool
* Simplify
* Hit space key 6 times
* Fix error in dropNozzle
* handle error message exceptions
* Fix py
2017-05-14 14:48:05 -05:00
commy2
05d30c5573
convert log macros to cba versions ( #4282 )
...
* convert log macros to cba versions
* Add changes to AB
* remove obsolete macro
2016-10-02 12:55:31 +02:00
Glowbal
b489750d5b
Minor optimizations using private, params, and isEqualType ( #4323 )
...
* Optimizations with private, params, and isEqualType
* Fixed tab being used instead of space
* Fixed tabs inserted by notepad++
* More usage of new private syntax and params
- changed a few checks for an array being empty to `_arr isEqualTo []`
rather than `count _arr == 0`
- added more uses of `private` on the same line as the variable is
declared
- added more uses of params to assign variables passed as parameters
- removed unnecessary parentheses
- removed several unnecessary variable declarations with private array
syntax
* clean up and formatting
2016-09-04 16:44:22 +02:00
PabstMirror
787a57c12b
Fix track repair selection placement
2016-08-01 21:19:48 -05:00
PabstMirror
419af195e9
#2902 - Remove error and don't exit if veh has no hit points
...
B_UAV_01_F has no hitpoints and would throw error
Don't exit so "fullRepair" action still gets added
2015-12-01 13:43:27 -06:00
PabstMirror
f676e6d9c9
Add some more typeNames replacements
2015-11-27 21:23:27 -06:00
PabstMirror
ab769757d9
Skip Depends Hitpoints - Use HitPoints selPos for wheels
...
Stuff
Normalize Depends - Skip Glass Repair
Fix spawned wheel/track not having correct damage
getHitpointString robustness, hatchback fuelHitpoint, fix count errors
-
Formatting
local -> private
Fix Stuff
2015-11-20 21:11:50 -06:00
SilentSpike
839c022b84
Fix broken repair point selection code
...
Only valid hit selection + hit point combinations are usable for repair points:
- Empty hit points mean there isn't enough information to display to the user
- Empty hit selections mean that the hit point doesn't actually exist
2015-11-20 21:11:23 -06:00
PabstMirror
4e93b9c72d
2307 - Repair sub-turrets
...
Privates
Cleanup debug
Add repair actions for sub turrets
Cleanup
Fix Header
Error Handling
Cleanup setHitpointDamage
Fix common ACE_isEngineer to handle scalar or bool
Claim and release repair objects (wheel/track)
Repair sub-turrets
2015-11-20 21:11:05 -06:00
Glowbal
bbed98fbef
Merge pull request #2394 from jonpas/cleanupRepairRelease
...
Minor Repair Cleanup for release
2015-09-21 22:25:58 +02:00
jonpas
3de783d3a7
Cleanup for branch release, picked from #2366
2015-09-11 19:57:21 +02:00
Michael Braun
657157d767
Merge branch 'master' of https://github.com/acemod/ACE3 into feature/switchToLogMacros
...
Conflicts:
addons/hearing/functions/fnc_moduleHearing.sqf
2015-08-29 22:38:26 +02:00
jonpas
6a6c5008c0
Merge branch 'master' into repairHitpointStrings
...
Conflicts:
addons/repair/functions/fnc_doRepair.sqf
2015-08-26 23:29:36 +02:00
Glowbal
f7679b45ad
Merge pull request #2246 from jonpas/repairHitpointGroups
...
Repair Hitpoint Groups Framework
2015-08-26 23:27:08 +02:00
jonpas
b6d5db9157
Reverted IGNORED_HITPOINTS, Added Taru glasses to it
2015-08-26 23:09:04 +02:00
jonpas
cc70580a93
Improved comments
2015-08-26 22:51:41 +02:00
Michael Braun
5047d4de1c
Switched to ACE_LOG<LEVEL>_# variation
2015-08-26 17:39:44 +02:00
jonpas
dc2e146e8b
Merge branch 'master' into repairHitpointStrings
...
Conflicts:
addons/repair/functions/fnc_addRepairActions.sqf
2015-08-26 17:04:05 +02:00
Michael Braun
097506076f
Fixed format usage in macros requiring ARR_# for it to work
2015-08-26 16:48:55 +02:00
Michael Braun
9e10aa86d7
Standardize logging format through ACE_LOG macros
2015-08-26 15:32:54 +02:00
jonpas
9718883599
Consolidated into 1 function
2015-08-24 20:58:54 +02:00
jonpas
78e7565121
Added support for multiple groups, Fixed check group damage returning true even if hitpoint not in a group
2015-08-24 20:03:11 +02:00
jonpas
cb6efc7c9a
Removed copy/paste minuses
2015-08-24 18:18:54 +02:00
jonpas
04da19190f
Changed custom hitpoint positions config entry to 2d array
2015-08-24 18:17:56 +02:00
jonpas
449af180c7
Moved check for zero position in it's own line
2015-08-24 17:58:19 +02:00
jonpas
32d5ac99d9
Readded ignored hitpoints
2015-08-24 17:56:34 +02:00
jonpas
f2bda7c434
Added hitpoint groups framework
2015-08-24 04:17:24 +02:00