ACE3/addons/common
Jasper 257d9536cc
Cargo - Add ability to add custom name to cargo objects (#8023)
* 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>
2021-10-12 17:42:38 -05:00
..
data Medical - Hide cursor when unconscious (#8269) 2021-06-27 15:39:17 -05:00
dev Misc - Adjust some functions to be more compatible with sqfvm (#8494) 2021-10-09 15:32:53 -05:00
functions General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
scripts Log checkPBO errors to server log (#7210) 2019-10-04 19:56:25 -05:00
sounds rename core to common 2015-01-12 19:22:58 +01:00
UI Change ACE Hint preview (#6271) 2018-04-15 13:14:31 -05:00
$PBOPREFIX$ rename core to common 2015-01-12 19:22:58 +01:00
ACE_Settings.hpp General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
CfgEden.hpp Add 3den attribute to disable bft (#4452) 2016-09-24 21:46:03 +02:00
CfgEventHandlers.hpp Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
CfgLocationTypes.hpp Cleanup use of ACE_HashLocation (#4975) 2017-03-08 10:15:15 +01:00
CfgMagazines.hpp Fixed: ACE_Fake**** Was showing in arsenal. Fixes #670 2015-04-16 10:10:24 -07:00
CfgMoves.hpp cleaning up common 2015-03-24 20:28:44 +01:00
CfgSounds.hpp formating 2015-01-12 22:34:01 +01:00
CfgUIGrids.hpp Change ACE Hint preview (#6271) 2018-04-15 13:14:31 -05:00
CfgUnitInsignia.hpp Use new QPATHTOF and QPATHTOEF macros 2016-04-08 20:34:50 +02:00
CfgVehicles.hpp Add ACE Flags (#6394) 2018-06-18 15:01:32 -05:00
CfgVoice.hpp Changed all strings to macros (except external) 2015-05-27 19:04:25 +02:00
CfgWeapons.hpp Use CBA Misc Items (#5502) 2017-09-12 23:23:45 -05:00
CfgWrapperUI.hpp Medical - Hide cursor when unconscious (#8269) 2021-06-27 15:39:17 -05:00
CompassControl.hpp Add zeus-like compass control to common (#5860) 2017-12-07 21:51:57 +00:00
config.cpp Medical - Hide cursor when unconscious (#8269) 2021-06-27 15:39:17 -05:00
define.hpp Convert all true/false in configs to 0/1 (#8095) 2021-02-08 04:14:45 +01:00
DisableMouseDialog.hpp Medical - Hide cursor when unconscious (#8269) 2021-06-27 15:39:17 -05:00
HintConfig.hpp Convert all true/false in configs to 0/1 (#8095) 2021-02-08 04:14:45 +01:00
init_handleModifierKey.sqf [WIP] Fix script errors reporting wrong line numbers (#6407) 2018-09-17 14:19:29 -05:00
initSettings.sqf General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
ProgressScreen.hpp Medical - Hide cursor when unconscious (#8269) 2021-06-27 15:39:17 -05:00
README.md Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
RscInfoType.hpp Parachute - Fix "hide altimeter" setting (#6721) 2018-12-06 16:36:35 -06:00
script_component.hpp Enable trenches on snow on Thirsk Winter map (#7830) 2020-08-04 09:21:29 -05:00
script_macros.hpp rename core to common 2015-01-12 19:22:58 +01:00
stringtable.xml Cargo - Add ability to add custom name to cargo objects (#8023) 2021-10-12 17:42:38 -05:00
XEH_missionDisplayLoad.sqf remove deprecated code for 3.8.0 (#4457) 2016-09-24 22:31:10 +02:00
XEH_postInit.sqf General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
XEH_preInit.sqf General - Use engine hashmaps (#8468) 2021-10-10 18:55:14 +02:00
XEH_PREP.hpp Common - Network safe claim (#7258) 2019-12-07 15:18:50 -06:00
XEH_preStart.sqf precompile on game start 2016-02-22 15:20:36 +01:00

ace_common

Common functions and systems used by other components.