Example mods¶
The built-in mods in port/builtin_mods/ are worked examples of bindings, Settings-tab settings, debug overlay tabs, highlights, a free camera and a full gamemode (randomiser). The other examples are in port/mods/examples/, each a folder that can be copied into mods/ or loaded with OPENBLOOD_MODS_DIR=port/mods/examples. They are teaching material: each shows a few parts of the API, not every function.
| Folder | What it shows |
|---|---|
freelancer |
Gamemode with the Hideout as a hub: an obm.ui contract board, Merces earned per contract, gear bought with them and handed out at mission start, a Showdown contract at tier 4 with an unmarked leader, and its own mission endings |
speedrun_hud |
Timer, splits and best times per level in obm.storage, live rating checklist |
roulette |
Random kill method, disguise and rule per target |
woa_hud |
Hides stock HUD elements and draws a different HUD with a PNG image |
realism_mode |
Settings-driven obm.difficulty overrides |
asset_pack |
Sound and texture overrides and obm.audio. It ships as a folder; zip it to test archive loading. |
midnight_remix |
A custom level in MISSIONS with a colour grade and stricter guards (obm.difficulty) while it is played |
custom_model_demo |
obm.models.replace from a JSON layout and a solid prop |
gadget_arsenal |
obm.weapons tuning, explode, distract, weapon_fired |
blackout_weather |
Blackout, flashlight, weather and an action |
superhot_chaos |
Time scale, ragdolls, a patrol and dialogue |
shader_visions |
Shader presets |
ghost_race |
Ghost recording and playback, best time in storage, optional LAN ghost of another player |
level_editor |
obm.ui editor for props, with layouts saved per scene |
tactical_cones_lasers |
draw3d cones and lines, raycasts, a tripwire and a blink teleport |
cinematic_camera |
Camera overrides and a slow-motion kill camera |
enforcer_hacker |
Enforcer and ally tags, doors and cameras |
tactical_gadgets |
Dynamic lights and projectiles |
coop_assassin |
A second agent shown with obm.ghost, synchronised between two machines on a LAN with obm.net |
The contracts example enables Contracts on the launcher through its manifest and supplies the in-game contract tracker.