Bazante Posted January 20, 2018 Share Posted January 20, 2018 I getting an erron On Block i create with comment:Extends The Error is Following: cntcardboardbox not especified for my block. Any Ideas? Link to comment Share on other sites More sharing options...
xyth Posted January 20, 2018 Share Posted January 20, 2018 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 More sharing options...
Bazante Posted January 20, 2018 Author Share Posted January 20, 2018 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 More sharing options...
Bazante Posted January 21, 2018 Author Share Posted January 21, 2018 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 More sharing options...
Killermoench Posted January 21, 2018 Share Posted January 21, 2018 You forgot that the last useable block id is 2047, because only 11 bits are used for storing of block id in the map data. Link to comment Share on other sites More sharing options...
Bazante Posted January 21, 2018 Author Share Posted January 21, 2018 You forgot that the last useable block id is 2047, because only 11 bits are used for storing of block id in the map data. So Who Id i Can Use? Link to comment Share on other sites More sharing options...
xyth Posted January 21, 2018 Share Posted January 21, 2018 So Who Id i Can Use? Open up the block.xml file and starting at the top, look for the first unused number. There is a large number of open blocks ID's beginning at 74 Link to comment Share on other sites More sharing options...
Bazante Posted January 22, 2018 Author Share Posted January 22, 2018 I finally Put It to Works, Thanks a Lot for everyone who helped-me. Link to comment Share on other sites More sharing options...
GG2015 Posted January 23, 2018 Share Posted January 23, 2018 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.