Skip to content

Look into issues with ImportMapVariant command #12

@MtnDewIt

Description

@MtnDewIt

Currently, the command does not account for all possible object types within the imported map variant. The presently supported object types include:

  • Vehicles
  • Weapons
  • Equipment
  • Scenery
  • Crates

Another issue is that object indexes are not updated when imported into the map file, which can cause object placements to break entirely.

Ideally, we would use the MapVariantTagNames and loop through each tag name, using the index of that tag name as the index for the object quota, then using the tag name at the corresponding index, we'll get the corresponding tag from the cache, and use that tag's index as the new ObjectDefinitionIndex. If the tag cannot be found, we will print a warning and set the ObjectDefinitionIndex to -1

Metadata

Metadata

Assignees

Labels

bugIssues that don't cause TagTool to crashfeature requestSuggestions for new features or commands

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions