Example mods
The complete, commented example mods in mods/examples - skies and weather, maps and campaigns, classes and races, spells, traits, Lua scripts, designed skills, item properties, AI and skill trees - and how to try them.
The game comes with complete example mods in mods/examples/. Each shows one thing done properly, with its files
commented, so they are the best place to see a format in use.
Trying one
The game skips mods/examples/ itself. To try an example:
- Copy its folder up one level, to
mods/<folder>/. - Turn it on in the launcher, and play.
- To see how it's made, open it in the devkit with File > Open Mod.
Tip
example-class(classSPB) andpaladin-and-halfling(classPAL) add classes by code, so both can be on at once.
Skies, weather and maps
| Example | Shows | Read |
|---|---|---|
war-dusk-sky |
A disc level remastered with a real sky: BLOOD1 at dusk with a dynamic sky, a sun light rig, haze and embers | Sky and weather |
weather-showcase |
Weather presets on several disc levels (storm with lightning, rain, ash, snow, fireflies at night), and a new map with snow, a Planar Gateway, a shop, a save point and a level door | Sky and weather, Map objects |
weather-preview |
Three maps with no requirements: snow, rain and a clear control on BLOOD1's open ground, with trees, barrels, a chest and kobolds | Level Editor |
living-skies |
Dynamic skies with time running, light rigs with sun and moon shadows, exposure and ground mist on HUB, VALOR, FAY1 and NIT1 | Sky and weather |
wild-weather |
New weather presets (monsoon with lightning, volcanic ash and embers, sandstorm, autumn gale, cold drizzle) on five disc levels | Sky and weather |
weather-systems |
A climate (clear, drizzle, rain and afternoon storms coming and going) on FAY1 under an alien sky with hour keys and a misty dawn; a brazier prefab with a light a lever toggles; an item prefab that sets swords alight | Sky and weather, Prefabs |
blood1-remaster |
A map that replaces a disc level wholesale: the war mission's first level, keeping its objects and script, with a new start, more monsters and a new sky | Level Editor, Campaign |
new-campaign |
A campaign overhaul: the disc's twelve rows replaced by three missions of the mod's own maps, with requirements and a bonus on one | Campaign |
Classes, races and traits
| Example | Shows | Read |
|---|---|---|
paladin-and-halfling |
A new class (Paladin, built on the cleric) and a new race (Halfling, on the Wood Elf), a named item bonus and a new suffix | Class & Race Editor, Items |
example-class |
A new class with every key commented: the Spellblade (class SPB on the barbarian, using the wizard's tree) and a race that plays it |
Class & Race Editor |
example-race |
A new race with every key commented: the Gnome (a wizard on the Wood Elf's body) with a racial passive Lua script | Class & Race Editor |
playable-froglock |
A monster as a race: the disc's froglock on the Iksar's skeleton, with two skins, armour types of its own with their items, a croaking voice and two classes, made on a race's Parts, Armour and Voice tabs; its models are made from your disc by tools/make_assets.py |
Race Builder |
example-traits |
Racial and class traits as scripts with parameters: Erudites can't use shields, Dark Elves' bloodlust, Barbarians' thick hide (the mod's own trait script), the shaman's Last Stand | Traits |
example-gameplay-rules |
Infinite Arrows, Infinite Throwing Weapons, Retain Bloodstones and Attributes Per Level as library traits every hero has, tuned, and a lantern the shop sells, drawn with RTN Addons' torch (it requires that mod) | Traits, Items |
example-skill-tree |
The shaman's tree laid out again on two pages with drawn connectors | Skill Tree Designer |
Skills, items and creatures
| Example | Shows | Read |
|---|---|---|
example-spell |
Two spell variants (Frost Lance, Ember Bolt) added as rows 20 and 21 of the wizard's tree | Class & Race Editor |
example-designed-skills |
Designed skills with no code: Ember Bolt, Violet Nova, Chain Lightning and Meteor Field (rows 22-25 of the wizard's tree), with two effects of their own | Skill Designer, Effect Creator |
example-item-properties |
Prefixes, suffixes and bonuses made of the port's item properties (All Skills, Reflect, Life Steal, on-hit stuns, Evade, Gold Find), and a scripted bonus | Items |
example-ai |
Goblin archers that keep their distance (a built-in behaviour changed), and a new goblin berserker behaviour the goblin soldiers fight in | AI Behaviours |
Scripts
| Example | Shows | Read |
|---|---|---|
example-script |
Lua scripted skills: Thunderclap (active, can_cast and cast) and Battle Focus (passive hooks) on the cleric's tree |
Lua scripts |
example-monster-scripts |
Goblin shamans that heal, call for help when hurt and leave fire behind | Lua scripts |
example-game-scripts |
A kill-streak bounty mode | Lua scripts |
example-achievements |
Achievements over the stats the game counts, counters of the mod's own fed by a game script, a hidden one a script unlocks, and the pop-up's look per interface | Achievements |
Interface
interface/examples/fantasy/ beside the game is a complete interface restyle (HUD, menus, inventory): see
Interface mods.
