CM-SS13 Nightmare: Quick Start
Nightmare is a system used to introduce round variations. No two rounds should be same, beyond simply changing people and map. Unknowns and changes maintain the game fresh. This is primarily done by dynamically changing the game map. The ScenarioThe Scenario is a set of parameters that direct what Nightmare will do - for example, LV-624 fog gap location. On startup, the game will automatically generate a Scenario, which can then be edited by Admins while in the Lobby to fine-tune or for event running purposes. ConfigurationNightmare works via configuration files. Each map is setup with a folder containing them, for example FormatConfiguration contains a list of "nodes", JSON objects that describe an action to perform. The Adding map insertionsThe primary purpose of Nightmare is to change the round by "inserting" maps, which is replacing chunks of the game map by different ones. This can be done by adding to the nightmare files. Map LandmarksTo know where to insert map files, we use a landmark object. This means placing Example 1: Map SprinklesThe Each file will randomly be inserted depending on its name: Example 2: Map Variations
Example 3: Custom insertsSometimes you might want to do more complicated things, in which case you can edit the configuration files. Exact usage goes beyond this quick start guide, but to take an example:
|