First mod, by kind
Fifteen content kinds ship with the SDK, and every one of them starts the same
way: a folder under mods/, a manifest.toml, rsmm apply. What changes per
kind is the handful of fields in the [[content]] block — and the way you
prove the change actually landed.
This page is one starting mod per kind. Each snippet is a complete
manifest.toml: copy it into mods/<id>/manifest.toml, adjust the ids, apply.
The loop, every time
Section titled “The loop, every time”./rsmm new MyMod # scaffold mods/MyMod/./rsmm lint MyMod # manifest, asset paths, confidence gate./rsmm restore --all # back to vanilla first — restore wipes the loader./rsmm apply # install this mod's files./rsmm install-loader # re-plant the loader (apply does not)./rsmm run # launch through Steamrestore --all before every apply is not superstition: it is how you avoid
testing a mod on top of the last one’s leftovers, and it is the uninstall path
you should expect to work at the end.
item — a new magical object
Section titled “item — a new magical object”What the player sees. A brand-new item in the compendium that drops, is offered by chests, and works.
Or build it on a page. The Items tab of rsmm editor, or the
web editor, writes this block from a picked base item.
[mod]id = "SwiftAttacks"name = "Swift Attacks"version = "0.1.0"author = "you"description = "A faster cousin of the Ace card."
[[content]]kind = "item"id = "Swift_Attacks" # SAME BYTE LENGTH as base (13) — see the trapbase = "Damage_Attack"name = "Swift Attacks"description = "Attack speed, and nothing else."value_patches = [["Attack Speed Value", 0.15, 0.30]]Prove it. Start a run, open the compendium — the item is listed. Then take it from a chest and watch the value you patched.
Trap. The clone pipeline is length-preserving: id must match base in
byte length. Browse bases with ./rsmm items list, and a base’s editable
value labels with ./rsmm items show <base> — a label marked shadowed
accepts the edit and changes nothing in game.
Change the shipped item instead. mode = "replace" takes the same fields
but edits the base itself rather than adding a copy beside it: no new id, the
base keeps its rarity, and name/description rewrite the text the item
already shows. The shipped file is backed up and comes back when the mod is
turned off. The editor’s Replace this item / Make a copy switch picks
between the two.
[[content]]kind = "item"id = "Damage_Attack"mode = "replace"base = "Damage_Attack"value_patches = [["Attack Speed Value", 0.15, 0.30]]Also does the opposite. mode = "ban" with items = [...] removes vanilla
items from the catalog instead — the multiplayer-correct way to disable one.
talent — retune a talent
Section titled “talent — retune a talent”What the player sees. The same talent card, different numbers.
Or build it on a page. The Talents tab of rsmm editor, or the
web editor, lists every value a hero has and writes this
block (and skill blocks for renamed cards).
[mod]id = "JulietBuff"name = "Juliet Talent Buff"version = "0.1.0"author = "you"description = "Juliet's dash shield lasts longer."
[[content]]kind = "talent"id = "dash_shield_duration"hero = "Juliet"file = "Hero_Juliet.entity"value_patches = [ { label = "Skill Dash Shield Duration", old = 6.0, new = 9.0 },]Prove it. Take the talent in a run and read the card: the number moves.
Trap. A label can exist in several of a hero’s entity files, and some values
are shadowed by an override node — the writer handles both, but you have to
name the label exactly, and old must match the shipped number or the apply
stops. Find labels, their files and their numbers with
./rsmm talents Juliet --grep shield, and see the
talent tutorial for the card-text placeholders.
ability — change a shipped hero’s abilities in place
Section titled “ability — change a shipped hero’s abilities in place”What the player sees. The same hero, an ability that behaves differently:
a number changed (a hit’s stagger, a cooldown, a damage multiplier) or a link
rewired. No second hero is added, so the change applies to every run with that
hero, and rsmm restore puts the originals back.
Or build it on a page. The Abilities tab of rsmm editor, or the
web editor: set a number, pick “Change the original
hero”, and Save to mod writes this block. Choose “Make a separate custom
hero” there when you want a copy (kind = "hero") instead, or an ability copied
with clone.
[mod]id = "BeowulfFireballNerf"name = "Beowulf Fireball Nerf"version = "0.1.0"author = "you"description = "Beowulf's Fireball staggers less."experimental = true
[[content]]kind = "ability"id = "BeowulfAbilities"hero = "Beowulf"
[[content.abilities]]set = "Stagger Power Selector.entries[0][1]"value = 25entity = "Hero_Beowulf_Ultimate_2_Fireball"Prove it. Use the ability in a run and look at the effect: here the fireball hits stagger enemies less than the 50 it ships with.
Trap. A hit’s numbers often live in another file of the hero (the fireball’s
stagger is in its own projectile file, hence entity), and a selector’s number
is addressed as Part.entries[i][j], not Part.value. The editor’s search
lists matches in every file of a hero. clone steps are refused here: copying
an ability adds parts that only a custom hero builds. The kind is experimental
until the steps are proven in game.
entity — edit any shipped entity in place
Section titled “entity — edit any shipped entity in place”What the player sees. One shipped object behaving differently: a boss
spawner, a camp, a UI. It takes the same set / link / add_link /
remove_link steps as ability, aimed at one entity file that is not a hero’s.
rsmm restore puts the original back.
[mod]id = "NoOvertimeTint"name = "No Overtime Tint"version = "0.1.0"author = "you"description = "Removes the red screen tint before and during overtime."
[[content]]kind = "entity"id = "boss_spawner_no_tint"entity = "Objects/Map_Boss_Spawner/Map_Boss_Spawner_Graph_Model"
[[content.steps]]remove_link = "State FX PreOvertime.while_active[1]"Prove it. Let a chapter run into overtime: the screen stays its normal colour while the banner, minimap ping and music still arrive.
Several files, one block. entity also takes a list of paths. Each file gets the same
steps and starts from its own shipped copy, so scale reads each file’s own number.
An empty list, a non-string item or a repeated path is an error naming the block.
entity = ["Enemies/Boss_A/Boss_A", "Enemies/Boss_B/Boss_B"]Trap. entity is the path under EntitySettings (.entity.ot optional).
Part names and link indices are the ones rsmm entity-graph prints for that
file, and removing a link shifts the later indices of the SAME list, so remove
from the end first or list one step per field. clone steps are refused.
Let the player choose the number. A set step can read the mod’s config
instead of a literal: config = "<field>" takes the player’s value, and
times = <n> multiplies a number field by n — write the shipped value there,
and a multiplier of 1.0 leaves the game as it was.
[fields.health]label = "Enemy health multiplier"type = "float"min = 0.5max = 5.0default = 1.5
# manifest.toml[[content.steps]]set = "Chapter 2 Max Health Multiplier Selector.obj_4[1]"config = "health"times = 2.0 # shipped valueLike every content config, a change takes effect on the next launch.
Scale the shipped number without copying it. scale = "<field>" replaces
value, config and times: apply reads the shipped number at the step’s set
path and writes it times the player’s value, so a game patch that rebalances that
number carries into your mod. It reads the shipped file, never an earlier block’s
output, so two blocks scaling one value do not compound. The target must be a
number field, and scale is an error beside value, config or times.
[[content.steps]]set = "Chapter 2 Max Health Multiplier Selector.obj_4[1]"scale = "health"Any step can also carry when = "<bool field>": it applies only while that
switch is on. That is how a mod offers an optional structural change, e.g. a
link that sends a tester’s on_false to the same state as its on_true.
To gate a whole block, put when = "<bool field>" on the [[content]] block
itself, for any kind. While the switch is off the block writes nothing, and the
field must be a bool in config_schema.toml. A step’s own when still applies,
so a step runs only when both switches are on.
mesh — put your model in the game
Section titled “mesh — put your model in the game”What the player sees. A shipped prop, weapon or body wearing your geometry.
[mod]id = "ShrineBlock"name = "Runestone Block"version = "0.1.0"author = "you"description = "Replaces a ruin block with a runestone."
[[content]]kind = "mesh"id = "shrine_over_ruin_block"target = "Scenery\\DarkHills\\Wall_Ruins_Block_Small_A.fbx"model = "art/shrine.glb"Prove it. Walk a chapter that places the target mesh. Your shape is there, lit and textured, with no other change.
Trap. The override is global: every tile that places that mesh now shows
yours. And replacing a character needs the right transform.skin —
"gltf" when you rigged to the game’s bone names, "rigid" when you did not.
The default ("transfer") assumes your mesh occupies the same space as the one
it replaces, and shreds a differently-shaped body on the first animation frame.
animation — replace a clip with your own motion
Section titled “animation — replace a clip with your own motion”What the player sees. A shipped animation, such as Piper’s dash, playing your motion.
[mod]id = "PiperSpin"name = "Piper Spin Dash"version = "0.1.0"author = "you"description = "Piper spins through her dash."
[[content]]kind = "animation"id = "piper_dash"target = "Characters\\Heroes\\Piper\\Animations\\Piper_Dash_Default.fbx"source = "anims/piper_dash.glb"Prove it. Dash in a run: the move plays your keys.
Authoring in Blender or Maya. rsmm export-character Piper writes one
.glb with the real armature (the game’s bone names, hierarchy and bind pose),
the skinned body with its full materials (colour, normal and
metal/roughness/AO maps), the weapon or prop on the bone that carries it, and
every clip that fits that rig. --skin Combat exports a skin’s look instead:
its materials, its body and its weapon (--list-skins names them). A piece
on a skeleton of its own, like the Combat cloak, comes in as a second armature
at its own origin: the entity does not say where it hangs, so place it by hand.
It imports as a posable, animated character.
For anything that is not a hero, use rsmm export-model. It exports any of the
game’s 3,001 models: scenery, props, enemies, NPCs and mechanisms like chests.
Each comes with its full materials, and a rigged one also gets its skeleton and
every clip in its folder that fits it. rsmm export-model --list Ogres shows
what there is, and rsmm export-model OgreHuman_GEO writes one model.
rsmm export-model --all -o export/ writes every model into a tree laid out
like the game’s folders. That run is long, and --no-textures makes it much
faster.
Two settings matter:
- Set the scene frame rate to 60 before importing. Clips mix a 30 fps grid with 60 fps keys where something snaps (Piper’s weapon flips in half a frame). At 24 or 30 fps Blender drops those keys. At 60, all 45 of Piper’s clips came back within 0.3 degrees after an import and export.
- Export glTF with animations, keeping the action names.
Then rsmm import-character edited.glb --mod my-piper (add --skin Combat if
you exported a skin) writes the mod for you. It cooks every action, compares
its sampled poses with the shipped clip of the same name, and keeps only the
ones that moved more than --threshold degrees (default 1; an untouched round
trip stays under 0.5). The body is kept when its vertices no longer match the
shipped body. Each kept clip becomes a block like the one above, the body a
kind = "mesh" block with transform = { skin = "gltf", submeshes = "map" }
(weights bind by bone name, each submesh keeps its own material), and the
.glb is copied into the mod. It never overwrites an existing mod without
--force.
Trap. Bones are matched by name, and the target clip is the template:
it decides which bones exist. A bone your file does not animate is held at the
target’s first pose (strict = true makes that an error). A bone the target
lacks is refused. Like mesh, the override is global: everything that plays
that clip plays yours.
poi — a structure in a chapter
Section titled “poi — a structure in a chapter”What the player sees. A shrine / cauldron / camp appearing on a map that never had one.
A POI is a folder, and needs no [[content]] block at all. The mod’s
manifest.toml is just the [mod] table; everything else lives beside the
model:
mods/MyShrine/ manifest.toml pois/runestone_shrine/ poi.toml model.glb albedo.png normal.png mra.png icon.pngThis is the shrine that was proven in game end to end: tile, mesh, minimap marker and interaction.
base = "Dark_Hills/6x6_Crystal_01" # the tile it is generated aschapters = ["Dark_Hills"]kinds = ["Crystal"] # which generator slots it may fillcopies = 1
replaces = "Objects_Common\\DreamCrystal_Medium.entity.ot"entity_base = "DarkHills\\SceneryObjects_DarkHills\\Wall_Ruins_Block_Small_A.entity.ot"material_base = "Scenery\\DarkHills\\M_Walls_Ruins.mat.ot"transform = { fit = "rig", scale = 2.0 }interactive = true
[slots]albedo = "Scenery\\DarkHills\\T_Walls_Ruins_ALB.tga"mra = "Scenery\\DarkHills\\T_Walls_Ruins_MRA.tga"normal = "Scenery\\DarkHills\\T_Walls_Ruins_NRM.tga"
[marker]icon = "icon.png"reveal_radius = 20000.0Prove it. Run the chapter and look at the minimap: the icon draws, the prop
is interactable, and a mod can confirm its own placements from Lua
(R.poi.placed).
Trap. kinds must be slots that tiles of the base’s size actually fill
— a 40×40 base can never fill a 6×6 Fountain slot, and the emit says so.
weight sets the low end of the tile’s tier band, not a spawn rate —
raising it to make a POI commoner moves it up a tier instead. Use copies, which buys pool entries one for one.
Browse bases with ./rsmm poi list.
A tile of your own: own_level
Section titled “A tile of your own: own_level”own_level = true gives the clone its own copy of the base tile’s level, so
you can rebuild it without touching the shipped tile. Everything below needs
it.
own_level = trueclear = true # sink the base tile's placements (spawners, reward and # terrain shapes stay)places = [ { entity = "@prop", pos = [0.0, 0.0, 0.0] }, # your model { entity = "Objects_Common\\Point_Light_Opti_Model.entity.ot", pos = [2.0, 3.0, 0.0] }, # shipped]move = [{ entity = "Enemy_Camp_Reward.entity.ot", pos = [0.0, 0.5, 0.0] }]clearsinks every plain placement 1000 m under the map.truekeeps enemy spawners, the camp reward and terrain shapes.{ keep = [...] }keeps other entities by path substring.{ remove = [...] }sinks only the named ones. Addwalls = trueto also sink the tile’s invisible walls.placesadds objects:"@prop"is your model,"@<part>"a kit part (below),"ingredient:<Name>/<id>"an ingredient pickup or hand-in, anything else a shipped.entity.ot. Each takespos,yawandscale.movestands every placement of an entity at a newpos, keeping its rotation and scale.terrainpaints the tile’s own ground with the chapter editor’s brush:{ op, layer, x, z, radius, amount, falloff }, withop=set/flatten/tint(color = "#rrggbb")."Terrain Height"is in metres. The water level is the constant layer"Water Height"(one value, no brush).terrain_size = [x, z]stretches the tile’s terrain box about its centre. All painted layers stretch with it.
Solid ground and big structures: collision, kits, extra meshes
Section titled “Solid ground and big structures: collision, kits, extra meshes”collision = [ { kind = "ground", size = [4.9, 1.0, 4.15], at = [0.0, 0.0, -0.775] }, # deck { kind = "ground", size = [1.6, 0.5, 1.6], at = [0.0, 0.0, 2.0], rot = [18.0, 0.0, 0.0] }, # ramp { kind = "wall", size = [4.0, 2.5, 3.0], at = [0.0, 1.75, -0.9] }, # blocks]Boxes are full sizes in the prop’s own space, rotations in degrees. ground is
walkable, wall blocks. They do not follow transform, so keep
scale = 1.0 and no rotate_deg. Only allowed on your own prop.
One mesh is capped at 65535 vertices. Split a big structure two ways:
model_2.glb,model_3.glb, … besidemodel.glb: extra meshes for the same prop, each drawn by its own entity whereverplacesstands"@prop".- A kit:
parts/<name>/model.glbfolders, each a reusable entity placed withentity = "@<name>"as often as you like.[parts.<name>]takes its owncollision = [...]. This is how the game builds its docks (about 100 parts placed about 470 times).
Entrances and rooms: needs, subtile, teleporters
Section titled “Entrances and rooms: needs, subtile, teleporters”A poi can be an entrance that pulls in its own off-map room, like the Ghoul den or a Thieves’ stash. You need two pois and one tilegen block:
# pois/hut/poi.toml — the entrance, a normal map tileflags = ["My_Entrance"]needs = [{ flags = ["My_Room"] }] # place one tile with this flagteleporters = [{ side = "out", id = "My_Pair", pos = [0.0, 0.5, 0.7] }]# pois/room/poi.toml — never picked for a map slot, only pulled inbase = "Dark_Hills/DarkHill_Thieves_Stashes_Gold_Room_Underground_01"subtile = truekinds = ["My_Room"]teleporters = [ { side = "in", id = "My_Pair", replace = "Objects_Common\\Thieves_Underground_Teleporter_In.entity.ot" },]# manifest.toml — at most one entrance per map[[content]]kind = "tilegen"id = "one_entrance"chapter = "DarkHills"add_quotas = { "My_Entrance" = 1 }needs: each entry placescount(default 1) tiles carrying every flag.underground = true(default) uses an off-map room slot;underground = falseplaces it on the mapmin..maxmetres away.subtile = truemakes the tile a room.subtile = "surface"keeps it a map tile but skips the slot-kind check, for a kind your own tilegenadd_kindsadds.teleporters:outon the entrance,inin the room, joined byid.replacetakes over the room’s shipped teleporter instead of adding one. A room can have severalinteleporters, and all of them lead back.flags: extra tags that a quota counts or aneedsasks for.
A room’s look (ambient light, fog, colour) is a render zone of fixed size: 34 m
across in the Gold Room. Walk out of it and the look snaps back to outdoors.
Grow it with
level_values = { "Render Settings Zone Scale Value" = 88.0 } and set its
light with render_ambient = [r, g, b] (0..4 per channel).
Trap. Dark Hills has 5 room slots and its own rooms use up to 4. Without
the add_quotas cap, a second entrance asks for a room that has nowhere to go.
enemy — change what a camp spawns
Section titled “enemy — change what a camp spawns”What the player sees. Every Dark Hills camp full of treants, or a brand-new creature among the usual ones.
[mod]id = "Treantfall"name = "Treantfall"version = "0.1.0"author = "you"description = "Dark Hills is a forest, and it has opinions."
[[content]]kind = "enemy"id = "treant_everywhere"mode = "override" # rewrite a retail population in placepools = ["Dark_Hills"]entity = "Enemies\\Treant\\Standard_Root_Treant.entity.ot"Prove it. Load the chapter and fight the first camp: every creature in it
is a treant. List a biome’s creatures with ./rsmm enemies pool Dark_Hills.
Trap. power (old name weight) is a creature’s cost against the
camp’s power budget, not its spawn odds. A mode = "clone" enemy set to 20 was
priced out of every gnoll camp and never appeared. Leave it unset to keep the
base’s cost. Imported creatures can also bring projectiles and attack
zones the destination chapter never loads; see
Custom enemies.
reward — ban or retune what spawns at reward points
Section titled “reward — ban or retune what spawns at reward points”What the player sees. No more locked chests in Avalon, or fewer of them.
[mod]id = "NoLockedChests"name = "No Locked Chests"version = "0.1.0"author = "you"description = "Chests spawn unlocked."
[[content]]kind = "reward"id = "avalon_rewards"base = "Camp_Rewards_Avalon_Update5"ban = ["Chest_Locked"]Prove it. Play the chapter and count what the reward points produce. Pick a
number the game cannot reach on its own — counts = { 2 = [3, 3] } gave three
astrolabs where Dark Hills normally has at most one.
Trap. This bans reward objects, never talent or item cards — that lever
is the item catalog (kind = "item", mode = "ban"). Each ban entry must
match something, deliberately: a typo fails the emit instead of silently doing
nothing. Use the _Update5 def: the plain Camp_Rewards_<Biome> ones are never
loaded, and the SDK refuses them.
shop — change the Sandman’s stock and prices
Section titled “shop — change the Sandman’s stock and prices”What the player sees. Different items in the in-run vendor, at your prices.
[mod]id = "CheapSandman"name = "Cheap Sandman"version = "0.1.0"author = "you"description = "Everything is half off."
[[content]]kind = "shop"id = "sandman"price_scale = 0.5 # every Sandman item, half priceProve it. Find the Sandman in a run and open the shop.
Trap. There is one Sandman, so a mod declares at most one shop. The seven
generators (minor, medium, major, the *_duplicate and *_object
variants) each decide count, quality and flag pool separately — changing one
does not move the others. A slot’s count can go down but never above what
it ships with: the shop screen has a fixed number of widgets per slot.
tilegen — a chapter’s map-generation recipe
Section titled “tilegen — a chapter’s map-generation recipe”What the player sees. More camps, more wells, a differently-shaped map.
[mod]id = "BusyHills"name = "Busy Dark Hills"version = "0.1.0"author = "you"description = "Fewer, hand-placed-feeling camps."
[[content]]kind = "tilegen"id = "camps"chapter = "DarkHills"[content.kinds.Camp]count = 2 # camps placed by the kind pass[content.fill]"40x40" = [] # leftover big slots stay empty instead of"64x64" = [] # becoming campsWhere tiles come from. Generation runs in two passes, and tiles can pull in more tiles:
- Kind pass. Each kind places up to its
count. - Fill pass. Every footprint group then fills each slot still empty with a
tile carrying the group’s flags. Dark Hills fills 40x40/64x64 with
Camp, which is why an unedited map shows 8-9 camps against a Camp count of 5.fill = { "<WxH>" = [] }turns it off for that group. - Tile constraints. A placed tile can require others nearby.
Startplaces oneStorytile, and the Wood House story tile then places 3 Treant camps. The recipe doesn’t control these.
Flag quotas are caps (at most N), so raising one never adds tiles.
add_quotas caps a flag the recipe does not know yet, such as a poi’s own
flags.
Adding tiles without replacing any. add_kinds declares a new kind and
add_slots gives it places of its own, so its tiles land on new ground and
take no shipped slot:
add_kinds = { "My_Crates" = { count = 12, footprints = { "6x6" = true } } }add_slots = [ { group = "6x6", pos = [30.0, 0.0, -6.0], allow = { "My_Crates" = true } }, # … one per spot]The poi that fills them uses kinds = ["My_Crates"] and subtile = "surface",
because the shipped recipe does not know that kind.
Prove it. Start a run in that chapter and count what generated.
R.poi.on_generated + R.poi.placed hand you every placed tile by name, so the
count can come from the spawner itself instead of the minimap. Count camps by
source: Treant camps next to the Wood House come from its constraint, not the
recipe.
Trap. Edits are keyed by name and re-applied to the shipped recipe every
time, so a name the recipe no longer has fails the emit rather than landing on
whatever now sits at that index. The Map tab of ./rsmm editor writes these
blocks for you from a 3D view of the chapter.
scenery — move, remove and add the small objects on a chapter’s map
Section titled “scenery — move, remove and add the small objects on a chapter’s map”What the player sees. A rock moved off the path, a tree gone, a few more ruins on a hill. These are the chapter’s own objects: most of what a map shows outside its tiles (Dark Hills places about 7,000 of them in four scenery levels), each standing once, in every run of that chapter.
[mod]id = "TidyHills"name = "Tidy Dark Hills"version = "0.1.0"author = "you"description = "Clears a path and adds a ruin."experimental = true
[[content]]kind = "scenery"id = "southwest"chapter = "DarkHills"level = "Ot/DarkHills/Map_Dark_Hills_Scenery_SouthWest.level.ot.GameStream.gen"
[content.moves."882"] # object id in that levelentity = "DarkHills\\SceneryObjects_DarkHills\\Rock_Medium_C.entity.ot"at = [94.33, -6.63, 104.02] # where the game stands it (the anchor)pos = [96.33, -6.63, 104.02]yaw = 30scale = 1.5
[content.removes."883"]entity = "DarkHills\\SceneryObjects_DarkHills\\Planks_Walls_B.entity.ot"at = [121.86, -3.39, -19.66]
[[content.adds]]entity = "DarkHills\\SceneryObjects_DarkHills\\Wall_Ruins_Block_Small_A.entity.ot"pos = [100.0, -6.5, 110.0]yaw = 45scale = 1.0Prove it. Start a run in that chapter and walk to the spot: the moved object stands at its new place, the removed one is gone, the added one is there.
Trap. entity and at anchor every edit to the object the game ships at
that id, so a patch that renumbers the level fails the emit instead of moving
something else. A removal sinks the object 1000 m under the map (it stops
showing and blocking); taking it out of the level is not proven yet. Additions
are limited to entities the chapter already places, because only those are in
its resource cache, and one the cache misses can take the whole level down. The
Objects tool (6) in the Map tab of ./rsmm editor writes these blocks
for you.
game_mode — reorder the chapters of a run
Section titled “game_mode — reorder the chapters of a run”What the player sees. A run that starts in Avalon.
[mod]id = "AvalonFirst"name = "Avalon First"version = "0.1.0"author = "you"description = "Chapter order: 2, 0, 1, 3."
[[content]]kind = "game_mode"id = "AvalonFirst"base = "All_Chapters"chapters = [2, 0, 1, 3]Prove it. Start a new run and read the chapter you land in.
Trap. This rewrites the game’s one run order in place — there is no
second mode to pick from a menu, so the id is only a label, and two mods
that both set chapters (or a map mod with chapter = N) collide on the
same file. A FIXED order is data-safe; per-run randomisation is not (it needs
engine RNG and multiplayer determinism). Proven in game: skipping chapters
and running them out of order. Each chapter may appear once; a repeat is
refused, because the game skips it.
map — make a chapter play a cloned map
Section titled “map — make a chapter play a cloned map”What the player sees. A chapter that plays a mapdef of your own: the
base’s terrain, generated from the clone’s OWN tile pool and recipe. Change
which tiles it may draw (pool) and how many of each kind it places
(tilegen) without touching the vanilla chapter.
[mod]id = "TwilightHills"name = "Twilight Hills"version = "0.1.0"author = "you"description = "Chapter 1 plays a Dark Hills clone."experimental = true
[[content]]kind = "map"id = "Twilight_Hills"base = "Dark_Hills" # Dark_Hills, Storm_Island, Avalon or Baba_Yagachapter = 0 # 0 Dark Hills, 1 Storm Island, 2 Avalon, 3 Baba Yaga
# Optional: the clone's own tile pool. "<Name>" is looked up in the base's# biome first; "<Biome>/<Name>" borrows a tile from another biome.pool = { add = ["Avalon/64x64_Ponds_And_Fountains_Camp"], remove = ["3x3_Blocker_Props_01"] }
# Optional: the clone's own recipe, same fields as the `tilegen` kind.[content.tilegen]kinds = { Camp = { count = 2 } }fill = { "40x40" = [], "64x64" = [] }Prove it. R.maps.chapters() lists each chapter’s map: the one you
repointed says resref and resolves to a mapdef that is not the vanilla one.
Trap. chapter overrides All_Chapters as a whole file, so it conflicts
with a game_mode edit in another mod (last writer wins). tribe has shown
no visible effect. A removal that leaves a counted recipe kind (Start,
Map_Boss, Teleporter, …) with no pool tile is refused. Baba Yaga is not
tile-generated, so it takes neither pool nor tilegen. To change what a
VANILLA chapter generates, use tilegen and poi.
skill — relabel a talent
Section titled “skill — relabel a talent”What the player sees. A talent with your name and description on the level-up card and in the Skill Menu.
[mod]id = "DiveRename"name = "Dive, Renamed"version = "0.1.0"author = "you"description = "Attack Dive becomes Meteor."
[[content]]kind = "skill"id = "meteor"hero = "Aladdin"source = "Attack Dive"name = "Meteor"description = "Come down harder."Prove it. Open the hero’s Skill Menu — the new text is there.
Trap. Relabel renames an EXISTING talent — a hero’s talent count is fixed.
mode = "clone" (add a row) and mode = "repoint" (rename the herodef row) are
refused: the first crashed the game, and the second changes nothing visible,
because the name shown comes from the hero entity’s controller key.
modifier — a custom run mutator
Section titled “modifier — a custom run mutator”What the player sees. A new toggle on the challenge screen — in theory.
[mod]id = "DoubleXp"name = "Double XP"version = "0.1.0"author = "you"description = "A relabelled MoreExperience."experimental = true
[[content]]kind = "modifier"id = "DoubleXp"base = "MoreExperience"name = "Double XP"description = "Twice the experience, twice the regret."Prove it. Open the challenge screen and look for the row.
Trap. The def cooks and loads; a NET-NEW modifier appearing in the UI is
the unproven part — the slot count looks pre-sized to the vanilla set. A
modifier’s effect is hardcoded C++ keyed by an entity-value id, so a clone
reuses an existing behaviour; new behaviour is layered in Lua via R.modifier.
ingredient — a new resource to collect and hand in
Section titled “ingredient — a new resource to collect and hand in”What the player sees. A new carried resource like the 3 Pigs’ straw: pickups on the map that add to a counter on the HUD, and a hand-in point with a “{0}/{1}” counter that spawns a reward once enough is delivered.
[mod]id = "FishQuest"name = "Fish Quest"version = "0.1.0"author = "you"description = "Bring fish to the hand-in for a reward."
[[content]]kind = "ingredient"id = "fish"name = "Fish"icon = "icons/fish.png"pickups = [ { id = "pile", count = 4, look = "DarkHills\\SceneryObjects_DarkHills\\Fishes_Ground_A.entity.ot" },]delivery = { id = "catch", prices = [8, 12, 20] }Stand them with a poi: places = [{ entity = "ingredient:Fish/pile", pos = [0.0, 0.0, 0.0] }].
Prove it. R.ingredient.add("Fish", 3) in Lua shows three fish on the HUD
if the definition loaded; then walk to a pickup and to the hand-in.
Trap. The engine knows an ingredient only by the hash of its NAME
(rsmm.engine.named_id), never a path: two mods adding "Fish" are the same
ingredient. A pickup is a clone of the key pickup and a hand-in a clone of the
wishing well (invisible, so it stands inside your own art) — so it behaves like
them, including the well’s rising price.
challenge — a new entry on the challenge screen
Section titled “challenge — a new entry on the challenge screen”What the player sees. A new challenge beside DodgeIt and Rush Hour: a title and a fixed set of up to five modifiers.
[mod]id = "NightOwl"name = "Night Owl"version = "0.1.0"author = "you"description = "Night only, no minimap, no boss timer."experimental = true
[[content]]kind = "challenge"id = "NightOwl"name = "Night Owl"modifiers = ["NightOnly", "NoMinimap", "NoBossTimer"]Prove it. Open the challenge screen; the new entry is listed with its three modifier icons.
Tip. The game’s text already titles three challenges that never shipped —
AllIn, TeamUp and TheCrucible. Use one as the id and leave out name
to bring it back under its original title.
Trap. Five modifiers is the most a challenge holds, and only shipped modifiers can be listed.
melody — retune one of the Piper’s melodies
Section titled “melody — retune one of the Piper’s melodies”What the player sees. A lost melody that grants a different effect.
[mod]id = "HealierHeal"name = "Healier Heal"version = "0.1.0"author = "you"description = "Fully Heal reveals the map instead."experimental = true
[[content]]kind = "melody"id = "fully_heal"base = "Fully_Heal"effect = "Reveal_Map" # must be another retail melody's stemProve it. Play the Piper, collect that melody, use it.
Trap. There are exactly twelve melodies and twelve icons, indexed by a dense enum — so there is no thirteenth. This kind edits the twelve that exist and refuses to pretend otherwise.
boss — make a boss arena fight another boss
Section titled “boss — make a boss arena fight another boss”What the player sees. The Dark Hills ghoul den, with the Storm Island giant crab waiting at the bottom.
[mod]id = "CrabDen"name = "Crab Den"version = "0.1.0"author = "you"description = "The ghoul den fights the giant crab."
[[content]]kind = "boss"id = "crab_den"base = "Boss_Marsh_Ghoul"becomes = "Boss_Crab"Prove it. Enter the arena base belongs to and see who is waiting. (Proven
with base = "Boss_White_Lady": her shrine raised its arena around the crab and
paid its reward when the crab died.)
base must be one of the bosses whose arena picks them by flag alone:
Boss_Crab, Boss_Marsh_Ghoul, Boss_Wolf, Boss_White_Lady. becomes can
be any boss definition.
Trap. Quest bosses, the Jinn and the three-part witch fight are refused
as base: something besides the definition names their entity, so swapping
it would split the fight from whatever holds that reference. The swap is
global — every run fights the new boss there.
skin — new skins for a shipped hero
Section titled “skin — new skins for a shipped hero”What the player sees. One or more new skins at the end of a hero’s skin list, in the hero book and on the hero-select page: always unlocked, with their own name, description and (optionally) icon. The hero keeps every skin the game ships.
[mod]id = "ScarletSkins"name = "Scarlet: Crimson & Frost"version = "0.1.0"author = "you"description = "Two new skins for Scarlet."
[[content]]kind = "skin"id = "scarlet_skins"hero = "Scarlet"skins = [ { name = "Crimson", description = "Red as the hood.", tint = "#c41e1e" }, { name = "Frost", from = "Raven", tint = "#7ad0ff", icon = "art/frost_icon.png" }, { name = "Painted", albedo = "art/painted_ALB.png" },]Each skin copies one of the hero’s skins (from, default Default) and gives
it a look of its own: tint recolours the albedo of every material that skin
wears (a hero with a second form, like Scarlet’s wolf, is recoloured too),
keeping shading and line art; albedo / mra / normal are your own maps
for the body material. icon is a PNG for the book; without it the source
skin’s icon is shown.
Prove it. Open the hero book on that hero: the new skins follow the shipped ones. Pick one on the hero-select page and start a run wearing it.
Trap. Put every skin for one hero in ONE block’s skins list: two blocks
for the same hero in a mod would overwrite each other, and the emit refuses
it. Two mods adding skins to the same hero do not merge yet; the last one
applied wins. A co-op partner without the mod sees your new skin as Default.
hero — add a hero to the roster
Section titled “hero — add a hero to the roster”What the player sees. A new portrait on the hero-select screen. With only
a base it is an exact copy of that hero; the fields under “A hero of its own”
give it its own name, body, textures, portrait and gameplay entity.
[mod]id = "MoreHeroes"name = "More Heroes"version = "0.1.0"author = "you"description = "A second Piper."
[[content]]kind = "hero"id = "Zz_Piper_Clone"base = "Piper"Prove it. Open the hero-select screen: one more portrait than before. From
Lua, #R.defs.instances("oCDtHeroDefinition") goes from 12 to 13.
Trap. The roster is every hero the game has loaded, and heroes load only
through the LiveOps versiondef’s hero list, which apply appends to. Dropping a
herodef file in without that loads nothing. The new hero takes the next index,
which no save has unlocked, so test with the unlock-heroes mod. A paid DLC
hero (Merlin) can’t be a base, and a custom hero can’t borrow its art: the
clone would play for anyone who installs the mod, owner or not.
A hero of its own
Section titled “A hero of its own”Everything past base turns the copy into a hero of its own. The fields below
are not yet proven in game. Only the plain copy above is.
[[content]]kind = "hero"id = "Nyx" # letters and digits: it names Hero_Nyxbase = "Piper" # whose moves she hasname = "Nyx"description = "Piper's moves, her own look."model = "art/nyx.glb" # body, rigged to Piper's skeletonalbedo = "art/nyx_albedo.png" # also: mra, normalportrait = "art/nyx_portrait.png" # select screen + in-run
# A weapon of her own. The key is the base's graphic object; `rsmm# export-character Piper` lists it as an attachment.[content.weapons."Weapon In Left Hand Mesh"]model = "art/nyx_flute.glb"albedo = "art/nyx_flute.png"
# Her own moves: a clip of Nyx's alone, the base keeps its own.[content.animations.Piper_Dash_Default]source = "art/nyx_moves.glb"clip = "Piper_Dash_Default" # the action's name in the .glb
# Outfits fill the skin slots after Default, in order.[[content.outfits]]name = "Frost"albedo = "art/nyx_frost.png"
[[content.outfits]]name = "Mercenary"model = "art/nyx_mercenary.glb" # a body of its ownalbedo = "art/nyx_mercenary.png"
# Her numbers. `rsmm export-character Piper --list-values` lists them.[content.values]"Ultimate Power 2 Cooldown Max" = 30"Trait Ability Pets Per Spawn Default Amount" = 3"Hero_Piper_Projectile/Lifetime Duration" = 0.8 # one entity only
# What her abilities use: a VFX, a sound, a mesh, anything her entities name.[content.references]"Settings\\Heroes\\Hero_Piper_FX\\Piper_Note_Day_01.vfx.ot" = "Settings\\Heroes\\Hero_Juliet_FX\\Juliet_Basic_Bullet_Trail_01.vfx.ot"
# How her abilities are wired: copy, set and rewire parts, by the names# `rsmm entity-graph Piper` shows. Applied in order.[[content.abilities]]clone = "Ability Secondary" # a groupas = "Echo" # new group; each part gets " Echo"
[[content.abilities]]set = "Primary Ability Shots Delay.value"value = 0.2 # on a linked number, replaces the link
[[content.abilities]]entity = "Ice_Clone" # another file of the familyset = "Explosion Attack Traverser.obj_2[3]"value = 4.0 # the n-th number inside a part's settings
[[content.abilities]]link = "Primary Ability Shoot Timer.on_end"to = "State Secondary Ability Echo"To copy parts under exact names, use clone = { "Source Part" = "New Part" }.
The map can include multiple parts and works with from for copies from
another entity. rsmm lint warns on the deprecated list syntax, with removal
planned for late December 2026. To migrate, map each source to its existing
rename value or to the source name plus its suffix (by default " Copy",
or a space followed by as when set). Keep from and entity if the step
uses them.
Use each = [first, last] to write a numbered run of edits. Both endpoints
are included, and RSMM applies the expanded steps in ascending order. Replace a
number in a name or other string with {n}, including in clone map names.
[[content.abilities]]each = [1, 3]set = "Bleed {n} Multiplier.value"values = [1.0, 1.1, 1.2]Use value to give every step the same value, or values on a set step to
give one value per index. A range can expand to at most 10,000 edits.
rsmm lint suggests each when it finds three or more consecutive numeric
set edits that differ only by a number in the target and their values.
-
name/descriptionare added to the base’s text bank asHero_<id>_Name/Hero_<id>_Descin every language (English text for all of them), and the new herodef points at them. -
modelis the body. Start fromrsmm export-character Piper, edit the mesh in Blender on Piper’s skeleton, and export. Bones are matched by name, and a weapon left in the file is ignored (it is a separate object in game). Every skin slot shows this body. -
albedo/mra/normalreplace the maps of the body material. A map you leave out keeps the base’s. -
portraitreplaces the select-screen and in-run portraits. It is the riskiest field: a UI texture under a new name once hung level load (a POI minimap icon), so try it separately. -
weaponsgives a weapon its own mesh (model, a static mesh) and/or maps (albedo,mra,normal). Only this hero carries it; the base keeps its own. The mesh is used exactly as authored, in the weapon’s own space: export it ON ITS OWN with its object transform cleared, not while it is parented to the hand bone of anexport-characterfile (the cooker bakes object transforms, so a weapon exported in the hand ends up offset). -
animationscooks each clip under a new name (Nyx_Piper_Dash_Default) and points only this hero’s entities at it. Theanimationkind replaces a clip for everyone who plays it; this does not. Keys are the base’s clip names, asrsmm export-characterprints them. A.glbpath alone means the action carries the clip’s own name. -
outfitsare more skins, each with its ownnameon the skin page. An outfit is the Default look wearing its own body maps, and withmodelit gets a body of its own too, rigged likemodel(to the base’s skeleton). Outfits take the skin slots after Default in order, and the slots after them show Default. They may show as locked: the base’s skin unlocks do not carry over to a new hero. -
valuessets the hero’s numbers: cooldowns, durations, radii, damage multipliers, pet counts, projectile lifetimes.rsmm export-character <Base> --list-valueslists what can be set and in which entity. A bare label sets it everywhere;<Entity>/<Label>sets it in one entity only. A misspelt label fails the build. -
referencesswaps anything the hero’s own entities name: another VFX, a sound event, a mesh, a clip. Each new resource’s preloads are borrowed from a shipped cache that already loads it. A resource no shipped cache lists is refused, because an unlisted preload crashes the game at load. -
skillsgives the hero talent and ability cards of her own:[content.skills."Dash Trap"](a talent, as itsSkill Controllernames it) or[content.skills."Ability Power"](an ability slot), each withnameand/ordescription. The base hero keeps his cards. The number of talents is fixed, so this relabels a slot; change what the talent does withabilities(its parts are theSkill <talent>group). Keep the card’s{N}placeholders and#…@keywords: the numbers come from the card’s own String Format. -
placeholder(a PNG, a flat pink by convention) paints every piece of art the hero still borrows from its base: each character material (body, gear, companion, every skin), every ability and talent icon, the HUD images, and the book’s portraits, skin icons and codex pictures. Whatever is still pink in game is what is left to make.albedo,weaponsandportraitwin over it. Story pages the hero does not write itself read as pages still to write. -
effectsgives the hero particle effects of its own. Every effect in the base’s own FX folder (Beowulf has 99) is copied under the hero’s name with its own materials and textures, recoloured to a tint at each colour’s own brightness, so shapes and transparency stay. The recolour reaches the colour textures (never masks or surface data), the materials’ colours and the effect’s own colour ramps, which are what make fire orange:[content.effects."*"]tint = "#7ad0ff"for all of them, or[content.effects.Beowulf_Shockwave_Front_01]for one. Withplaceholder, effects given no tint turn pink. Effects shared with every hero (Common_FX) are never touched. -
hidelists meshes the hero does not have, by name ("Wyrm_GEO", Beowulf’s dragon) or full path. Each is swapped, in this hero’s entities only, for an invisible copy: the same mesh on the same skeleton, shrunk to about a thousandth. Everything attached to its bones keeps working, so the dragon’s fire still comes, just from nowhere visible. Its sounds stay. -
memoirsis the book’s story pages, in order:[[content.memoirs]]tables withtitleandtext(Beowulf has 7). A page left out keeps the base hero’s story, or shows a placeholder whenplaceholderis set. The narration audio stays the base’s. -
abilitiesedits how her abilities are wired. An ability is a graph of parts (states, timers, tests, spawners, values) inside the hero’s entity;rsmm entity-graph Piper --group "Ability Secondary"lists one ability’s parts and links, and--show "<part>"shows a part’s fields by name. Each step is one of:-
clone = "<group>"+as = "<new group>"copies a group under new part names (suffix, default" " + as). Use a clone map to name individual parts. Links among the copies point at the copies, and everything they own is copied too.from = "Juliet"copies from another hero. A part that is an override of an inherited part is refused unlessas_new = true: the copy then drops the override and becomes a new part, and the clone map must give it a new name. -
set = "Part.field"+value: a number, a bool, or[x, y, z]. A resource slot (a mesh’s material) takes an asset path, or"mat:<name>"for one of the hero’s own materials (frame.materials). A blank slot that reads its resource from another part is refused: set that part."Part.field[n]"sets the n-th number (or[x, y, z]) inside an object field, as--showprints them; with a textvalueit replaces the n-th string instead, e.g.set = "My Spawner.template[1]"withvalue = "Heroes\\Hero_Beowulf\\Hero_Beowulf_Shockwave.entity.ot"makes a spawner spawn something else. -
link = "Part.field"+to = "Other Part"(""for nothing); a list element is"Part.list[0]", and"Part.obj[n]"is the n-th reference inside an object field (--tokenslists them, empty ones included).Turning a spawn. A spawner’s own yaw fields (
position[8],transform[5]) are ignored for a hero’s ability spawn: four shockwaves turned that way all went the way the hero faced. The game turns a spawn the way Piper fans her notes: the spawner reads a 3D node, whose Y angle (radians) comes from a value. Copy a spawner together with its node (map"Attack Shoot Projectile Spawner 02"and"Attack Shoot 3d Node 02"to names ending in" Copy") and point the node’s angle at a value of your own (link = "Attack Shoot 3d Node 02 Copy.obj_4[5]"). -
add_link = "Part.list"+to, andremove_link = "Part.list[i]". -
override = "Part"+from = "<ancestor entity>": the hero’s own version of a part it INHERITS (fromHero_Common,Hero_Alt_Form_Common, …). The copy replaces the ancestor’s part; aclonewould be a second part the game builds next to it. Change it withsetsteps after. Blood Wolf starts as the wolf this way:{ override = "Initialize In Default Form Value", from = "Heroes/Hero_Common/Hero_Alt_Form_Common" }then{ set = "Initialize In Default Form Value.value", value = false }. -
add_subobject = "Part.list"appends a copy of one sub-object (a damage record’s debuff, an effect’s FX setup):donor_index = icopies entryiof the same list;from+donor = "Other Part.list[i]"copies one from another entity.replace_ref = { "Their Part" = "Your Part" }re-points the copy’s links (keys are the donor’s part names).replace_subobject = "Part.list[i]"takes the samefrom/donor/replace_refand puts the copy IN PLACE of entryi, so whatever picks that entry (an Fx selector) now gets the copy. Both refuse a sub-object that owns sub-objects of its own. -
Building blocks, each one step that writes what used to take a dozen:
targets = "Spread"+radius = 4.5,count = 3(0: every enemy in range): “Spread Target Computer” picks that many enemies around the entity, with its own “Spread Traverser”, “Spread Radius” and “Spread Max Targets”, copied whole from Kintaro’s quest lightning.to = "<state>"switches them on in that state;hit = "<damage part>"adds “Spread Target Attack”, which hits the picked enemies (activate it when the hit should land). Use it instead of copying Juliet’s ricochet target computer: hers is wired to a traverser that is no radius, so every copy needed another hero’s shape patched in.notify_owner = "MY_EVENT"+to = "<state>": the owning hero receives named event MY_EVENT each time the state runs (a bomb telling its hero it killed something, for a talent’s listener).no_damage = "<damage part>": the part deals no damage, crit, stagger or push; its debuff list stays, so a zero-damage contact can still plant a debuff.
-
An animation’s timeline:
set = "Anim Part.cinebloc[i].start"moves when blocifires (seconds), andlink = "Anim Part.cinebloc[i]"withto = ""unlinks the part that bloc acts on (ortoanother part). -
A tester’s condition:
link = "Some Tester.test"+tore-points the state its test reads. -
Raw bytes: a
bytes_Nfield takes a hex string of exactly its size (value = "00 00 80 3f"); a one-byte field also takes 0..255 or true/false. -
A link to a part this file does not define but already references (one a parent entity owns) resolves by that part’s name, when the name is unambiguous. Add
entity = "FX"to a step to edit another entity of the family. An edit that reaches a shipped resource no step recorded (a part of another hero your links now read) needs it preloaded: list it in the hero’sborrow = ["Heroes/Hero_X/Hero_X.entity.ot"]; the build refuses one no shipped preload cache lists. An entity your mod ships in its ownassets/is read from there and needs no borrow. The Abilities tab ofrsmm editorbuilds these steps for you. It opens on Numbers: every number the chosen ability uses, by name (type a value, press Enter; ↺ resets it). The Diagram tab draws the ability as a graph of parts for re-pointing links and copying groups. Every change is re-checked straight away; press Copy manifest code and paste it into the manifest. Every edit is checked before anything is written, and the build fails rather than install an ability that cannot work: a link into an entity the hero does not carry (copying Juliet’s secondary drags links intoHero_Romeo_Juliet_Common, which a hero built on Piper does not have), a part left owning nothing, a number re-pointed at a value of another type. The check proves the wiring is sound, not that the ability plays the way you meant: that is still a playtest.
-
-
[[content.attacks]]: an attack of the hero’s own that replaces an ability slot, declared instead of wired step by step:[[content.attacks]]id = "Crescent" # its entity is Hero_<hero>_Crescentslot = "special"model = "art/crescent.glb" # static mesh, glTF +Y = direction of flightalbedo = "art/crescent_alb.png" # mra / normal optionalspeed = 16lifetime = 0.9 # secondsbeats = [[0, 180], [90, -90]] # each beat's angles, 0 = where the hero facesdelay = 0.4 # seconds between beatsanimation = "art/cast.glb" # replaces the slot's clip (`clip` = its name)The projectile is a new entity of the hero’s own on the engine’s generic hero projectile (physics, hits, piercing, damage and despawn come from it), with the mod’s mesh and maps, the hero’s own trail and impact effects (tinted by
effects) and the base’s projectile sounds. Each angle fires from a copy of the base’s projectile spawner and 3D node, turned by the node’s angle (see Turning a spawn above). Beat 0 fires when the slot is used and each later beat on a timer inside the slot’s state, so the slot’s animation must last until the last beat. Damage is the generic projectile’s for now. Supported bases so far: Piper (slot = "special"). -
own_entity = trueis implied by every field above exceptname,descriptionandportrait. The hero gets its own gameplay entity: everyHero_<Base>*entity (the hero, FX, pets, projectiles, skins) is cloned asHero_<id>*with its paths and scopes renamed, and a new alias inApplicationSettings.otbinds the skins to it. The whole family has to move together, because a pet or a projectile reads its owner’s values by the owner’s template name. With its own entity, the hero’s abilities and values are its own to change later.
Prove it. A portrait named after your hero, your body and texture when you
pick it, and the base’s abilities (Piper’s rats and notes) working in a run.
How the pieces connect is written up in docs/_re/kinds/heroes.md under “How a
hero is assembled from data”.
Building abilities from blocks (kit)
Section titled “Building abilities from blocks (kit)”A hero built on a shipped one can take a [content.kit] table (written in
manifest.toml; the editor’s Hero tab edits heroes written from scratch,
below): a hero’s form and, per button (attack, power, special, defense, ultimate, ultimate2,
trait, dash), "none" or a new ability made of blocks that run top to
bottom:
[content.kit]form = { lock = "alt" } # two-form heroes (Scarlet): "alt" or "base"dash = "none"power = { replace = true, steps = [ { anim = "Characters\\Heroes\\RED\\Animations\\Skills\\RED_Wolf_Dash_Default.fbx" }, { fire = "Heroes/Hero_Piper/Hero_Piper_Ghost_Note_Projectile", angles = [-20, 0, 20], damage = 150, burn = 4, explode = 3 }, { wait = 0.3 }, { repeat = 3, every = 0.15, steps = [ { fire = "Heroes/Hero_Juliet/Hero_Juliet_Projectile", ricochet = 3 }, ] }, { fire = "Heroes/Hero_Kintaro/Hero_Kintaro_Thrown_Axe", reads = { "Max Rebound" = 4 } }, { hit = { radius = 6, damage = 200, delay = 0.2 } }, { heal = 20 },] }fire: any shipped projectile or attack, an enemy’s included.anglesfan it (degrees, 0 = facing),offsetsset shots side by side (metres),speed. Projectiles also takedamage(%),lifetime(s),size,knockback,stagger,explode(radius), status effectsburn,poison,root(seconds) andcurse,vulnerable(true), set per shot on the generic projectile model.ricochet(bounces) andricochet_damage(%) work on Juliet’s projectiles. A projectile that reads its own hero (Kintaro’s axe: rebounds, so it RETURNS; the Snow Queen’s shard: seeking, each hit REFRESHING its lifetime) fires as a copy of your hero’s own;readssets those numbers ({ "Skill Seeking Available" = true }), each defaulting to the original hero’s.hit: an area attack at that moment (radiusm,damage%,delays).forward(onfireandhit): how many metres ahead of the hero the shot starts or the area lands ({ hit = { radius = 3 }, forward = 2.5 }: where the axe comes down). Negative is behind.heal: health, in the units of the hero’s own heals.summon: an enemy that fights for you, spawned ahead of the hero:{ summon = "Enemies/Wolves/Standard_Wolf_Timber" }(alsoStandard_Wolf_Dire,Elite_Wolf_Alpha). The hero gets a copy of it on the allies’ base (Ally_Model, as Sun Wukong’s clone and Kintaro’s bear) with every attack turned on enemies. Experimental: it lives until it dies (no timer yet), and its damage and health are the ally defaults, not scaled by your hero.pets(a kit key, not a block): creatures that follow the hero, the way Piper’s rats do:pets = { entity = "Enemies/Wolves/Standard_Wolf_Dire", count = 1, button = "trait" }. The enemy is copied onto the pet base (Hero_Pet_Model) with its attacks turned on enemies;count(1..4) spawn around the hero at the start, the select screen included.button’s ability is replaced by the attack order, with no cooldown, and the pets come back when the fight ends. Experimental.anim: one of the base hero’s own clips plays instead of the button’s.replace = truecuts the button’s own hits and spawns, keeping its animation and flow.
Each block is built from parts the base already has (its projectile spawner, timers, spawner values), so what a base cannot do is refused with the reason when you save. None of this is proven in game yet (2026-10-29): the open questions are whether enemy projectiles fired by a hero hurt enemies, and whether the status flags take effect.
Buttons of a hero written from scratch
Section titled “Buttons of a hero written from scratch”A hero with no base ([content.frame]) writes each button from data,
[content.frame.abilities.<button>]: its clip, duration, cooldown,
name/description, and hits, bursts around the hero at set times. A hit
can do more than damage:
[content.frame.abilities.power]clip = "anim:Timber"cooldown = 6icon = "art/ui/timber.png"hits = [ { at = 0.45, radius = 3.5, damage = 350, stun = 1.0, knockback = 60, stagger = 20 } ]steps = [ { wait = 0.45 }, { hit = { radius = 3, damage = 250 }, forward = 2.5 } ]
[content.frame.abilities.trait]clip = "anim:Bean"hits = [ { at = 0.9, radius = 5, damage = 300, status = "Rooted" } ]A button moves the hero only through its clip: the DEF.RootMotion bone’s
forward travel (root motion), as every shipped attack lunges. A clip animated
in place attacks standing still. travel on the animation adds the step
without re-animating it:
[content.frame.animations.Chop]source = "art/anims/jack_Chop.glb"template = "Kintaro_BasicAttack01"travel = 1.5 # metres forward, fast at first, easing outtravel_until = 0.35 # seconds; default 55% of the clip-
stun(seconds),knockbackandstaggerare fields of the hit’s damage record;statusputsRooted,Weak,Vulnerable,Bleed,ChilledorIgniteon whoever it hits (a copy of a shipped debuff, on only while the button runs). -
Every hit counts as its button’s damage, so the hero’s per-ability talents (
Crit chance basic,Attack power secondary,Increase trait damage for each debuff…) apply to it. -
stepsis the kit’s timeline above (fire,hit,heal,summon,wait,repeat), started by the button. The hero gets its own spawner and aim to build from, so projectiles work without a base. -
template = "<Hero>: <button>"lends a shipped hero’s button whole: its states, timing, effects and hit logic, exactly as the game plays it. The donor’s talents, HUD and resource systems (combo points, charges) are cut, and the button runs on this hero’s slot.rsmm templateslists every button (121 at Update 6). Tune it withvalues = { "<part>" = <number> }(its damage multipliers, ranges and durations, by part name) andclips = { "<its clip>" = "<new clip>" };frame.editscan edit any of its parts by name afterwards.cooldown,name,descriptionandiconstill apply.clip,hitsand the other keys below don’t: a template’s behaviour is the donor’s.[content.frame.abilities.power]template = "Red: Wolf Primary" # Scarlet's wolf bitecooldown = 6values = { "Wolf Primary Ability Damage Multiplier Default" = 1.0 } -
strike = { clip, duration, after }makes the button a rush that ends in a strike, like Scarlet’s wolf bite.clipis the lunge. It stops at the first enemy in reach, and the strike’s own clip (hit plus recovery) plays there. An enemy already in reach is struckafterseconds in (default 0.25). A lunge that reaches no one ends with no strike.hitsland on the strike’s clip. -
intangible = truelets attacks pass through the hero while the button runs, including its strike. A number (intangible = 2.0, up to 60) holds it only for the first that many seconds. -
loop = trueloopsclipfor the button’s wholedurationinstead of playing it once (not on a combo). -
passive = truemakes the slot a passive trait: no clip, no cooldown, a state that is on from the moment the hero spawns. Itsadd_stats(the same list a talent takes) hang off that state, so they always apply. -
iconis the button’s picture on the HUD: a PNG in the mod (icon = "art/ui/timber.png") or a picture the game ships (icon = "Heroes\\Kintaro\\Ability_Kintaro_Dismounted_Power.png"). The greyed copy shown while it cools down is made for you (a shipped picture uses its own_Disabledtwin). Withouticonthe button is blank. -
damageis a percentage of a normal hit. For scale, the shipped heroes deal about 140–180 per basic attack, 250–900 with a power, around 150 per special hit (finishers 600–900), and 800–4000 per ultimate hit, with ultimates on a 60–90 second cooldown.
A template that starts with Characters\\ names a clip of another rig (an
enemy, a summon). The clip is cooked on that rig’s bones, written next to the
template, and is not fitted to the hero’s body, so only that rig plays it:
"anim:<name>" names it in frame.edits (an animatic_clip step takes the
clip’s own length), and a slot or button of the hero refuses it. Names in
frame.animations and frame.materials are letters, digits and _.
[content.frame.materials.<name>] writes a material of the hero’s own: a copy
of a shipped template material with your albedo, mra and/or normal
maps. The template’s other maps stay. "mat:<name>" names it in
frame.edits, so a summon’s mesh can wear it without touching the shipped
enemy:
[content.frame.materials.BigWolf]template = "Characters\\Enemies\\Wolves\\Textures\\M_WolfAlpha.mat.ot"albedo = "art/big_wolf.png"Every file of a hero written from scratch is checked while it is built: each link must reach a part the hero inherits (through Hero_Common’s alias) or one of its own, and every resource it names must be preloaded. A mistake stops the build with the part’s name, instead of a button that silently does nothing in game.
Projectiles of the hero’s own, [content.frame.projectiles.<id>], are fired
with fire = "own:<id>": each is the engine’s generic hero projectile (flight,
hit, despawn) wearing your model (a static glb, +Y = flight) and albedo /
mra / normal, with its own scale, lifetime, trail and impact
effects (any shipped .vfx.ot), and splash = <m> for area damage of that
radius wherever it hits (the projectile base’s own splash, as Piper’s Big
Shots). Speed, damage, size, explode, knockback and
statuses are set per shot in the fire step:
[content.frame.projectiles.Bean]model = "art/projectiles/bean.glb"albedo = "art/projectiles/props_alb.png"trail = "Settings\\Heroes\\Hero_Kintaro_FX\\Kintaro_Skill_Forest_Spirit_Trail.vfx.ot"
[content.frame.abilities.trait]steps = [ { fire = "own:Bean", angles = [0, 90, 180, 270], speed = 14, root = 2 } ]A talent card is dealt at level-up; give 4 or 5 of them starter = true for
the pick at the start of a run (a hero with none shows “available in an
upcoming update” on every starting card). show_counter = true puts the number
badge quest and stack talents use on the card.
For a hero written from scratch, talents are available at the starting hero
rank by default. Set unlock_rank on a level-up talent to require a hero
rank from 1 to 9. Use 0 to make it available from the start. Starter
talents are always open. Ultimate rows follow the same unlock ranks as the
base game, and story pages (memoirs) default to ranks 2, 4, 6, 8, 9, 9
and 9. You can also set unlock_rank on a memoir. A hero cloned from a
base keeps the base hero’s locks.
A hit’s fx sets the burst’s look
(any shipped .vfx.ot; the default is the shared explosion, a fire burst).
A talent’s actions take the same: { on = "special", hits = [...], steps = [...] } runs each time that ability (or event) fires while the talent is
owned, its hits counting as that ability’s damage. Unproven in game
(2026-11-07).
Its pictures are its own when you give a PNG from the mod; anything left out
shows the rig’s. A value with \ still names a picture the game ships.
[content.frame]portrait = "art/ui/portrait.png" # select screen, in-run HUD portraitbook = "art/ui/book.png" # or { standard, active, locked, unavailable }new_hero = "art/ui/new_hero.png" # the "new hero" announcementskin_icon = "art/ui/skin.png" # the Default skin's icon in the bookcodex = ["art/ui/codex_1.png", "art/ui/codex_2.png"] # cycled over the book's slotsbanner = "art/ui/hud_banner.png" # the HUD's ability banner (else Red's)
[[content.frame.talents]]name = "Attack Sharp Axe"icon = "art/ui/sharp_axe.png" # also on [content.frame.ultimates.<name>]Its effects are written from data too: no shipped effect file is copied.
Each [content.frame.effects.<name>] is a list of particle layers; name it
anywhere an effect goes with fx:<name> (a hit’s fx, a projectile’s
trail / impact, a talent action’s hit).
# A sprite of the mod (white shape, alpha = outline), tinted by `colors`;# `soft = true` fades into the ground; `material` draws a shipped one instead.[content.frame.effects.WoodChips]layers = [ { texture = "art/fx/chip.png", burst = 14, lifetime = [0.35, 0.6], size = [0.25, 0.45], speed = 7, radius = 0.3, rotation = 180, colors = [[0.62, 0.42, 0.24, 1], [0.45, 0.3, 0.17, 0]], grow = [1.0, 0.7] }, { texture = "art/fx/puff.png", soft = true, burst = 4, lifetime = 0.5, size = 1.5 },]
# A continuous one, for a projectile's trail.[content.frame.effects.BeanTrail]layers = [ { texture = "art/fx/spark.png", rate = 30, burst = 0, duration = 1.0, lifetime = [0.25, 0.4], size = 0.4, colors = [[0.75, 1, 0.5, 1], [0.5, 0.9, 0.3, 0]] } ]Then hits = [ { at = 0.3, radius = 2.5, fx = "fx:WoodChips" } ] on a button,
or trail = "fx:BeanTrail" on a projectile.
A layer: burst particles at once and/or rate per second for duration
seconds (from delay); each lives lifetime s at size m, flies speed
m/s outward from a sphere of radius (spread degrees of it) plus up m/s,
starts turned up to rotation degrees, and runs through colors (r, g, b,
alpha) and grow (size multiples) over its life. Unproven in game
(2026-11-08).
Any picture slot of the hero base takes one too:
[content.frame.slots."<slot>"] texture = "art/x.png". Unproven in game
(2026-11-08).
What the rig lends, and what you can change
Section titled “What the rig lends, and what you can change”A hero written from scratch takes more than clips from its rig. Each is
what every shipped hero fills in the shared hero base; all unproven in game
(2026-11-13).
-
Sounds. Footsteps, the hurt voice, death, deathdoor, spawning, teleporting and the book’s sounds are the rig’s (21 slots on Kintaro or Scarlet). Name another shipped sound per slot, or
"none"to keep the shared base’s generic one:[content.frame.sounds]"Footstep FMod Event Default" = "Heroes\\Hero_Geppetto\\Hero_Geppetto.entity.ot | Footstep FMod Event Default""Hurt Voice FMod Event" = "none" -
Bone layers. The move split (upper body acts while the legs walk) and the physics layer (fur, cloth, hair) are the rig’s, when the hero’s body has the rig’s bones: the rig mesh, or a
modelof your own on that armature.
More a button can do
Section titled “More a button can do”[content.frame.abilities.attack]combo = [ # two to four steps { clip = "anim:Claw1", hit_at = 0.2, hits = [ { radius = 2.8, damage = 150 } ] }, { clip = "anim:Claw2", hit_at = 0.2, hits = [ { radius = 2.8, damage = 150 } ] }, { clip = "anim:Finisher", hit_at = 0.3, hits = [ { radius = 3.2, damage = 180, status = "Bleed" } ] },]
[content.frame.abilities.trait]clip = "anim:Pounce" # a clip whose root bone travels carries the hero with itroot_motion = 0.5 # half the clip's travel; 0 = in place (default: all of it, # stopping when the target is in range, as shipped attacks)
[content.frame.abilities.special]clip = "anim:Howl"moving = true # may be used while walkingicon = "Heroes\\Red\\Ability_Wolf_Special.png"icon_disabled = "Heroes\\Red\\Ability_WOLF_Special_Disabled.png" # when its name is not "<icon>_Disabled"A talent’s actions also fire on attack and trait now, beside dash,
power, special, defense and ultimate.
Entities of its own
Section titled “Entities of its own”[content.frame.entities.<Id>] makes an entity of the hero’s own from a
shipped one: a copy of from, with edits (the same steps as a hero’s
abilities: clone, set, link, add_link, remove_link,
add_subobject, replace_subobject, switch_off …) applied and checked.
Name it "own:<Id>" in a step’s fire or a summon’s burst:
[content.frame.entities.Bomb]from = "Heroes/Hero_Red/Hero_Red_Bomb"edits = [ { set = "Explosion Timer.duration", value = 0.1 }, { remove_link = "State Exploding.activates", to = "Explosion Attack Heroes Tester" },]
[content.frame.abilities.special]steps = [ { summon = "Enemies/Wolves/Standard_Wolf_Dire", lifetime = 20, burst = "own:Bomb", burst_on_hit = true } ]It gets identities of its own and is preloaded with the hero, with whatever its edits brought in.
[content.frame] edits = [ ... ] runs the same edit steps on the hero’s own
main entity once it is built: copy a part from a shipped hero, override a
part of the shared base (override + from = "Character_Common/Character_Common"),
put a debuff on one of its hits (add_subobject on "<Button> Ability Hit <n> Damage.bytes_36").
A value "own:<Id>" names one of its own entities:
[content.frame]edits = [ { clone = { "Blood Bomb Explode Listener" = "Bomb Listener", "Skill Power Special Bomb Spawner" = "Bomb Spawner" }, from = "Carmilla" }, { set = "Bomb Spawner.template[1]", value = "own:Bomb" },]A summon step’s look ({ albedo = "art/x.png" }) is
written for a from-scratch hero too.
status — a status of your own, with a HUD icon
Section titled “status — a status of your own, with a HUD icon”What the player sees. A new status, like Ignite or Marked: an icon on the HUD while it is active, a buff or debuff look, a value, and an expiry. A mod applies it to entities by its id.
[mod]id = "frost"name = "Frostbite"version = "0.1.0"author = "you"description = "A Frostbite status."
[[content]]kind = "status"name = "Frostbite"look = "debuff"icon = 'HUD\Debuff_Chilled.png'combine = "max"reapply = "refresh"name is the block’s identity; the status id is the engine’s hash of
"<mod id>:<name>", so two mods can both declare “Frostbite”. look is
buff or debuff; hidden = true keeps the status off the HUD. icon accepts
a texture path in the game’s Ui archive. To use your own PNG, ship it in the
mod outside assets/ and set icon = "./art/frostbite.png". RSMM cooks and
registers it on apply, and the game positions it in the normal status row.
Leave icon empty to show no icon. value is float, int or
bool; combine (add, sub, mult, max, min, reduce, oldest) says
how several stacks fold into one value; hud_combine (same names, default
combine) is the kind the HUD uses to work out the icon value; reapply (keep, extend, refresh,
replace, replace_shortest) says what a second hit does; max_stacks caps
the live stacks, 0 for no cap.
rsmm apply adds one row per status to the game’s status table, merged across
every enabled mod, and writes statuses.json beside the mod for the loader,
which registers the status at boot.
Apply it. A talent’s hits put the status on enemies through
on_hit,
naming it as status = "frost:Frostbite" with a duration and an optional
amount.
Prove it. The loader log names each registered status. In game, a hit from the talent shows the status’s icon on the enemy until the duration ends.
Trap. Built on static analysis; not yet tried in game. A status the loader does not register is deleted from the table when the game starts, so the mod needs the loader installed.
Where to go next
Section titled “Where to go next”- Content kinds & confidence — the generated rating table, and the only place a rating is written down for readers.
- Mod authoring reference — the full manifest surface, patches, merges, load order.
- Conventions & best practices — naming, pre-flight checklist, surviving game updates.
- Example mods — complete mods that ship in the repo.
