Jump to content

error importing a mesh to 0ad


Adriano0ad
 Share

Recommended Posts

I created a house mod, I followed all the steps but when I open the editor and click on the house I made it doesn't
 load and closes the program, no error appears in the log, it simply closes the program when I drag the house to the
 screen.

script:

<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
  <castshadow/>
  <group>
    <variant name="base" frequency="1">
      <mesh>structural/jomon_house1.dae</mesh>
      <textures>
        <texture file="structural/textura_casas_primitivas.png" name="baseTex"/>
        <texture file="structural/textura_casas_primitivas_normalmap.png" name="normTex"/>
        <texture file="structural/textura_casas_primitivas_spec.png" name="specTex"/>
         <texture file="structural/ao/textura_casas_primitivas_ao.png" name="aoTex"/>
      </textures>
    </variant>
  </group>
  <group>
    <variant frequency="3" name="Hellenes House A">
      <mesh>structural/jomon_house1.dae</mesh>
      <textures>
        <texture file="structural/ao/textura_casas_primitivas_ao.png" name="aoTex"/>
      </textures>
    </variant>
    <variant frequency="2" name="Hellenes House B">
      <mesh>structural/jomon_house1.dae</mesh>
      <textures>
        <texture file="structural/ao/textura_casas_primitivas_ao.png" name="aoTex"/>
      </textures>
    </variant>
    <variant frequency="2" name="Hellenes House C">
      <mesh>structural/jomon_house1.dae</mesh>
      <textures>
        <texture file="structural/ao/textura_casas_primitivas_ao.png" name="aoTex"/>
      </textures>
    </variant>
    <variant frequency="4" name="Hellenes House D">
      <mesh>structural/jomon_house1.dae</mesh>
      <textures>
        <texture file="structural/ao/textura_casas_primitivas_ao.png" name="aoTex"/>
      </textures>
    </variant>
    <variant frequency="4" name="Hellenes House E">
      <mesh>structural/jomon_house1.dae</mesh>
      <textures>
        <texture file="structural/ao/textura_casas_primitivas_ao.png" name="aoTex"/>
      </textures>
    </variant>
  </group>
  <group>
    <variant name="ungarrisoned" frequency="1"/>
    <variant name="garrisoned">
      <props>
        <prop actor="props/special/common/garrison_flag_hele.xml" attachpoint="garrisoned" selectable="false"/>
      </props>
    </variant>
  </group>
  <group>
    <variant name="alive" frequency="1"/>
    <variant file="structures/destruction_small.xml"/>
  </group>
  <material>no_trans_ao_parallax_spec.xml</material>
</actor>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...