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

I had minheight and maxheight set for the cypresses for obvious reasons, i got rid of them when it started throwing errors. apparently taking them out in the ActorEditor program doesn't get rid of the minheight/maxheight line itself but instead sets the value to ""

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