Missing Root Node errors

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

user1679
Posts: 1088
Joined: Fri, 20. Jul 18, 23:20

Missing Root Node errors

Post by user1679 »

I've used Ship Variation Expansion for a while and wanted to try it out in 7.0. Everything seems fine except this error that pops up for both of the launcher systems:


Error loading component macro: Missing root node in XML file 'extensions\ship_variation_expansion\assets\props\weaponsystems\torpedo\macros\weapon_viper_internal_torpedo_macro'.
Error loading component macro: Missing root node in XML file 'extensions\ship_variation_expansion\assets\props\weaponsystems\guided\macros\weapon_viper_internal_missile_macro'.

But I don't see what's missing, the macro looks just like other macros. The mod author says he doesn't frequent Nexus so I figured I'd ask here to see if I could fix it. What is the problem with this?

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<macros>
  <macro name="weapon_viper_internal_torpedo_macro" class="missilelauncher">
    <component ref="weapon_viper_internal_torpedo" />
    <properties>
      <identification name="{6920221,3}" basename="{6920221,1}" shortname="{6920221,3}" description="{6920221,4}" mk="2" />
      <ammunition tags="torpedo" />
      <bullet class="missile_torpedo_heavy_mk1_macro" />
      <reload />
      <storage capacity="5" />
      <hull max="1001" hittable="0" />
    </properties>
  </macro>
</macros>

Return to “X4: Foundations - Scripts and Modding”