Page MenuHomeFeedback Tracker

Improve config design for linkedItem definitions
Reviewed, WishlistPublic

Description

Current design:

weapons[] = {"arifle_Katiba_ARCO_pointer_F","hgun_Rook40_F","Throw","Put","Binocular"};
nakedUniform = "U_BasicBody";
uniformClass = "U_B_CombatUniform_mcam";
linkedItems[] = {"V_PlateCarrier1_rgr","H_HelmetB","ItemMap","ItemCompass","ItemWatch","ItemRadio","NVGoggles"};

Suggested design:

vestSlot = "V_PlateCarrier1_rgr";
headgearSlot = "H_HelmetB";
binocularSlot = "Binocular";
nVGogglesSlot = "NVGoggles";

This could be even expanded to:
primaryWeaponSlot = "arifle_Katiba_ARCO_pointer_F";
secondaryWeaponSlot = "hgun_Rook40_F";

mapSlot = "ItemMap";
compassSlot = "ItemCompass";
watchSlot = "ItemWatch";
radioSlot = "ItemRadio";

In terms of backwards compatibility the current design also has issues.
So switching to this would not bring more problems at least.

Details

Legacy ID
2136918304
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Config
Steps To Reproduce

Reasons:

  • Far cleaner config design
  • More flexible design
  • Code/program backend would become more simple
  • Avoid modding conflicts
  • Improve modding of such
  • Would simplify scripting
  • Would unify the design
Additional Information

Could provide the regex to mass adjust the config side of things or take over the task completely.

Event Timeline

kju-PvPscene edited Additional Information. (Show Details)
kju-PvPscene set Category to Config.
kju-PvPscene set Reproducibility to N/A.
kju-PvPscene set Severity to None.
kju-PvPscene set Resolution to Open.
kju-PvPscene set Legacy ID to 2136918304.May 7 2016, 5:05 PM
Bohemia added a subscriber: AD2001.Oct 8 2013, 10:10 AM