Level Editor

This page is a work in progress. You can help the wiki by *adding to it*.

 This page may require cleanup to meet quality standards. Please help *improve it* if you can.  The Discussion page may contain suggestions.

The **Level Editor** is a game mode in Streets of Rogue that, as the name indicates, allows players to create levels. It also allows creation of custom Chunks and Campaigns.

The Beta of the Editor was released on November 21 2019 Version 85 and was fully released in Version 87 January 10 2020 with the Steam Workshop support for the user-made Chunk Packs, Campaigns for the players to play and download.

Players can access it in the Main Menu by going to Custom Content and find the Level Editor there.

## Modes

There are Four Modes in the Editor. Chunk, Level, Campaign and Chunk Pack Mode. They serve differently in regards to level making and their uses. The Editor always loads Campaign mode first.

### Chunk Mode

> *A guide to chunk creation is coming soon!*
>
>

One of the most integral parts of creating new levels and the most important part of the game. Chunk mode allows you to create new chunks and buildings, such as Police Stations, Fire Stations, Casinos, Banks, Shops etc, or even create new types of buildings.

Creating a new custom chunk has important parts:

### Level Mode

Level mode allows you to create levels for the player to play in and are required for Campaigns you're making. They require chunks to piece them together (Either custom made by you or by others, or prefabs created by the game) and of course require the Level start and the end.

Creating a campaign has these options:

* District: The type of distract and the theme of your Level. You can select from Slums, Industrial, Park, Downtown, Uptown or Mayor Village as your District.

* Disaster: The Disaster if you want your level to have Bombs Dropping in it or a War Zone happening.

* Mutator: The Mutator the level forces the player with. The current mutator disappear once goes to the next level.

* Features: The Features of the level should Cop Bots appear and spawn or if Exploding Barrels and Slime Barrels be around the level. You can also select "District Defaults" to make the game choose the default settings of the level of the district you chosen.

* Music: Allows you to choose a Music for your level it should play.

* Difficulty: The level of Difficulty of the level. The level of difficulty can make some chunks or the level itself to more harder, with more guards or NPCs being more armed with better weapons.

* Allow Teleport: Should the game allow the player to Teleport in your level.

* Random Layouts: The layout of the level is randomized or not.

* Random Quests: Missions will be placed randomly in different chunks in the level.

* Refresh Chunks: Refreshes the custom made chunks if they were modified.

* Extract Chunks: Extracts the custom chunks in the level, allowing you modify them in "Chunk Mode"

* Refresh Campaigns: Refreshes campaigns that uses the level.

You can also place Empty or "Randomized" chunks in the "Prefabs" and you can also a specific Mission type for each type of chunks.

If theres no "Level Start" the game will give an error saying "Level must have at least one starting elevator. Try adding the chunk: Level Start".

### Campaign Mode

Allows creation of Campaigns and set of levels for the player to play with. The Campaign itself requries Levels and Chunks, these can range from challenges to quests for the player to be invested in. The Campaign mode is always selected as default when the level editor is started up.

Creating a Campaign has these options:

* Levels List: The number of levels in your Campaign.

* Mutator: The Mutator the game forces the player with. The mutator is always present throughout in the camapign.

* Chunk Packs: The custom chunks the campaign has. For Levels with Random layouts.

* Exclude standard chunks: Prevents vanilla chunks from spawning. WARNING: Levels will not load of there isn't variety in the custom chunks to create the level.

* Player: Should the Players Choose their Characters to play as. Or forced to play a specific character or a Custom Character of your campaign. For example Player 1 is forced to be a Soldier while Player 2 is forced to be a Firefighter.

* Extract Levels: Extracts the levels from the campaign, allowing you modify them in "Level Mode"

* Extract Chunks: Extracts the custom chunks from the campaign, allowing you modify them in "Chunk Mode"

* Extract Custom Characters: Extracts custom characters from the campaign, allowing you to play in a normal game or to modify them"

* Refresh Levels: Refreshes levels that are in the campaign.

* Refresh Chunks: Refreshes the custom made chunks if they were modified.

* Refresh Custom Characters: Refreshes custom characters in the campaign if they were modified.

* Submit to Workshop: Submits your Campaign to the Steam Workshop. (Steam Only)

### Chunk Pack Mode

Chunk Packs allow you to play your or others custom made chunks in a normal game in Custom Content to add extra variety.

Like Level Mode, Creating a chunk pack has these options:

* Chunks: The custom Chunks that are included in the pack.

* Extract Chunks: Extracts the custom chunks from the chunk pack, allowing you modify them in "Chunk Mode"

* Refresh Chunks: Refreshes the custom made chunks if they were modified.

* Refresh Campaigns: Refreshes campaigns that are using the chunk pack.

* Submit to Workshop: Submits your Chunk Pack to the Steam Workshop. (Steam Only)

## Play Testing

Important for testing chunks, levels and campaigns to look and find for any oddities, bugs and if the chunk is too easy or hard. This can be accessed in "Play Settings" to set what Character you're going to play as. "Play" lets you test the chunk, level or campaign.

There are a few options depending on what mode the editor is in. Allowing you to change the "Lighting" to either Full or Medium, and in Chunk Mode you can also change the theme with "District" and the level of "Difficulty" as well to test the spawn rates for the NPCs.