Data Modding / Issue: Non-hero Protounit does not have production queue when allowed to train other units

  • Game Version: v.100.18.7603.0 (531891R)

  • Build Number: 18.7603 (at least as early as 17.54147)

  • Platform: Steam

  • Operating System: Windows 10

Issue:

Attempting to make units trainable, similar to Set’s Pharaoh, from a non-hero unit works but does not result in a visible production queue, even if the unit being produced has <unittype>DisplayQueue</unittype>. This means players cannot cancel the queue, and have no visual feedback on the size of the queue.

  • Fenris Wolf Brood modified to be able to produce a custom variant of FimbulwinterWolf up to a build limit. The production queue is full (no units are on the map), but does not display.

  • Fenris Wolf Brood similar to previous image, but with <unittype>Hero</unittype> added. Production queue shows correctly.

proto_mods.xml.txt (4.4 KB)
techtree_mods.xml.txt (625 Bytes)
stringmods.txt (596 Bytes)

  • Necessary files to reproduce the issue with the example. The production is enabled through MythicAgeTyr.

Trigger Event:

Clicking on the train icon does not result in a visible production queue.

Repro Steps:

I was able to reproduce the issue reliably using the Editor and Skirmish games. All reproduction attempts assume the mod is active.

Route #1: Skirmish (Slow)

  1. Start a game as Odin / Loki / Thor.
  2. Advance to the Mythic Age through Tyr.
  3. Attempt production of Fenris Wolves from the free Fenris Wolf Brood.
  4. Observe lack of production queue, despite production occuring, verifying the issue.
  5. Start another game and repeat after adding <unittype>Hero</unittype> to proto_mods.xml, observe it working correctly, implying unnecessary coupling with the Hero tag.

Route #2: Editor (Faster)

  1. Launch the Editor and set Player faction to Odin / Loki / Thor.
  2. Set Starting Age to Mythic. Ideally set starting food and population to a value high enough to observe production is really happening.
  3. Set Mythic Age God to Tyr.
  4. Create one or more Fenris Wolf Brood on the map.
  5. Start the scenario and attempt to produce Fenris Wolves.
  6. Observe lack of production queue, despite production occuring, verifying the issue.
  7. Return to editor and restart scenario after adding <unittype>Hero</unittype> to proto_mods.xml, observe it working correctly, implying unnecessary coupling with the Hero tag.