Jump to content

Guide to make Aztecs ( Mesoamerican mod)


Lion.Kanzen
 Share

Recommended Posts

Quote

ERROR: RelaxNGValidator: Validation error: art/actors/props/units/shields/shield_decoration.xml:2: Type positiveInteger doesn't allow value '0'

Sure having a 0 doesnt mess up the model?, i suppose maybe it does considering the schema only allows positive integers. Maybe change it to 1? I have no clue what that field is though. Not familiar with art actor grammar.

Link to comment
Share on other sites

On 8/28/2018 at 5:04 AM, (-_-) said:

Sure having a 0 doesnt mess up the model?, i suppose maybe it does considering the schema only allows positive integers. Maybe change it to 1? I have no clue what that field is though. Not familiar with art actor grammar.

I already tried that, maybe it's because I use visual code

@asterix the tlax_cavalary_insert a name here  that error only happens in the skirmish maps because the Mexicas and Tlaxcaltecas have no cavalry and the game detects a missing unit

Edited by Trinketos
Link to comment
Share on other sites

So the relevant file is this one: https://github.com/0ADMods/pre-colonial-mod/blob/master/art/actors/props/units/shields/shield_decoration.xml
 

With the following code:

<?xml version="1.0" encoding="utf-8"?>
<actor version="0">
  <castshadow />
  <group>
    <variant frequency="1" name="Shield Decoration">
      <mesh>props/shield/mexica_shield_decoration.dae</mesh>
      <textures>
        <texture file="props/shield/shield_decoration.png" name="baseTex" />
      </textures>
    </variant>
  </group>
  <material>player_trans.xml</material>
</actor>

AFAIK actor only supports 1 as version. That's it.

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...
On 9/2/2018 at 2:29 AM, stanislas69 said:

So the relevant file is this one: https://github.com/0ADMods/pre-colonial-mod/blob/master/art/actors/props/units/shields/shield_decoration.xml
 

With the following code:


<?xml version="1.0" encoding="utf-8"?>
<actor version="0">
  <castshadow />
  <group>
    <variant frequency="1" name="Shield Decoration">
      <mesh>props/shield/mexica_shield_decoration.dae</mesh>
      <textures>
        <texture file="props/shield/shield_decoration.png" name="baseTex" />
      </textures>
    </variant>
  </group>
  <material>player_trans.xml</material>
</actor>

AFAIK actor only supports 1 as version. That's it.

Well, I'll have to check all the actors.

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 3 weeks later...

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...