Skip to content

Gameplay Config ​

The Gameplay Config editor (Game Settings > Gameplay Config).
The Gameplay Config editor (Game Settings > Gameplay Config).

The Gameplay Config holds the rules of your game that are not about one thing in the database: how combat is resolved, what death costs, how the party works, what is saved. Every field has a tooltip. The editor has eight tabs; the big ones have pages of their own, and the others are on this page.

Categories ​

CategoryGroupsWhere
Party ManagementParty and companions, New Game Rules, Action Bar, InputParty Management
ControllerThe type of controller (WASD with mouse, point and click) and its settingsController & Camera
CameraThe type of camera (third person, top-down) and its settingsController & Camera
Leveling, Kill Experience, NPC Level ScalingLeveling and experience
CombatDeath & Revival, Threat, Damage Results, PoolsCombat
Hit Rules (what can miss, accuracy and evasion, melee and ranged)Hit Rules
GeneralQuests, Fog of War, Footsteps, Developer, Save/Load Rules, Breathbelow
Items & InventoryItem Generation, Inventory Styles, Items and inventory, Durability, Dropped Itemsbelow
VisualsRig Markers, Outline Materials, Targeting Visuals, Tactical View Visuals, Target Texturesbelow
AudioMusic and ambience: how the world loads its tracks, the default fade, the combat music fade and end delaybelow
NPC LOD SystemLOD distance thresholds, Terrain Range, update intervals, batch processingbelow

Where to start

Most games change a handful of these: the size of the party and the rules of a new game (Party Management), what death costs (Combat), and whether attacks can miss (Hit Rules). The rest has defaults that work.

General ​

Fog of war ​

Fog of war hides the parts of the world the party has not seen. Unexplored ground is covered by a shroud; ground that was seen but is out of sight is dimmed (explored); what is in sight is clear. Entities in the fog are hidden. The fog is drawn by a GPU effect, so it cannot be seen in the editor's headless tests; try it in the game.

FieldWhat it doesDefault
Fog of war enabledThe whole system on or offon
Fog layers1 = only the shroud; 2 = shroud and a dimmed "explored" layer2
Fog persist explorationWhat was explored stays explored (kept per world, and saved with the game)on
Fog shroud colorThe colour of unexplored ground; the alpha is its strengthblack
Fog explored colorThe colour of explored ground out of sightblack, 60 %
Fog edge qualityHow smooth the edge of the fog is: sharp, low, medium, high, ultra (costlier)Medium
Fog edge softness, Fog blur radiusHow gradual the edge is, and how blurred0.3, 1
Fog pixels per unitDetail of the fog image, 1 to 6 (more is sharper and uses more memory)4
Fog update intervalSeconds between updates of the vision circles0.1
Fog entity hide modeHow an entity in the fog is hidden: hide the rig (fast, collision stays), fade with a shader (smooth, costlier) or hide the whole entity (may change collision)Hide the rig
Fog fade durationSeconds of the fade, for the shader mode0.3
Fog keep collision activeAn entity hidden in the fog still collideson
Fog hide nameplates, Fog hide map markersNameplates and map markers of entities in the fog are hidden tooon

Quests ​

The quest settings are on the Quests page: max active quests (20), quest markers, default quest failure, quest game over delay, allow quest abandon, show quest levels, the four quest level gaps, and auto track quest objectives.

Breath ​

How long an entity can stay under water. A movement volume says where an entity must hold its breath; these say who, how long and what happens.

FieldWhat it doesDefault
Breath usersWho holds their breath: Nobody (swimming is free), Players or Everyone (NPCs too)Players
Breath durationSeconds of breath20
Breath recovery speedHow fast the breath returns above the surface, compared with how fast it ran out (4 = four times as fast)4
Drowning effect idThe effect that is on an entity while it has no breath (a damage over time). It comes off when the breath returns. 0 = nothing happens0

The player sees the breath in the breath bar of the HUD, which shows while the breath is not full.

Footsteps ​

How the footstep, jump and landing sounds of entities are timed. The sounds themselves come from the audio library (motion/<type>/footsteps/<surface>/<movement>/).

FieldWhat it doesDefault
Footsteps from movementThe game makes a footstep every stride of ground an entity walks, a jump sound when it leaves the ground and a landing sound when it comes down. It needs nothing in the animations. Turn it off if your animations call for the sounds themselveson
Footstep stride walkMetres between two footsteps while walking or crouching0.8
Footstep stride runMetres between two footsteps while running1.5
Footstep swim intervalSeconds between two swim sounds (strokes) while swimming and moving in a movement volume: about the time of one stroke of your swim animation1.3

Ground marks ​

Footprints and the other marks on the ground.

FieldWhat it doesDefault
Footprints enabledFeet leave footprints on ground that takes them (the terrain textures and the weather say which). Off = no footprints at all; the Ground Mark effect still workson
Footprint limitThe most marks (footprints, tracks, scorches) on the ground at once; the oldest is used again. 0 = no marks96
Footprint view distanceHow far from the camera marks are drawn, in metres40

If an animation calls for a footstep itself (a Call Method track on the walk or run animation calling _on_animation_walk_footstep_emit or _on_animation_run_footstep_emit on the entity animation player; _on_animation_jump_start_emit and _on_animation_jump_end_emit for jumps, _on_animation_swim_stroke_emit for swim strokes), the game uses those calls and the movement adds none for that kind of sound.

Developer ​

FieldWhat it doesDefault
Developer commandsThe developer commands of the chat box (/give, /xp, /level, /money, /addtime, /settime, /quest). Turn it off for a releaseoff

Save/Load rules ​

FieldWhat it doesDefault
Allow manual savePlayers can save when they likeon
Allow save during combatSaving while the party is in combatoff
Max save slots0 = unlimited10
Save directoryWhere the saves gouser://saves/
Save on area transitionSave automatically when the party changes worldoff

These five are not used yet: they are stored, but nothing reads them. The game saves into user://saves/ whatever the setting says, and autosaves when the player leaves to the menu or quits (and not while the party is in combat). See Save and load.

Items & Inventory ​

The rules about items have a tab of their own: how generated items get their stats, how bags work, what wears out, and what lies on the ground.

Item generation ​

How generated items are made and what level their loot has.

FieldWhat it doesDefault
Item budget formulaTurns the item level into the stat budget of an item of that level, before the slot weight, the multiplier of the item and the budget multiplier of its quality. A formula: Linear 20 gives 20 at level 1 and 400 at level 20; a curve (hyperbolic, a soft cap) makes the high levels give less and less extra. Below the formula a table shows the budget at a few levelsempty (Linear 20)
Default NPC loot levelWhere the item level of NPC loot comes from when neither the loot table nor the loot rule says: Holder level (the NPC's own), Receiver level, Party level or World levelHolder level
Default object loot levelThe same for chests, crates and other objects. An object has no level of its own, so Holder level falls back to the party'sParty level
Fallback item levelThe item level used when a source cannot give one (no party yet, a world with no level)1

Inventory styles ​

How the bags of characters, NPCs and containers work: slots or no limit, weight, and what happens above the limit. The fields and what they do are on Inventories.

FieldWhat it doesDefault
Character inventory styleThe bag of players and companionsSlots from Bag Slots, no weight
Container inventory styleChests, bodies and other objects. A container can have its ownthe same

Items and inventory ​

FieldWhat it doesDefault
Item weight enabledAn older switch: it is not read any more. Weight is a rule of the inventory stylesoff

Weight is a rule of the inventory styles and durability has its own group, below. Dropped items have theirs after it.

Durability ​

Equipment that wears out: see Durability for how it works. The numbers (how much durability, how fast it wears) are on the equipment slots.

FieldWhat it doesDefault
Durability modeOff, or On hits: weapons lose durability when their wearer deals damage, the rest of the equipment when it takes damageOff
Durability loss per hitHow much a piece loses in a hit (times the loss multiplier of its slot)1
Durability loss chanceThe chance a piece wears in a hit1
Durability one piece per hitOnly one random piece wears when its wearer takes damageoff
Durability broken behaviorA piece at 0: No effect (stays on, gives nothing until repaired), Unequip (into the bag) or DestroyNo effect
Durability repair cost multiplierThe price of a repair: vendor value × share missing × this0.25

Dropped items ​

Items that lie in the world: see Dropped items for how they work.

FieldWhat it doesDefault
Npc loot delivery, Object loot deliveryWhere the loot of NPCs, and of destroyed objects, goes when the loot rule says Project default: into the body or the wreck (looted through a window) or on the ground as dropped items. A rule can choose for itselfIn the body
Dropped items enabledThe switch of the feature. Off: nothing lies in the world, and a loot rule that drops on the ground puts the loot in the inventory of the bodyon
Visual styleMesh: the model of the item. Sprite: a flat picture of its icon that faces the cameraMesh
PhysicsPlace on ground: put under where it is dropped and kept still. Settle then freeze: thrown, it falls and bounces, and is frozen once it rests. Always simulated: a physics body as long as it lies thereSettle then freeze
Pickup walk overWalking over an item takes it (only the character the player controls)on
Pickup interactThe interact key takes the nearest itemon
Pickup mouse overClicking an item with the mouse takes it (for games with a visible pointer)off
Pickup look atThe interact key takes the item under the crosshair (for mouse-look games)off
Walk over radiusHow close a character must come to take an item by walking over it1.2
Mouse rangeHow far away an item can be and still be taken with the mouse or by looking at it5
Pickup delaySeconds after landing before an item can be taken1
LifetimeSeconds an item lies before it disappears (0 = for ever)0
Label modeWhen the name shows above the item: never, when hovered, looked at or the interact target, or alwaysHover and target
Scatter radiusHow far from the place several drops are scattered1
Max in worldThe most items in the world at once (0 = no limit); past it the oldest goes0
Saved to mapItems dropped while playing are kept in the save and when the player leaves a world and comes backon
SceneThe scene a dropped item is made from (empty = the one of the toolkit). Copy dropped_item.tscn to change how it looks; see how they are builtthe toolkit's

Visuals ​

The pictures and materials the game uses to show targeting, selection and the tactical view. Leave a field empty to use no picture.

GroupFieldsUsed by
Rig markersHitbox outline texture, Selection marker texture, Target marker textureThe marks drawn under or around an entity
Outline materialsHover outline material (the entity under the mouse), Selection outline material (the selected entity)The outline of a highlighted entity
Targeting visualsMax distance circle marker (the range of an ability), Attack ribbon material (the line from the user to the mouse)Aiming an ability. The range circle is not used yet
Tactical view visualsPath material, Destination materialThe line and the marker of a click-to-move path. Not used yet
Target texturesAbility target textures: the pictures an ability can choose for its targeting markerThe ability's targeting marker

Audio ​

How the music, the combat music and the ambient sound behave; the sounds themselves are chosen on the world, the zones, the weather and the encounters (Music Albums). The music of the menus is set here too.

FieldWhat it doesDefault
Audio preload modeBackground: when a world starts it asks for every track its zones, weather, encounters and events can play, and the game goes on while they load. Wait: the loading screen waits until they are all loaded (more memory used at the start, no pause later)Background
Audio default fade secondsThe seconds a new music or ambient sound takes to fade in when its source does not say3
Audio combat fade secondsThe seconds the combat music takes to come in when a fight starts, and the music to come back when it ends1.5
Audio combat music end delayThe seconds after the last fight of the party before the combat music ends (so a short break in a fight does not cut it)4

Each menu has a sound source: None (the menu is silent), a Track (with Loop, Pause, Volume and Fade) or a Music Album. The tracks are chosen in the track window of the Sound Library; the albums are the ones of Audio > Music Albums (kind Music).

FieldPlays in
Main menu musicThe main menu (it starts after the splash screen)
Character creation musicThe character creator
Loading screen musicThe loading screen
Pause menu musicThe pause menu. It plays over the game, even in a fight; the music of the game comes back when the game goes on. None: the music of the game goes on while paused

The menu music is the top sound layer: it stays until the game starts a world, and going back from the game to a menu clears the sound of the world.

NPC LOD system ​

The level of detail system keeps a big world fast: NPCs far from the party think less often. Every second or so the game puts each NPC into one of five levels by its distance from the party.

FieldWhat it doesDefault
NPC LOD enabledThe system on or off. Off: every NPC thinks every frameon
LOD distance high / medium / low / minimalThe distance (metres) where each level starts: up to high is full detail; beyond minimal an NPC is paused (culled)30 / 100 / 250 / 400
LOD interval high / medium / low / minimalSeconds between updates of an NPC at each level0.1 / 0.5 / 1 / 2
LOD optimization intervalSeconds between runs of the checker1
LOD controllers per batchHow many NPCs are checked per run, so a world with hundreds of NPCs does not stall10

A good setting is the one you cannot notice: raise the distances if NPCs seem to freeze when you look back at them, lower them if a big world stutters.

Terrain range ​

The terrain makes its ground solid only round the players: within its Collision radius (96 m by default; it is a setting of the terrain node of a map). Beyond that there is nothing to stand on, and a physics body would fall through. So:

FieldWhat it doesDefault
Lock outside terrainEntities that are not players stand still (no movement, no physics) wherever the terrain has ground that is not solid yet. They move again as soon as the ground under them is solid. A map without a terrain is not affectedon

The tab shows a warning when the LOD distances reach further than that ground (for example Medium 100 m and Minimal 400 m with the default radius): on a map with a terrain those levels are never reached, because the NPCs stand still first. Lower the distances, or raise Collision radius on the terrain. What a frozen NPC would have done meanwhile is not worked out yet; a later system will predict where it would be.

See also ​