Create your own maps and campaigns for KeeperFX and DK1 with Unearth.

You can find it here.

Lua Sample Maps

Submitted by Trotim
Category Map Pack
Rating 5 / 5 6 ratings
Difficulty 2.25 / 5 4 ratings
Submission date 2025-05-22
Last updated 2025-05-29
Min. game version Latest KeeperFX alpha patch
Filesize 163.07KiB
Downloads 79
This workshop item uses unreleased KeeperFX functionality and requires the latest alpha patch to work correctly.
File Filesize Downloads Date
luasamples_may29.zip 163.07KiB 35 2025-05-29
luasamples.zip 207.19KiB 44 2025-05-22
Description

7 heavily commented maps showing off various aspects of KeeperFX Lua level scripting:

  • Basics & Triggers - Simple intro map. Script comments are an introduction to Lua
  • Randomization - Gold seams, hero waves, and room, spell, trap and door availability is random each play
  • Slab Manipulation - Dig a gold seam to unleash waves of lava that transform the map
  • Limited Vision - You can only see near your own creatures and Alarm Traps
  • Custom Keeper Power - New custom spell Blizzard that keeps freezing every creature in an area for a time
  • Custom Thing Functions - New functional objects: Gold Statues give income, Holy Candles heal heroes and hurt evil, Necronomicon keeps creating Skeletons

Primarily intended as a tutorial / showcase for map designers, but playable and beatable.

Installation Instructions

Extract into your game directory so that you have a \levels\luasamples.cfg and a \levels\luasamples\ folder. Find them in Free Play levels.

Comments

Login or register to comment on this workshop item.

Hi there, these maps will help a lot. Thanks!!!

Busidrio 🇪🇸 • Edited

i loaded the maps in unearth but it shows me that the script file is empty, do you know what could be causing the issue?

Edit: Nevermind, i was trying to find the scripts with an older version of Unearth. Now it works, thanks!

Here you will find a lua script guide: https://github.com/dkfans/keeperfx/wiki/Lua-level-script

Busidrio 🇪🇸

thank you a lot! i couldn't find documentation for it. Also does the level have to be in a specific folder? some lua commands such as "ConcealMapRect" simply don't work when the level is in the personal folder. Thanks!

Should work everywhere.

Hi there, I have extracted the files as per instructions but the map pack doesn't appear in the 'free play levels' list. I have the most recent alpha. Any idea what I might be doing wrong? Thank you

EDIT: It showed up once I restarted the game. duh. Thanks for the maps!