Jump to content

Adding new Shapes. can't get it to work (A20)


Freizeit

Recommended Posts

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!

 

Edited by Freizeit (see edit history)
Link to comment
Share on other sites

  • Freizeit changed the title to Adding new Shapes. can't get it to work (A20)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...