Dicey Posted April 15, 2018 Share Posted April 15, 2018 Hey fellow 7Day's moders - thanks for checking this out! I have a question or problem even regarding a terrain block I am trying to create. Everything seems to be working but the texture does not appear.. instead of the texture its just colorless (black). I've not toyed really at all with terrain blocks so I most likely am overlooking something either that or the texture I want to use just isn't usable on this type of block. Any help or hints would be greatly appreciated! It might seem strange to some but the terrain block I want is Hay. Ive tried a few times but each time I test it i get the same results. The first time around I didn't change the material at all, but in a later test I made a new material for the block just in-case it was related to the stability (being a terrain block I figured it might) but no nothing much changed. Also It had 1 # of texture reference as opposed to the now 6, I figured it 'may' have been an issue there but still no difference. And also 'Class' was not commented out on a early test occasion but I didn't see Class as a common terrain block property ..so thought that might be the issue, but nope. Nor was it 'Dev' block originally. So yes as of the moment I am a little stumped.. Heres the block code and material code for reference. blocks.xml <block id="17" name="hay"> <property name="CreativeMode" value="Dev"/> <property name="CustomIcon" value="dirt"/> <property name="CustomIconTint" value="145,145,0"/> <!--<property name="Class" value="Hay"/>--> <property name="Material" value="Mhay"/> <property name="Shape" value="Terrain"/> <property name="Mesh" value="terrain"/> <property name="Texture" value="196,196,196,196,196,196"/> <property name="FuelValue" value="8"/> <property name="CanPickup" value="false"/> <property name="FallDamage" value="false"/> <property name="ImposterExchange" value="imposterBlock" param1="78"/> <!--<property name="ImposterExchange" value="imposterBlock" param1="107"/>--> <property name="DropScale" value="2"/> <property name="LPHardnessScale" value="4"/> <property name="Map.Color" value="145,145,0"/> <property class="RepairItems"> <property name="yuccaFibers" value="7"/> </property> <drop event="Harvest" name="yuccaFibers" count="10" tool_category="harvestingTools"/> <drop event="Destroy" count="0"/> <drop event="Fall" name="hay" count="1" prob="0.25" stick_chance="1"/> <drop event="Fall" name="hay" count="8" prob="0.187" stick_chance="0"/> <property name="CanMobsSpawnOn" value="true"/> <property name="Group" value="Building"/> <property name="EconomicValue" value="6"/> <property name="EconomicBundleSize" value="1"/> <property name="SellableToTrader" value="false"/> </block> materials.xml <material id="Mhay"> <property name="damage_category" value="earth" /> <property name="surface_category" value="plant" /> <property name="particle_category" value="xt_tallgrass" /> <property name="particle_destroy_category" value="xt_tallgrass" /> <property name="Hardness" type="float" value="1" /> <property name="stepsound" value="leaves" /> <property name="stability_glue" value="20" /> <property name="Mass" type="int" value="5" /> <property name="MaxDamage" value="50" /> <property name="Experience" value="2"/> </material> Thanks in advance for any help, cheers! Link to comment Share on other sites More sharing options...
n2n1 Posted April 15, 2018 Share Posted April 15, 2018 For terrain-textures - used a separate Atlas(resource), you can not use textures from blocks. Link to comment Share on other sites More sharing options...
Dicey Posted April 16, 2018 Author Share Posted April 16, 2018 Ah thats fair enough, cheers for the info. I'll see how a six-sided plains ground texture looks instead, might be ok for the purpose. Cheers again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.