Skip to content

ORBAT Creator group editor uses localized strings for unit ranks #772

@RusComBear

Description

@RusComBear

Prerequisites

  • Can you reproduce the problem using ALiVE and CBA Only?
  • Are you running the latest version of ALiVE ?
  • Are you running the latest version of CBA_A3?
  • Have you attached an unbinarized SQM?
  • Have you attached your RPT (If the issue relates to data, also attch Server RPT and ALiVE Plugin Log)?
  • Have you attached screenshots of the Parameters set on the offending Module?

Description

When running Arma 3 in any language other than english ORBAT Creator will use localized strings for unit ranks. This causes two issues:

  • ORBAT Creator can't properly fetch unit ranks (i believe its looking for localized strings instead of english ones), resulting in ranks not showing for all units from existing factions.
  • Group configs generated with ORBAT will have localized strings for all modified ranks. Obviously, these configs would be broken and won't work unless all modified ranks will be rewritten in english manually.

Steps to Reproduce

  1. Run Arma 3 in any language other than english, with Alive and CBA loaded
  2. Create new scenario in the editor
  3. Place any playable unit and ORBAT Creator module
  4. Run scenario test
  5. Open any faction in ORBAT group editor. Currently assigned ranks won't be shown for all units (rank field is empty)
  6. Change rank for any unit and export modified group config. Generated config will use localized string for modified rank and won't work properly without manual fix

Expected behavior: Unit ranks from existing factions should be propely shown. Rank field should never be empty.
Generated group config should work without manual tweaking. All changed ranks should be written in english.

Actual behavior: All unit ranks from existing factions aren't shown. Rank field is empty, unless it's modified by user.
Generated group configs won't work without manual tweaking. All modified ranks will be written in a language that Arma 3 set to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions