So i made a 3d object in blender , transfer it unity and try to turn it in asset library .unity3d , so i can import it in came and make it a custom paint that can be craft etc.. So far my only problem is it can't be pick or damage and im not sure why . If anyone could help me figure out what wrong ( i got a feeling it's the unity part and not my xml. files ) . I use unity version 2022.3.50f1 ( i'm on stable 1.3 ) . Would really appreciate if someone can help me figure out what wrong .
Block.xml
<configs>
<append xpath="/blocks">
<block name="Cyburn_1">
<property name="CustomIcon" value="Cyburn_1" />
<property name="Material" value="Mglass" />
<property name="Shape" value="ModelEntity" />
<property name="MultiBlockDim" value="1,1,1"/>
<property name="Model" value="#@modfolder:Resources/Cyburn_1.unity3d?Cyburn_1.prefab" />
<property name="Place" value="TowardsPlacerInverted"/>
<property name="CanPickup" value="true" />
<property name="Collide" value="sight,movement,melee,bullet,arrow,rocket" />
<property name="DescriptionKey" value="Pinups" />
<drop event="Destroy" count="0" />
<drop event="Destroy" name="paper" count="1" prob="1" />
<drop event="Fall" name="paper" count="0" prob="1" stick_chance="1" />
<drop event="Fall" name="paper" count="1" prob=".75" stick_chance="1" />
</block>
</append>
</configs>
recipes xml
<configs>
<append xpath="/recipes" >
<!-- 2x3 -->
<recipe name="Cyburn_1" count="1" craft_area="workbench">
<ingredient name="resourceWood" count="40"/>
<ingredient name="resourceNail" count="16"/>
<ingredient name="resourceBrokenGlass" count="25"/>
</recipe>
</append>
</configs>
Block.xml
<configs>
<append xpath="/blocks">
<block name="Cyburn_1">
<property name="CustomIcon" value="Cyburn_1" />
<property name="Material" value="Mglass" />
<property name="Shape" value="ModelEntity" />
<property name="MultiBlockDim" value="1,1,1"/>
<property name="Model" value="#@modfolder:Resources/Cyburn_1.unity3d?Cyburn_1.prefab" />
<property name="Place" value="TowardsPlacerInverted"/>
<property name="CanPickup" value="true" />
<property name="Collide" value="sight,movement,melee,bullet,arrow,rocket" />
<property name="DescriptionKey" value="Pinups" />
<drop event="Destroy" count="0" />
<drop event="Destroy" name="paper" count="1" prob="1" />
<drop event="Fall" name="paper" count="0" prob="1" stick_chance="1" />
<drop event="Fall" name="paper" count="1" prob=".75" stick_chance="1" />
</block>
</append>
</configs>
recipes xml
<configs>
<append xpath="/recipes" >
<!-- 2x3 -->
<recipe name="Cyburn_1" count="1" craft_area="workbench">
<ingredient name="resourceWood" count="40"/>
<ingredient name="resourceNail" count="16"/>
<ingredient name="resourceBrokenGlass" count="25"/>
</recipe>
</append>
</configs>




Last edited by a moderator: