Unciv/docs/Modders/Scenarios.md

22 lines
789 B
Markdown
Raw Normal View History

2023-12-24 04:36:14 +07:00
# Scenarios
Scenarios are specific game states, set up so a player has a specific experience.
These can range from just having cities and units in specific places, to having full-blown custom rulesets to support them.
When creating a mod, we differentiate the *ruleset* from the *scenario* - the scenario is just a specific game state, or in other words - a saved game.
To create a scenario:
2023-12-24 04:46:35 +07:00
2023-12-24 04:36:14 +07:00
- Create a new game with the players you want, AND a spectator
- Enter the game as the spectator, and edit the save using the console
- Save the game, copy the game save file to a "scenarios" folder in your mod
## Console
2023-12-24 04:46:35 +07:00
To open the console, click the `` button on your keyboard.
2023-12-24 04:36:14 +07:00
To see available commands, click enter. This works for subcommands as well (e.g. when you entered `tile`)