I tried to add a new shape to the game.
changed the shapes.xml
<CollectorsHeaven>
<append xpath="/shapes">
<shape name="sockel">
<property name="Path" value="solid"/>
<property name="Shape" value="New"/>
<property name="Model" value="#@modfolder:Resources/Artifacts.unity3d?Vase"/>
<property name="CustomIcon" value="shapeCube0.75m"/>
<property name="ShapeCategories" value="DECO"/>
<property name="MaterialHitpointMultiplier" value="1"/></shape>
</append>
</CollectorsHeaven>
and the new shape is in the shape list, but when i try to place it an "NullReferenceException: Object reference not set to an Instance of an object" appears.
what do i miss? do I need a different Unity Tag for shapes?
or is this even possible?
maybe someone has allready some expirience with shapes and can help me with this...
Thanks!
changed the shapes.xml
<CollectorsHeaven>
<append xpath="/shapes">
<shape name="sockel">
<property name="Path" value="solid"/>
<property name="Shape" value="New"/>
<property name="Model" value="#@modfolder:Resources/Artifacts.unity3d?Vase"/>
<property name="CustomIcon" value="shapeCube0.75m"/>
<property name="ShapeCategories" value="DECO"/>
<property name="MaterialHitpointMultiplier" value="1"/></shape>
</append>
</CollectorsHeaven>
and the new shape is in the shape list, but when i try to place it an "NullReferenceException: Object reference not set to an Instance of an object" appears.
what do i miss? do I need a different Unity Tag for shapes?
or is this even possible?
maybe someone has allready some expirience with shapes and can help me with this...
Thanks!
Last edited by a moderator: