Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/MAP_MODDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,11 @@ sea's height so nothing under it counts. `--keep-problems` packs a level as it i
planet**. It packs the level, exports it and adds it to your mods in one step.
3. Turn on **Mods** and play (section 4).

For the flight there, put two PNGs in the level's `textures` folder: `flight_picture.png`
(128x128, the planet the ship flies to, transparent around it) and `flight_caption.png` (256x32,
its name). The game shows them in place of the template planet's. Without them the flight shows
the template's.
For the flight there, put `flight_picture.png` in the level's `textures` folder (128x128, the
planet the ship flies to, transparent around it). The game shows it in place of the template
planet's. Without it the flight shows the template's. The caption under it is the **Planet Name**
in the game's own font. For a caption of your own, add `flight_caption.png` (256x32); it wins over
the name.

The first add gives the planet an id (`planet/id` in the project's `project.godot`). Keep it: adding again
updates the same planet instead of adding a second one. **Export the levels again**
Expand Down
3 changes: 2 additions & 1 deletion openrac/tools/map_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
import overrides

# A destination's own picture and caption for the flight there (128x128 and 256x32 PNGs in its
# level's textures): the game shows them in place of the template planet's.
# level's textures, each optional): the game shows them in place of the template planet's. Without
# a caption PNG, OpenRAC writes the planet's name in the game's font.
FLIGHT_PICTURES = ("flight_picture.png", "flight_caption.png")


Expand Down
Loading