Jump to content

Error in building construction.


gameboy
 Share

Recommended Posts

Today, I tested the latest SVN20299, and when I was building a Spartan opera house in the game, the error message suddenly appeared:

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element props in interleave

ERROR: RelaxNGValidator: Validation error: art/actors/structures/spartans/theatron.xml:24: Element variant failed to validate content

ERROR: RelaxNGValidator: Validation error: art/actors/structures/spartans/theatron.xml:5: Element group has extra content: variant

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element group in interleave

ERROR: RelaxNGValidator: Validation error: art/actors/structures/spartans/theatron.xml:4: Element actor failed to validate content

ERROR: RelaxNGValidator: Validation failed for '(null)'

ERROR: CXeromyces: failed to validate XML file art/actors/structures/spartans/theatron.xml

Link to comment
Share on other sites

It sounds strange. Validation is validation :P

Nuking that part (keeping the 3rd one is ok) solves the problem:

        <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush" minheight=""/>
        <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_1" minheight=""/>
        <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_2"/>
        <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_3" minheight=""/>
        <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush" maxheight="" minheight=""/>
        <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_1" maxheight="" minheight=""/>
        <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_2" maxheight="" minheight=""/>
        <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_3" maxheight="" minheight=""/>

I don't know anything at all that. But minheight and maxheight need a float. Perhaps the matter is here.

Link to comment
Share on other sites

Replacing the block by

      <props>
        <prop actor="props/structures/decals/dirt_6x6.xml" attachpoint="root"/>
        <prop actor="geology/decal_stone_medit_b.xml" attachpoint="root"/>
        <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush"/>
        <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_1"/>
        <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_2"/>
        <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_3"/>
        <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush"/>
        <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_1"/>
        <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_2"/>
        <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_3"/>
      </props>

is ok for example.

But perhaps you have to set those minheight and maxheight values.

(Perhaps what I say is also stupid, I don't know anything at those stuff).

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