Page MenuHomeFeedback Tracker

Please add command to edit displayName property of customized vehicles
New, NormalPublic

Description

Arma offers splendid opportunities to customize vehicles on mission level with the help of such commands as setObjectTextureGlobal, removeWeaponGlobal, animate/HideTurret, lockTurret, attachTo, etc.

It would be nice to have a command to edit displayName property of a customized vehicle as well.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Feature Request

Event Timeline

Ramblasos created this task.Jul 8 2016, 3:36 PM

Supporting and expanding on this.

Use case: not extensive, but we'd be able to do things like "Qilin" >> "Katie's Qilin" which would be useful for keeping track of specific vehicles, or "AMV-12 Marshall" >> "Patria AMV" without needing a mod for mission-specific stuff.

Proposed syntax:

_vehicle setDisplayName "string";
_vehicle setDisplayNameShort "string";

Optional alt syntax, since I suspect it would be a lot more difficult:

"classname" setDisplayName "string"; // override applies to all vehicles of this class
"classname" setDisplayNameShort "string";
TRAGER added a subscriber: TRAGER.Jan 23 2023, 1:21 PM
honger added a subscriber: honger.Mar 17 2024, 6:19 PM

I'd like to also ask for custom picture.

Question is, how should getters work? Only return custom set values? Return config displayName if no custom value was set?

Also maybe we should combine it all into single command?

ENTITY setCustomEntityData [NAME, SHORTNAME, PICTURE]
ANY = ENTITY getCustomEntityData INDEX;

?

Or maybe call it setCustomEntityInfo by analogy with getEntityInfo, getModelInfo commands