Jump to content

Extends comment error


Bazante

Recommended Posts

The order of blocks and items in the xml file is important. You need to place new blocks that extends from another block "after" that block in the XML file. So the block you are extending from must have already been read in the file before the compiler reads the new block you made. You will notice in the xml file that all the "master" blocks are at the top/beginning of the xml file. That is why.

Link to comment
Share on other sites

The order of blocks and items in the xml file is important. You need to place new blocks that extends from another block "after" that block in the XML file. So the block you are extending from must have already been read in the file before the compiler reads the new block you made. You will notice in the xml file that all the "master" blocks are at the top/beginning of the xml file. That is why.

 

Thank you so Much guy, you helped me a lot.

Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks

Love You

Link to comment
Share on other sites

I Solved My Problem, But when i go put my Block on Ground it transforms into a street sign.

 

<block id="2550" name="QuarryPlatform Resources">

<property name="CustomIcon" value="cntShippingCrateShamway"/>

<property name="LightOpacity" value="0"/>

<property name="Material" value="Mmetal_medium"/>

<property name="Shape" value="New"/>

<property name="Model" value="cube"/>

<property name="Mesh" value="cutout"/>

<property name="Texture" value="310"/>

<property name="RotationAllowed" value="pivotOnFloor" />

<property name="Class" value="UpgradeRated" />

<property name="UpgradeRated.ToBlock" value="QuarryPlatform Resources2" />

<property name="UpgradeRated.Rate" value="1" />

<property class="RepairItems">

<property name="wood" value="10" />

</property>

<property name="MaxDamage" value="10000"/>

<property name="Stacknumber" value="1"/>

<property class="RepairItems">

<property name="wood" value="1"/>

</property>

<drop event="Destroy" count="0" />

<drop event="Harvest" name="QuarryPlatform Resources" count="1" prob="1" />

</block>

 

<block id="2551" name="QuarryPlatform Resources2">

<property name="CustomIcon" value="cntShippingCrateShamway" />

<property name="CreativeMode" value="Dev"/>

<property name="LightOpacity" value="0"/>

<property name="Material" value="Mmetal_medium"/>

<property name="Shape" value="New"/>

<property name="Model" value="cube"/>

<property name="Mesh" value="cutout"/>

<property name="Texture" value="310"/>

<property name="RotationAllowed" value="pivotOnFloor" />

<property name="Class" value="PlantGrowing" />

<property class="PlantGrowing">

<property name="FertileLevel" value="0" />

<property name="Next" value="QuarryPlatform Resources" />

<property name="GrowthRate" value="20" />

<property name="LightLevelStay" value="0" />

<property name="IsRandom" value="false" />

<property name="IsGrowOnTopEnabled" value="true" />

<property name="GrowOnTop" value="QuarryResources" param1="1" param2="QuarryResources" />

</property>

<property name="MaxDamage" value="10000"/>

<property name="Stacknumber" value="1"/>

<property class="RepairItems">

<property name="wood" value="1"/>

</property>

<drop event="Destroy" count="0" />

<drop event="Harvest" name="QuarryPlatform Resources" count="1" prob="1" />

</block>

 

<block id="2552" name="QuarryResources">

<property name="Class" value="Loot" />

<property name="LightOpacity" value="0"/>

<property name="Extends" value="cntCardboardBox" />

<property name="CustomIcon" value="cntShippingCrateConstructionSupplies" />

<property name="IsTerrainDecoration" value="true" />

<property name="LootList" value="231" />

<property name="CreativeMode" value="Dev"/>

<property name="MaxDamage" value="20000"/>

<drop event="Destroy" count="0" prob="1" />

</block>

 

This is the block.

I'm forgetting something?

Link to comment
Share on other sites

That would of been from my Quarry mod.

You are/were having a error with "cntcardboardbox" because it needs to have the same exact lettering that is in the game files.

 

On another note, if you gave me a day or two more I could of helped you in my own thread since I was/still in the middle of moving files to my new PC.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...