Lakisa-WKMapLoader icon

WKMapLoader

Make White Knuckle maps in Blender (.glb) with the game's machines, bolts and doors, and chain them into runs. Maps: https://discord.gg/Ke8k7A9gZM

CHANGELOG

Changelog

1.4.0

Game machines and pieces

  • placeprefab <name>: put the game's real machines in your map: vending machines, shops, recycler, lockers, perk computers. They work like in a run. Names are in the mapping guide
  • placeprefab <name> wall: placed exactly at the object and turned like it, instead of standing on the floor. Works with: handhold_basic (red wall bolt), handhold_piton (piton), crate_large / crate_small, silo_door_frame_in / silo_door_frame_out / silo_door (the round Silos door), hazard_caustic_pool (burning pink pool). Add a number to scale it
  • perkstock, itemstock, cardreader: choose what a placed perk computer or vending machine offers, your own prices, and whether it has the Employee ID slot
  • placeentity <name> [n]: put any item, creature or prop in the map, on load or when a button, pad or zone fires

Map tags

  • title <text>: floating text in the world that always faces you
  • givetrinket <name>: gives a trinket's items and perks. applybinding <name>: turns on a run binding
  • zone; kill: a death zone
  • Materials named flat_ + any name show one plain colour, the material's Base Color in Blender, no texture

Runs

  • Every map gets its own level name, map_<file name>, so you can chain it with the game's levels from the console. The map's exit empty is where the next level starts
  • Like vanilla: if a run starts on a map and the spawn has no solid ground, an invisible platform is put under the player
  • Falling off no longer sends you back on its own. To bring players back, add a fall zone. Maps can now have drops and areas below the start

Textures

  • Textures use the game's own scale (32 px = 1 m), so they match vanilla levels. Small 32 px textures look the same as before; bigger ones come out larger
  • texture <m>: how many metres one copy of the texture covers. texture fit: one copy stretched over each side
  • Blender UVs are still ignored (textures are projected from the sides), so slanted faces stretch a little

Updating

  • Renamed: give → giveitem, perk → giveperk, effect → giveeffect, bind → keepitem, unbind → takeitem. Old maps still work
  • At the main menu, maps using old names get an updated copy (the original goes to maps\old_versions\). updatemaps shows it again
  • update_map.py in the maps folder updates your .blend
  • The CUSTOM tab's arrows now reach every map

Removed

  • Dev commands jumpstats, rebarcourse, boomcourse, boomreport, boomclear, mapmat, winseq
  • mapfog / mapambient: use the fog / ambient tags and press F8
  • .obj maps still load but get no new features

1.3.2

  • Share and explore maps on the WHUCKLE maps hub Discord: https://discord.gg/Ke8k7A9gZM
  • dumptextures always saves to texture_dump next to the DLL (type cheats first)
  • No gameplay changes

1.3.1

  • <map>_bg.png next to the map: background of the screen shown once its card is picked (else the card art)
  • The map's card title (title: line) shows in the game's mode text in play, instead of the internal mode name

1.3.0

  • ambient <amount> setting: base light over the whole map without lamps (console: mapambient to try values)
  • Several description tags on one object = several lines under its name
  • Example map rebuilt as a tag showcase: a row per tag group, a sign and label on every object, a timed course at the back
  • Fix: tagged handhold meshes whose name lacked the word "handhold" (e.g. a handhold; pass pole) were not grabbable
  • Fix: button and handhold meshes were walk-through; they are solid now (handhold; pass still lets you through)

1.2.0

  • map <name> action: load another map (hub maps with a doorway per level). A map whose .txt has a line hidden gets no menu card
  • sign <text>: writes the text on both faces of a flat mesh
  • launch <metres> action: a spring, throws you straight up that high (pad; launch 10)
  • enemywall: invisible glass that stops you and denizens but lets shots, flares and thrown things through

1.1.0

  • Maps are now .glb (Blender: File > Export > glTF 2.0). Old .obj maps still load
  • Tags: as many as you like per object, separated by ;, either in the object's name (button; give rebar 3; checkpoint) or on empties parented to it (keeps the name free). Rotation and scale now count
  • Presets: your own shortcut names for a set of tags (setpreset redpad pad / checkpoint, then name an object redpad). Console: presets, setpreset, removepreset. In the console tags are split with /; quoted text (msg 'a/b') isn't split. Saved in BepInEx/config/WKMapLoader.presets.txt; a map can ship its own <map>_presets.txt
  • Triggers + actions instead of single-purpose names: button / pad / zone / start run any of give <item or trinket> [n], bind / unbind (kept through clear), clear, checkpoint, teleport [point], msg, perk <name> [s], effect refill / infi_stamina / sticky_hands / temp_jump / jump_boost / <buff>, timer start/stop/reset, set / add, win
  • Labels: name / description float above an object while you look at it
  • msg text shows live values: {timer}, {best}, {falls}, your own variables
  • Map settings as tags: godmode, fog <0-1>; places: point <name>, light [range] [colour], Blender lights
  • Plugin API (WKMapLoader.MapApi): map packs can add their own tags, actions and console commands
  • New console command mapinfo (what the last load found, unknown tags)
  • Removed from the loader: the glow-wall game, button stands, arrow keys and monitors (now in Laki's Play Room), and the measuring tools (jumpstats, rebarcourse, boomcourse, boomreport, boomclear, mapmat, winseq) are off unless Dev / DevTools = true in the BepInEx config

1.0.5

  • Card title from the map's .txt: first line title: <name> (otherwise the file name)

1.0.4

  • Glow-wall game: computer (tutorial board as monitor with a black screen and GAME / POWER-UPS tabs, crane arrow keys); single player or multiplayer (Comp: a wall each or one shared wall with a colour per player, Co-op: one wall, team score); btn lifespan, light-up interval, duration; the game's button stand starts a wall (3-2-1-GO, invisible wall drops; same light-up order for the same settings); floating power-ups (stamina, speed, air jumps, elastic limbs, grab anything); game-over stats
  • Glow maps: parts tagged _flat / _cyl only show on that map; _cyl parts spin around their lane's ..._cyl_body_laneN axis (one turn per 15 s)
  • prop:<GameMesh> objects: use the game's own meshes (board, buttons) in your map
  • handhold_pass: grabbable holds your body walks through
  • godmode marker object: no dying in that map
  • Button items can be several words: checkpoint_3_rebar_explosive gives 3 explosive rebars
  • Win sequence flying 30% slower (4.2x)
  • Blast logger (boomreport, boom_log.csv) and boomcourse, which sizes the Boom Course from your attempts with leeway

1.0.3

  • Fix: maps from map packs installed with the Thunderstore mod manager now show up in CUSTOM
  • Win sequence: much faster flying, winseq console command

1.0.2

  • New map parts: buddy button, save pads, floor notes, win sequence buttons (win / *win_seq*: title, noclip, 5x speed, flare machine gun, game win screen after 10 s)

1.0.1

  • Fixed broken arrow characters on the README page.

1.0.0

  • First release: .obj map loading, CUSTOM menu tab with map cards, ledges, handholds, lights, materials, checkpoints, fall reset, map fog control, rebar course generator.