* First Push
Added the ability to edit cargo objects (crates/boxes only) names. Either via in-game action on the object it self or via 3den attributes.
Added a single function which spawns the UI to edit the name and also edits it. This is an scripted UI, it could be changed to a config version if wanted, but as I'm not good in UI coding I left it on this simple version mainly for testing.
Added 4 new stringtable entries, 2 for action and 2 for 3den attributes.
* Add extra stringtable
Forgot to add the UI to the stringtable.
* Update fnc_renameObject.sqf
fixing tabs
* Show custom name only behind
Added new function "getNameItem" that will get the items name.
Put the custom name behind the original name between brackets "[...]".
* Added "Hide Rename Action" setting
Also removed an unused _itemClass from postInit.
* Apply suggestions from code review
Co-authored-by: jonpas <jonpas33@gmail.com>
* Update AUTHORS.txt
Added my name
* Applied the sugesstions.
* Fixed function crash
* Moved to dialog.
* Removed unused comment/code
* Update renameMenu.hpp
Fixed tabs to spaces.
* Update renameMenu.hpp
* move rename to common
* Update addons/arsenal/ui/RscAttributes.hpp
* style and use addActionToObject
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* prevent belt items from being deleted
* fix wrong index
* fix gps not being selected
* & fix UAV terminals not being selected
* add comments, delete extra line
* use getUnitLoadout for assignedItems
* change 7.62x67 to .300 WM
* initial commit
* stringtables, add LM suffix to .338 magazines, strings for 12.7x99 10Rnd mags
* use correct strings for .50 BMG 10rnd mags
* Remove 6.5C mags from inappropriate side boxes
* remove duplicate stringtable entrys
* add MX 6.5C color variants, add MSBS 6.5C mags, move 6.5C to marksman rifles only, add new mags to boxes, switch DMR_03 to sr25 magwell
* Fix UBC
* fix stupid
* add space before 'mm' in strings
* add missing 762x51 10Rnd mags
* Revert "add space before 'mm' in strings"
This reverts commit fca5fa9f14.
* redo add space before mm in strings
* Add ability to customize colors of injuries
Added CBA settings entries.
Updated default values.
Added English and Russian locales.
* copypaste cleanup
* move comments and make code more maintainable
* Apply suggestions from code review
Newline at end of files
Co-authored-by: Dedmen Miller <dedmen@users.noreply.github.com>
Co-authored-by: Dedmen Miller <dedmen@users.noreply.github.com>
* Refactor Clear Trauma
Add in setting for clearing trauma after stitching a wound, make clearing trauma after bandage clear trauma of individual wounds as they're bandaged instead of all at once when fully bandaged.
* Make git diff slightly prettier.
* Update fnc_bandageLocal.sqf
* Style pass
* once more for the diff
* fix stupid
* Ddd trauma/visuals on bandage reopening
* add lineIntersectsSurfaces to med menu key
* fix _target = nil if no intersections
* only look through player and player vehicle
* Update addons/medical_gui/XEH_postInit.sqf
Co-authored-by: commy2 <commy-2@gmx.de>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: commy2 <commy-2@gmx.de>
* Add setting to disable effect of ambient brightness on view dist
* Add periods and Title Case for English localization
* Apply suggested code. Make it more readable
Co-authored-by: jonpas <jonpas33@gmail.com>
* fix spelling
* fix mistype
* one more mistype
* Implement suggestions
Settings parameter as slider.
English and Russian localization.
* Update addons/nametags/functions/fnc_getCachedFlags.sqf
Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
* make registerItemReplacement add to proper container
* cleanup, fix variable in itemReplacements namespace
* add exception for not having room in original container