-
Notifications
You must be signed in to change notification settings - Fork 0
Scenario Scripting
TODO: Update
First, go through the screens under "Mission Scripting" on the project website. If you prefer a video guide, try these: Scenario writing guides on YouTube.
After that, here are some suggested steps to making scripts:
- Simple experiment
- Open the "Empty Space" scenario and create some terrain (asteroids, mines, black holes, etc.)
- Click the "Copy Scenario" button
- Open your favorite text editor and paste and you'll see the objects you clicked to create in code
- See how an existing scenario works
- Open an existing scenario script. I suggest Waves or Birth of Atlantis
- Look at how these scripts do the things you observed when you played the scenario
- Read the reference
-
On Windows, find
script_reference.htmlin the same directory as EmptyEpsilon.exe -
On Mac, assuming you built from source following the instructions in this wiki, find
script_reference.htmlin the _build directory along side theEmptyEpsilon.appfile -
on Mac, assuming you're running under Wine, find
script_reference.htmlafter you view package contents and navigate to the folder with EmptyEpsilon.exe. This is typically under drive_c/Program Files/EmptyEpsilon. -
On Linux, assuming you built from source following the instructions in this wiki, find
script_reference.htmlin the _build directory along side the EmptyEpsilon executable file -
The reference file lists almost all the scripting features available. Just reading through some of the things you can do can be inspirational.
-
If you build from source, the reference can also be generated with the
script_docs/main.pyPython 3 script, which scans the source code and produces the HTML reference. Run it from the repository root:python3 script_docs/main.py
- Talk to your fellow gamers about what they'd like to see and then try to put it into a scenario.
- Home
- Building and installing the game
- Configuring the game
- Playing the game
- Officer roles and screens
- Captain
- Main screen
- Ship window
- Crews of 5-6 players
- Crews of 3-4 players
- Single-player crew
- Game Master (GM) screens
- Extra screens
- Minigames
- Weapon types
- Officer roles and screens
- Extending the game
- Troubleshooting
- Fork content