Tuesday, October 12, 2010

HOW TO MAKE A CUSTOM ARCHETYPE IN SANDBOX2

Yesterday I spent a ridiculous amount of time trying to figure out how to create a custom architype so I could spawn it using the SpawnArchitype node included in the flowgraph plugin system. As it turns out it is a ridiculously simple process and I've compiled this quick tutorial for anyone else who wants to do something similar.

Step 1: Open the Database View Pane by going View > Open View Pane > Database View OR you can click the Database View button (DB) straight from the main Sandbox2 window


Step 2: Once the Database View is up stay on the default Entity Library tab. Add a new library by clicking the Add Library button and then giving it a useful name like Custom_Archetypes OR My_Archetypes



Step 3: Now click the Add New Item button on the right-hand side of the drop down menu. The Select Entity Class window will appear, select BasicEntity by going Scripts > Entities > Physics > BasicEntity

Step 4: Give the new entity a useful name and group (although giving it a group is not necessary, this is more so to keep things organised). Click OK

 Step 5: Select the entity you have just created and click on the open new model in the class properties. Select the model you wish to use.

Step 6: You're done! Now use the BasicEntity name in the Entity:SpawnArchetype node- in this example this called Custom_Architypes.Boxes.Box01 (with Archetype spelt wrong)

No comments:

Post a Comment