zackss Posted January 10, 2021 Share Posted January 10, 2021 I'd like to make frame blocks have no collision with the player, but it seems like removing "movement" from the collision list doesn't accomplish this. Does anyone know how to do this? Here's my simple attempt to clone the woodFrameMaster and woodFrameBlock and remove movement collision, but the frames still block movement. <block name="zzzwoodFrameMaster"> <property name="Extends" value="woodWeakNoUpgradeMaster"/> <property name="MaxDamage" value="50"/> <property name="Shape" value="New"/> <property name="LightOpacity" value="0"/> <property name="Model" value="cube"/> <property name="Mesh" value="cutout"/> <property name="Frame"/> <property name="Texture" value="381"/> <property name="UseGlobalUV" value="Local"/> <property name="ImposterExclude" value="true"/> <property name="ImposterDontBlock" value="true"/> <property name="CreativeMode" value="None"/> <property name="Collide" value="melee"/> <!-- removed movement and rocket --> <property name="CanPickup" value="true" param1="woodFrameBlockVariantHelper"/> <property class="RepairItems"> <property name="resourceWood" value="2"/> <property class="UpgradeBlock"> <property name="ToBlock" value="woodMaster"/> <property name="Item" value="resourceWood"/> <property name="ItemCount" value="4"/> <property name="UpgradeHitCount" value="4"/> </property> <property name="CustomUpgradeSound" value="place_block_wood"/> <drop event="Destroy" name="resourceWood" count="1"/> <property name="FilterTags" value="fbuilding,fwood,fconstruction,fframes"/> <property name="SortOrder1" value="g0t0"/> <property name="SortOrder2" value="0002"/> </block> <block name="zzzwoodFrameBlock"> <property name="Extends" value="zzzwoodFrameMaster"/> <property name="Mesh" value="opaque"/> <property name="Shape" value="New"/> <property name="Model" value="cube_frame"/> <property name="SortOrder2" value="0050"/> <!-- SortShape --> <property name="Path" value="solid"/> <property name="Texture" value="241"/> <property name="Group" value="Building,advBuilding"/> <property class="UpgradeBlock"> <property name="ToBlock" value="woodBlock"/> </block> Link to comment Share on other sites More sharing options...
zackss Posted January 22, 2021 Author Share Posted January 22, 2021 Bumping this. Is there any way through XML to make an existing solid block not block movement? Link to comment Share on other sites More sharing options...
xyth Posted January 26, 2021 Share Posted January 26, 2021 The wood material has collision properties. Make a new material without collision. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.