Freizeit Posted December 30, 2021 Share Posted December 30, 2021 (edited) 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 December 30, 2021 by Freizeit (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now