Jump to content

Switch to bow - How to stop the option carrying over to experienced units


LordStark
 Share

Recommended Posts

My Man-at-Arms unit has a "Switch to Bow" toggle upgrade. I made a basic, advanced, and elite version of it to ensure the units stats do not change when an elite Man-at-Arms is switching to the bow.

The problem is that now my elite Man-at-Arms has three "Switch to Bow" options - the basic, advanced, and his elite version.

I tried to correct it doing this but it did not work:

Quote

  <Upgrade>
   -BowSwitchB
    <BowSwitchA>
      <Entity>units/anglo/man_at_arms_switch_bow_a</Entity>
      <Tooltip>Switch to Bow</Tooltip>
      <Cost>
        <wood>0</wood>
      <food>0</food>
      <metal>0</metal>
      </Cost>
      <Time>0</Time>
      <Variant>upgrading</Variant>
    </BowSwitchA>
  </Upgrade>

Also, I was wondering if there was a way to ensure that the Man-at-Arms keeps his actor model when switching to bow? At the moment he converts into the archer model entirely where as I simply want him to put his shield and spear away and pull out a bow. I assume I can make a new actor file that uses the same appearance as the Man-at-Arms but equiped with a bow but even then it will use model variation...

Link to comment
Share on other sites

I've tried several ways but they are not working. Is it supposed to look like this:

 

Quote

  <Upgrade>
    <SpearSwitchA replace="SpearSwitchB">
      <Entity>units/anglo/man_at_arms_a</Entity>
      <Tooltip>Switch to Spear</Tooltip>
      <Cost>
        <wood>0</wood>
      <food>0</food>
      <metal>0</metal>
      </Cost>
      <Time>0</Time>
      <Variant>upgrading</Variant>
    </SpearSwitchA>
  </Upgrade>

 

Link to comment
Share on other sites

No. :D

Like so:

  <Upgrade replace="">
    <SpearSwitchA>
      <Entity>units/anglo/man_at_arms_a</Entity>
      <Tooltip>Switch to Spear</Tooltip>
      <Cost>
        <wood>0</wood>
      <food>0</food>
      <metal>0</metal>
      </Cost>
      <Time>0</Time>
      <Variant>upgrading</Variant>
    </SpearSwitchA>
  </Upgrade> 

The following might work, but I haven't tested.

  <Upgrade>
    <SpearSwitchB disable=""/>  
    <SpearSwitchA>
      <Entity>units/anglo/man_at_arms_a</Entity>
      <Tooltip>Switch to Spear</Tooltip>
      <Cost>
        <wood>0</wood>
      <food>0</food>
      <metal>0</metal>
      </Cost>
      <Time>0</Time>
      <Variant>upgrading</Variant>
    </SpearSwitchA>
  </Upgrade> 

 

  • Like 1
Link to comment
Share on other sites

I got the following error for my elite man-at-arms:

 

Quote

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "Tick"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onTick@gui/session/session.js:621:3 __eventhandler52 (Tick)@session Tick:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: JavaScript error: simulation/components/Promotion.js line 86 template is undefined Promotion.prototype.IncreaseXp@simulation/components/Promotion.js:86:8 promote@simulation/helpers/Commands.js:648:18 ProcessCommand@simulation/helpers/Commands.js:53:23

ERROR: Failed to call ProcessCommand() global script function

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: JavaScript error: simulation/components/Promotion.js line 86 template is undefined Promotion.prototype.IncreaseXp@simulation/components/Promotion.js:86:8 promote@simulation/helpers/Commands.js:648:18 ProcessCommand@simulation/helpers/Commands.js:53:23

ERROR: Failed to call ProcessCommand() global script function

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "Tick"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onTick@gui/session/session.js:621:3 __eventhandler52 (Tick)@session Tick:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

ERROR: CXeromyces: Parse error: simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml:18: expected '>'

ERROR: CXeromyces: Failed to parse XML file simulation/templates/units/anglo/man_at_arms_switch_bow_e.xml

ERROR: Failed to load entity template 'units/anglo/man_at_arms_switch_bow_e'

ERROR: Errors executing script event "SimulationUpdate"

ERROR: JavaScript error: gui/session/session.js line 225 deepfreeze requires exactly one object as an argument. GetTemplateData@gui/session/session.js:225:34 setupButton@gui/session/selection_panels.js:1072:33 setupUnitPanel@gui/session/unit_commands.js:94:35 updateUnitCommands@gui/session/unit_commands.js:152:18 updateSelectionDetails@gui/session/selection_details.js:527:20 updateGUIObjects@gui/session/session.js:718:2 onSimulationUpdate@gui/session/session.js:668:2 __eventhandler54 (SimulationUpdate)@session SimulationUpdate:1:1

 

Link to comment
Share on other sites

Sure:

Quote

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="units/anglo/man_at_arms_a">
  <Identity>
    <Rank>Elite</Rank>
    <SpecificName>Man at Arms</SpecificName>
  </Identity>
  <Promotion disable=""/>
  <Upgrade replace="">
    <BowSwitchE>
      <Entity>units/anglo/man_at_arms_switch_bow_e</Entity>
      <Tooltip>Switch to Bow</Tooltip>
      <Cost>
        <wood>0</wood>
      <food>0</food>
      <metal>0</metal>
      </Cost>
      <Time>0</Time>
      <Variant>upgrading</Variant>
    </BowSwitchE>
    <Master>
      <Entity>units/anglo/master_at_arms_b</Entity>
      <Tooltip>Appoint as Master at Arms</Tooltip>
      <Cost>
        <wood>100</wood>
      <food>100</food>
      <metal>100</metal>
      </Cost>
      <Time>10</Time>
      <Variant>upgrading</Variant>
    </Master>
  </Upgrade>
  <VisualActor>
    <Actor>units/norse/man_at_arms.xml</Actor>
  </VisualActor>
</Entity>

And:

Quote

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="units/anglo/man_at_arms_switch_bow_a">
  <Identity>
    <Rank>Elite</Rank>
  </Identity>
  <Promotion disable=""/>
  <Upgrade replace="">
    <SpearSwitchE>
      <Entity>units/anglo/man_at_arms_e</Entity>
      <Tooltip>Switch to Spear</Tooltip>
      <Cost>
        <wood>0</wood>
      <food>0</food>
      <metal>0</metal>
      </Cost>
      <Time>0</Time>
      <Variant>upgrading</Variant>
    </SpearSwitchE replace="SpearSwitch">
  </Upgrade>
  <VisualActor>
    <Actor>units/norse/infantry_archer_e.xml</Actor>
  </VisualActor>
</Entity>
 

 

Edited by LordStark
Highlighting some of the code red
Link to comment
Share on other sites

Apologies. I wasn't clear.

Either use:
 

<Upgrade replace="">
	...
</Upgrade>

To override the whole component.

Or try

<Upgrade>
   	<SpearSwitchA disable ="" /> 
   	<SpearSwitchB disable ="" /> 
  	<SpearSwitchE>
		...
  	</SpearSwitchE>
</Upgrade>

 

 

  • Thanks 1
Link to comment
Share on other sites

Thanks for your response, my code contains the: <Upgrade replace=""> line. I edited my previous message to highlight where it appears in each section.

Just an FYI, I tried your <SpearSwitchA disable = ""/> first and it did not work - although I will retry it again as I am not sure I put the / in it.

 

EDIT: Problem resolved. I discovered a line of code that should not have been there "    </SpearSwitchE replace="SpearSwitch">"

Edited by LordStark
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...