/SchematicEditor

Unity Editor to create Schematic files for SynapseSL

Primary LanguageC#

SchematicEditor

This is an editor for the creation of custom object in the Game SCP: Secret Laboratory.

Requirements

Tutorial

For using this Editor you should have some basic Unity knowledge about the Unity interface. You can use all Prefabs you can access inside the Asset directory(open by default) and its sub directories. However don't modify anything inside the EditorFiles directory since it contains all the scripts, mesh and textures needed for the Editor in the backgorund.

How to create a Schematic

  1. Download this repo and open it with unity Unity 2019.4.16f1
  2. Open the Editor scene
  3. Place the Schematic Prefab in the scene
  4. Set a Name and ID in its SchematicInfo Component
  5. Spawn a prefab and add it as child of the Schematic Object

The Editor also supports to add a object as child of another child. This means you can create your own prefab out of the availabe prefabs and simply add the entire object as child.

The last component in the list of components of a object is always the one you can use the setup the object. For Example can you configure if a door should spawn open in SL or closed

Hot to import the Schematics

After building your schematic you can simply just start the play mode of unity and they will be generated in ~/Assets/Schematics. You can also move around in the Player mode to get a better look at the Schematic how they should look like in SL

Credits