Jump to content

Question: terrain Smoother tool


EpicSpire

Recommended Posts

I'm *trying* to make a modlet that adds an item that is 3x3. it will be used to level the terrain in flat areas, so the player doesnt have to lay down a bunch of frames when they want to make a garden.

 

i have the block and recipe working. The item is place-able. You can pick it back up. it stacks. has an icon...

 

the problem.. it doesnt level the ground,except the very center terrain block.

 

is there a way to make the entire 3x3 block level the terrain, or is this just a flaw in the mechanic.

 

here is the code for my block

 

<configs>
<append xpath="/blocks">
<block name="Ground_Smoother">
<property name="Extends" value="woodFrameHalf"/>
<property name="MaxDamage" value="50"/>
<property name="Shape" value="New"/>
<property name="LightOpacity" value="0"/>
<property name="Model" value="floor_trap_3x3"/>
<property name="Mesh" value="opaque"/>
<property name="CustomIcon" value="woodFrameHalf"/>
<property name="DisplayType" value="blockMulti" />
<property name="MultiBlockDim" value="3,1,3"/>
<property name="ActivationDistance" value="8"/>
<property name="OnlySimpleRotations" value="true"/>	
<property name="Frame"/>
<property name="Texture" value="381"/>
<property name="ImposterExclude" value="true"/>
<property name="ImposterDontBlock" value="true"/>
<property name="CreativeMode" value="Player"/>
<property name="Collide" value="movement,melee,rocket"/>
<property class="RepairItems"> <property name="resourceWood" value="2"/> </property>
<property name="CanPickup" value="true"/>
<property name="Path" value="solid"/>
<drop event="Destroy" name="Ground_Smoother" count="1" prob="1"/>
<property name="FilterTags" value="fbuilding,fwood,fconstruction,fframes"/>
</block>


</append>
</configs>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...