The Basics #
Regulator City ships with a built-in level editor (on PC) which allows you to create and share new levels for players to operate and complete missions. The level-editor is fairly straight forward, but if you just start tinkering with it, you might need a little help with the basics!
There are a few main elements that make up a level:
-
- Walls, these set the boundaries of where the player can move. So you’ll be creating square area’s making up rooms and hallways.
- Entities, these are the special things you can add to a level. Player start location, Enemy spawn-spots, Fire, Doors, Buttons, etc.
- Furniture, this is everything else! From chairs, desks and plants to cars, airplanes and lights.
When you place Furniture or Entities on the level you will notice that they get a little number next to it, this starts at 0 and if you place the same item again at the same location that number will increase up to 9 and then back again to 0. This is called the group-value, and with this value you can link up specific things. Let’s say you add a Door that requires a Green key card, to link the green key card to the door, you give both of them the group-value 0 (which is the default value). Now we add another Door that requires a Button to be pressed, we don’t want the Door to link to the green key card so we give the Door a group-value of 1 and then the Button also get’s a group-value of 1 to show that THAT Button belongs to THAT Door.
Various other things are linked like this using their group-value, see the Tool Types page for specifics on various tools.
Keys and Mouse #
The editor is operated using the Keyboard and Mouse:
-
- Arrow Keys will scroll the map around.
- + and / can be used for some Zooming
- Ctrl+Z is used to Undo the last couple of actions
- F1 is a quick way to toggle Light’s rendering on/off – handy to see if there are dark area’s in the map
- F – When you are hovering on Furniture placed in the level you can press the F to Flip that item horizontally. Can come in handy when you are placing things next to a wall.
- W and S – When you are placing Furniture you will see a bar at the top of screen showing all the furniture in that specific group. You can click on items but you can also use W and S to cycle through the active item.
- Right-Click – Will remove the item at the current cursor spot. This goes for walls, entities and furniture.
Toolbar Tools #
On the left side you’ll find the Toolbar containing all the operations you need to create and save your level.
Loading and Saving – Load a map and also Save your map or Save As if you want to rename/copy it. Levels are saved in the levelmaps/ folder in the Game’s installed directory.
Tool types – This is where you’ll find yourself most of the time as it provides you with placing walls, entities, special items, etc. See Tool Types for a full list of these.
Textures – Place and change textures on walls and floors. A room isn’t a room until a Texture is placed on the floor!
Items – A big box of nice items to add to the level. Furniture split up in various categories. Vehicles, Living room things, Office or Hospital stuff, Flora, Garbage and Junk, Technology, etc. Pick something, place it somewhere, and pretty up your level!
Tools – Special editing tools like Copy area’s, Clear the level, Toggle Lights on/off, etc.
Play game – Once your level is done, and there are no more errors, and you saved it, you can play test the level with various settings for mission-type, night, rain, etc.
Exit – Stop editing and return back to the game.
Steam Workshop #
If you are playing the game through Steam, you can also export your levels to Steam Workshop and easily share the level with other Regulator City players and friends. First step is to make sure your level is fully done, playable and all changes are saved (The Steam publish button is disabled until the file is saved and there are no errors).
When you publish to Steam you’ll have to enter a Title of the item, and a short description of the level. This will then be used to show your level on Regulator City’s Workshop page for others to play.
It will automatically generate a screenshot of the level and upload it along with the level. You can modify these things on Steam itself, but for most levels this should be all you need to do.
Updating a Workshop item #
If you want to update your existing Workshop item you can change your map and then when you push it to steam make sure it has the exact same title as the original version. As long as the title is of an existing Workshop item, the item will overwrite the one on Steam.
Now go make your First Basic Level !