HPL3/SOMA/Getting Started
Jump to navigation
Jump to search
Tip: Complete the steps in order. Each step ends with a checkpoint. Do not continue until the checkpoint works; this keeps configuration, map, and script problems separate.
This guide takes you from a working installation of SOMA to a stand-alone mod with a map you can edit and a script you have changed yourself. It uses the MinimalCustomMapMod included with the game, so you begin with a known-working configuration instead of assembling every file from scratch.
What you will make
By the end of this path, you will have:
- your own mod folder, separate from the bundled example and the base game;
- a stand-alone mod that starts directly in its map;
- the Level Editor configured to work on that mod;
- a saved change to an HPL3
.hpmmap; and - a changed
.hpsmap script which displaysHello World!in-game.
No previous HPL modding experience is required. Basic programming knowledge is helpful for the scripting step, but not required for completing it.
The path
| Step | Task | You are finished when... | Detailed reading |
|---|---|---|---|
| 1 | Prepare your tools | SOMA, the Level Editor, and a text editor are ready. | SOMA Modding |
| 2 | Create and launch your mod | Your copied mod appears in the launcher and its sample map starts. | Creating a Mod; MinimalCustomMapMod |
| 3 | Configure the Level Editor | The editor title bar says (Working on mod).
|
Setup Modding Environment |
| 4 | Edit your first map | A visible map change survives saving, closing, and reopening the editor. | Level Design; Level Editor View |
| 5 | Add your first script | Hello World! appears when the map starts.
|
Scripting Workflow and Structure; Hello World |
| 6 | Test, debug, and continue | You can reload the map, find script errors, and choose the next documentation section. | Developer Debug Menu; Developer Commands |
Ground rules
- Work in your mod folder. Do not edit base-game files or the original
MinimalCustomMapMod. - Use relative resource paths. Your mod should not depend on another user's installation path.
- Keep the whole map together. An HPL3 map consists of the main
.hpmfile and its accompanying.hpm_*files. Do not treat it as an old HPL2.mapfile. - Test one change at a time. First launch the untouched copy, then configure the editor, then edit the map, then edit the script.
- Keep names simple at first. Use letters, numbers, and underscores for folders, maps, and object names.
If you are already experienced
The table above is the complete route. You can skip directly to any checkpoint and use the linked articles as reference. The step pages intentionally contain only the minimum context, action, expected result, and recovery information needed for a first successful mod.