'cWallGate' ProtoUnit missing from Aztec/Inca and all Asian Civs

:arrow_forward: GAME INFORMATION

  • GAME BUILD #: 39346
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 10

:arrow_forward: ISSUE EXPERIENCED

The ProtoUnit ‘cWallGate’ is missing from the Aztec, Inca, Chinese, Japanese, and Indian data in techtreey.xml. This is not a pertinent issue for human players as they can click the button that builds gates in walls. However, in trying to get the AI to build walls, they cannot build the gate unless this line of code is included in their Age0 techs.

<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
     <target type="ProtoUnit">CWallGate</target>
</effect>

This code is possessed by all Age0 techs (for example the first is ‘Age0French’), except by the civs that were mentioned.

This same issue existed in legacy, but not for the Lakota. Since they were granted access to walls with the introduction of DE, the transition of adding the various wall ProtoUnits to their respective Age0 tech included ‘cWallGate’, so the issue is no longer existent for them.

:arrow_forward: FREQUENCY OF ISSUE

Always.

:arrow_forward: REPRODUCTION STEPS

  1. Enable the rule ‘delayWalls’ in aiMain.xs. Make sure to backup original file.
  2. Play a game with one of the civs mentioned that lack the gate.
  3. They will construct walls but no gates will be built.

:arrow_forward: EXPECTED RESULT

All AI able to construct gates once the appropriate code has been added.

:arrow_forward: IMAGE

Age0French code snippet:

      ...
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">Skirmisher</target>
      </effect>
      // cWallGate exists for the French.
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">CWallGate</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">LivestockPen</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">Church</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">WallStraight2</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">WallStraight5</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">WallConnector</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">Pikeman</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">Crossbowman</target>
      </effect>
      ...

DEAge0Inca code snippet:

      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">Market</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">deKallanka</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">deIncaStronghold</target>
      </effect>
      // As you can see, Wall ProtonUnits exist but cWallGate is absent.
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">WallConnector</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">WallStraight2</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">WallStraight5</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">SettlerNative</target>
      </effect>
      <effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
        <target type="ProtoUnit">Llama</target>
      </effect>
5 Likes

Good catch, the AI needs huge improvement in many ways, having them propperly build walls could be a huge fun up for Skirmish and comp-stomp players :slight_smile:

3 Likes

Heey @NewMercies1775, the AI will start building walls if it ever learns how to properly do so :slight_smile:. Thanks for your report on the gate issue though, we’re now tracking it so the AI is fully prepared if the walls/gates come!

5 Likes

Hopefully they will come soon! Keep the good work!

1 Like