ACE3/addons
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
..
advanced_ballistics General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
advanced_fatigue General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
advanced_throwing General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
ai Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
aircraft Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
apl Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
arsenal Cargo - Add ability to add custom name to cargo objects (#8023) 2021-10-12 17:42:38 -05:00
artillerytables General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
atragmx Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
attach Attach - Follow bone rotation for attached items (#8477) 2021-10-10 16:03:50 +02:00
backpacks Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
ballistics General - Fix missing strings (#8506) 2021-10-12 16:10:07 -05:00
captives General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
cargo Cargo - Add ability to add custom name to cargo objects (#8023) 2021-10-12 17:42:38 -05:00
chemlights Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
common Cargo - Add ability to add custom name to cargo objects (#8023) 2021-10-12 17:42:38 -05:00
concertina_wire Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
cookoff Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
csw General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
dagr DAGR / Kestrel - Fix deviceKey condition (#8368) 2021-09-25 10:43:09 -05:00
disarming Disarming - Add quantity to ace_disarming_dropItems event (#8232) 2021-10-11 22:08:02 +02:00
disposable Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
dogtags Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
dragging Interaction - Add interaction with terrain objects (#8103) 2021-10-12 14:36:33 -05:00
dragon Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
explosives Explosives - Add exclusion from dynamic defuse action (#8171) 2021-10-11 15:49:27 -05:00
fastroping Add Vehicle Towing (#8380) 2021-10-12 11:33:05 +02:00
fcs Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
finger General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
flashlights Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
flashsuppressors Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
fonts Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
frag General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
gestures General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
gforces General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
goggles General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
grenades General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
gunbag Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
hearing General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
hellfire General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
hitreactions General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
hot Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
huntir Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
interact_menu Interaction - Add interaction with terrain objects (#8103) 2021-10-12 14:36:33 -05:00
interaction Interaction - Add interaction with terrain objects (#8103) 2021-10-12 14:36:33 -05:00
inventory General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
javelin Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
kestrel4500 DAGR / Kestrel - Fix deviceKey condition (#8368) 2021-09-25 10:43:09 -05:00
laser General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
laserpointer General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
logistics_rope Add Vehicle Towing (#8380) 2021-10-12 11:33:05 +02:00
logistics_uavbattery Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
logistics_wirecutter Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
magazinerepack Magazine Repack - Add setting & hint for repacking loaded magazines (#8475) 2021-10-12 12:54:50 -05:00
main Tools - Update /includes for 2.06 and cba (#8484) 2021-10-05 12:05:42 -05:00
map Map - Use getLightingAt (more light sources illuminate map) (#8343) 2021-10-12 10:31:46 +02:00
map_gestures Translations - Polish (#8497) 2021-10-11 00:27:06 +02:00
maptools General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
markers Translations - Polish (#8497) 2021-10-11 00:27:06 +02:00
maverick Update of Japanese translation (#8492) 2021-10-08 09:05:06 -05:00
medical Medical - Polish translations updates (#8467) 2021-10-01 21:51:19 -05:00
medical_ai General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
medical_blood Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
medical_damage Update of Japanese translation (#8492) 2021-10-08 09:05:06 -05:00
medical_engine Update of Japanese translation (#8492) 2021-10-08 09:05:06 -05:00
medical_feedback Medical Feedback - Add indication of Fractures and applied CATs/Splints (#8321) 2021-10-12 14:16:30 +02:00
medical_gui Medical GUI - Add ability to customize Medical GUI colors (#8350) 2021-10-12 10:11:55 +02:00
medical_statemachine Misc - Adjust some functions to be more compatible with sqfvm (#8494) 2021-10-09 15:32:53 -05:00
medical_status Medical Feedback - Stop effects on featureCamera (#8373) 2021-10-10 16:24:10 +02:00
medical_treatment Repair - Add Locations Boost Training Setting (#8349) 2021-10-12 22:53:45 +02:00
medical_vitals Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
metis Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
microdagr Update of Japanese translation (#8492) 2021-10-08 09:05:06 -05:00
minedetector Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
missileguidance Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
missionmodules Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
mk6mortar General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
modules Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
movement Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
mx2a Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
nametags General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
nightvision General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
nlaw Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
noidle Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
noradio Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
norearm Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
optics Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
optionsmenu General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
overheating General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
overpressure General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
parachute Translations - Polish (#8497) 2021-10-11 00:27:06 +02:00
pylons Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
quickmount Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
rangecard Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
realisticnames add string for black P99 (#8501) 2021-10-10 18:03:41 -05:00
realisticweights Realistic Weights - Add Apex / Contact / Anti-Tank Weapons (#8357) 2021-10-10 12:54:12 -05:00
rearm Update fnc_getNeedRearmMagazines.sqf (#8456) 2021-10-12 16:08:06 -05:00
recoil Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
refuel Fixed jerry can madness (#8348) 2021-10-11 00:47:54 -05:00
reload General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
reloadlaunchers Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
repair speed up fnc_getClaimObjects (#8459) 2021-10-12 16:09:56 -05:00
respawn General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
safemode Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
sandbag Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
scopes General - Fix missing strings (#8506) 2021-10-12 16:10:07 -05:00
slideshow Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
smallarms Small Arms - Fix FNX-45 magazine round count (#8352) 2021-10-10 12:02:26 -05:00
spectator General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
spottingscope Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
switchunits General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
tacticalladder Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
tagging Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
thermals Update contribution documents (#8382) 2021-08-16 20:17:56 +01:00
towing Add Vehicle Towing (#8380) 2021-10-12 11:33:05 +02:00
trenches Translations - Polish (#8497) 2021-10-11 00:27:06 +02:00
tripod Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
ui General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
vector Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
vehiclelock General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
vehicles Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
viewdistance General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
weaponselect Use modelToWorldVisualWorld (#8489) 2021-10-10 15:37:05 +02:00
weather General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
winddeflection General - Move to CBA Settings (#8461) 2021-10-11 15:48:30 -05:00
yardage450 Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00
zeus Add SQFC support (#8235) 2021-09-03 19:08:34 -05:00