Skip to content

Open Blood Money Blender Level Editor

The Open Blood Money Blender Extension (tools/port/blender_addon/) makes Blender 4.2+ LTS the 3D level editor for Hitman: Blood Money. It covers all three authoring workflows directly in Blender's 3D viewport, with 1-click Build & Playtest launching openbloodmoney in an isolated user directory (never touching your player saves).

1. Installation

Links tools/port/blender_addon/openblood_blender directly into Blender 4.2's user extensions directory (~/.config/blender/4.2/extensions/user_default/openblood_blender on Linux) so edits take effect immediately on reload:

python3 tools/port/blender_addon/install_dev.py

Or build a distributable Blender 4.2+ .zip package (installable via Edit → Preferences → Get Extensions → Install from Disk):

python3 tools/port/blender_addon/install_dev.py --zip build/openblood_blender.zip

Then enable Open Blood Money Level Editor in Edit → Preferences → Add-ons, open the 3D Viewport Sidebar (N), and select the Open Blood Money tab.

The add-on auto-detects the repository root, PAL ISO (Hitman - Blood Money (Europe).iso), and built game binary (build/port/cmake/openbloodmoney); you can override any of those paths in the extension preferences.


2. Three Supported Workflows

Workflow A — Edit Any Existing PS2 Campaign Mission (M00–M13 + HIDEOUT)

  1. In the Open Blood Money sidebar, switch mode to PS2 Campaign Mission, pick any mission (M00–M13 or HIDEOUT), and click Import PS2 Mission from ISO.
  2. The importer decodes the PS2 archive directly into Blender metres (1 Blender metre = 100 Glacier cm) with original .TEX textures and organized Outliner collections:
    • PS2_Architecture — room shells & static building meshes (Phase 2A editable)
    • PS2_Doors — stock SingleDoor / MultiDoor nodes (move, rotate, change lock/state/auto-close, or Safe Delete)
    • PS2_Props — stock movable props (move, rotate, or Safe Delete)
    • PS2_Guards & PS2_Patrols — all campaign guards/actors plus their original PathFollower → ZLIST.GeomList patrol splines as editable Blender Curves (Phase 2B)
    • PS2_Navmesh — hidden-by-default preview of the mission's Pathfinder4 navigation surface
  3. Edit directly in Blender:
    • Move/rotate doors, props, or guards with standard G / R transforms.
    • Click Hide Shell to hide a stock building mesh without shifting GMS REFs.
    • Edit a PS2 building mesh in Edit Mode and click Mark Edited to rebuild its .PRM strips and .OCT collision/bounds trees in place.
    • Edit any stock guard's PS2_Patrols curve vertices in Edit Mode (or switch Loop/Ping-Pong and Walk/Run) to patch their stock waypoints in both PRP and GMS.
    • Add brand-new Blender meshes (auto-exported as embedded GLB props), new patrolling guards, weapons/pickups, CCTV cameras, disguises, triggers, and sandbox devices.
  4. Click Build & Playtest (or Play From Cursor).

Workflow B — Create a Brand-New Custom Level from Scratch

  1. Click New Blood Money Level to create a playable room, Agent 47 spawn, target, patrolling guard with a Blender Curve spline, exit, and point light.
  2. Expand the layout using Room, Stack Above (creates a multi-story upper room + climbable ladder), Stairs / Ramp, and Portal.
  3. Place gameplay entities from the Create & Place panel:
    • Actors: Guard, Worker, Target — attach & edit Blender Poly Curves for patrol routes, snap waypoints to floor, and assign per-waypoint stop actions (wait, look around, arrive).
    • Pickups & Equipment: dynamic dropdown populated directly from your PAL ISO's ZHM3ItemTemplate catalog.
    • Stealth Sandbox: Disguise, CCTV Camera (with live Timeline-animated vision cone overlay), Body Container, Climbable, Device (FuseBox, VCR, KeycardReader, SabotageRig, AlarmPanel), Accident (FallingRig, PoisonSpot, PushLedge, GasLeak, ElectricPuddle), Elevator, Trigger Volume, Dynamic Lights, Sound Emitter, and Cutscene Camera.
  4. Configure briefing text, intel hints, contract rules (Suit Only, Silent Assassin, No Alarms, Time Limit), weather/time-of-day, shader presets, and custom Lua in Mission Studio.
  5. Scrub the Blender Timeline (Space) to preview sweeping CCTV cones and guard patrol beacons in real time via the GPU viewport overlay.
  6. Click Build & Playtest or Export Recipe (exports a recipe mod with .glb, level.json, mission.lua, and top-down pause map).

Workflow C — Port an External Game Level (e.g. de_dust2, CS/Source, FBX, OBJ, glTF)

  1. Import any 3D map via standard Blender File → Import (.glb/.gltf, .fbx, .obj, .blend, or community BSP importers).
  2. Click Toggle 180 cm Agent 47 Scale Guide to visually verify proportions against Agent 47's exact height.
  3. Adjust Map Scale Multiplier in the External Map Porter panel (for example, 2.8 if a model was authored small), then click Prepare External Map for Blood Money. The wizard automatically:
    • Scales and grounds the entire hierarchy near Z = 0 and marks world meshes with collision.
    • Audits triangle/mesh/texture counts against Glacier's limits (< 2048 texture IDs) and packs referenced textures.
    • Creates an enveloping outdoor ROOM volume and directional point light.
    • Builds a Recast-style multi-layer heightfield navmesh (nav_Auto) that respects slope limits, 1.75 m headroom, and multi-elevation overpasses (such as Dust2's Catwalk over CT Mid) while guaranteeing ≥ 1.65 m vertical layer separation for Glacier's Pathfinder4.
    • Places starter Start, Target, and Exit markers directly on valid walkable navmesh vertices.
  4. Add guards with patrol curves, pickups, disguises, CCTV, or tweak nav_Auto in Edit Mode, then click Build & Playtest.

3. Coordinate & Unit Mapping

The add-on handles all coordinate conversions automatically (coords.py):

  • Units: 1.0 Blender metre = 100.0 Glacier centimetres.
  • Axes: Blender (X, Y, Z) (Z-up) ↔ Glacier (X * 100, Z * 100, Y * 100) (Y-up, with Y and Z exchanged).
  • Orientation: Actor/marker objects face local +Y in Blender (matching gltf_level markers), while imported PS2 doors/props preserve exact Glacier yaw round-tripping.

4. Automated Verification

Run the coordinate tests with Python. For live integration checks, install the extension and point OPENBLOOD_BLENDER to Blender. The campaign tests also require the PAL ISO.

python3 tools/port/tests/blender_addon_test.py

For a local installation, install_dev.py --version selects the Blender version (default 4.2) and --copy installs a copy. Export Recipe seeds photos, newspaper and debriefing art from the Gallery Contract example. Replace these with the assets for your level before sharing it.