Vǫrðr Forge Steam page

Reference

Data Tables

Everything gameplay-shaped is a table document in assets/data/. Change a row, save, and the game reads it; nothing is rebuilt. A project's own table is read first. When it has none, the engine's copy is used if the engine ships one: classes, dice styles, effects, elements, factions, magic, particles, races, random events, resting, saves, schools and skills.

The tables open as a form in the asset manager (double-click in the Content Drawer). Lines starting with # are comments.

Edit > Project Settings edits five of these as tables, a row per entry with every name picked from a list: Enemy Types (enemies.vfa), Loot Tables (loot.vfa), Recipes (recipes.vfa), Craft Types (crafttypes.vfa) and the Quest Book (quests.vfa). Each change is written at once, and what a page does not show stays in the file as it was. A click that changes nothing writes nothing. A change the disk refuses stays on the page and is written with the next change; a file the page cannot read is never written. Renaming a row renames it everywhere the project names it, and a row the project still names cannot be deleted.

The .vfa tables are documents: a VordrAsset { AssetType = ... } line first, then one comp <rowtype> <id> -1 - line per row, each followed by its field <name> <value> lines. A name or text field holds its spaces as written.

The tables

Who she is

attributes.vfa
Attributes, bars, roles, points per level, companion experience. See Attributes and Leveling.
curves.vfa
Hand-drawn progressions, including xp: a curve <name> row each, field points.
tuning.vfa
The engine's gameplay numbers (below).
feel.vfa
Movement feels: a feel <id> row each, fields name, accel, decel and turn.
difficulty.vfa
The difficulties New Game offers. See Endings and Difficulty.
races.vfa
The peoples she can be born as, and what each gives.
skills.vfa
Skill trees. See Skill Trees.
magic.vfa, classes.vfa, schools.vfa, effects.vfa
Magic, classes and conditions. See Magic.
elements.vfa, saves.vfa
Damage types, and the saving throws spells use.
party.vfa
Companions: a member <id> row each, fields name, class, level, stats, hp, mp, gear <slot> <item>, item <id> [count], spell, sound, doc, pvc, control (project, ai or player) and recruitable.

Fights and foes

rules.vfa
The d20 rules, one rules d20 row: action points and their costs, walk and reach, armour class, attack and initiative dice, crits, the grid, cover, high ground, flanking, natural 1s, death saves, reactions, who plays a companion's turn, and Action, Bonus Action and Movement. See Combat.
battleenvs.vfa
Battle places: the ground a turn-based fight happens on, its pictures and music. See Combat.
enemies.vfa
Enemy numbers, weapons, skills and senses. See Enemies and Spawners.
behaviors.vfa
How enemy kinds fight: a behavior <id> row each, fields flee_hp, standoff, backpedal, spring, post, enrage_hp, enrage_speed, alarm_mult and flank.
foetraits.vfa, foenames.vfa
Named foes: an enemy that fells her earns a name and a trait, and comes back. A trait <id> row each (fields label, hp, dmg, behavior), and a name <FirstName> row each.
sidefoes.vfa
The side-scroller's creatures: a foe <name> row each, fields hp, touch, speed, fly, faceright and tier.
fear.vfa
The fear meter: where it starts, what moves it, its thresholds and what it drives. Off until it is turned on in Project Settings > Fear.
needs.vfa
The Needs: the switch, each need's drain and thresholds, their ten conditions and each map's climate. Absent until it is turned on in Project Settings > Needs.
dice_styles.vfa
How dice look: a style <id> row each, fields name, sheet, cell, mode, roll and rollframes.

Things and money

items.vfa
The item catalog. See Items and Equipment.
itemtypes.vfa
Item types, the built-in ones and your own. See Items and Equipment.
inventory.vfa
The currencies, a currency <id> row each (fields name, short, icon, start, cap, deathloss; see Money), and the equipment slots, a slot <id> row each (fields label, accepts, role).
affixes.vfa
Prefixes and suffixes, a prefix <name> or suffix <name> row each, and pool rows that weight them. See The Loot Forge.
wordforge.vfa
The rarity ladder and its words. See The Loot Forge.
sets.vfa
Item sets: a set <id> row each, field name and a bonus <pieces> <grants> field per bonus. See The Loot Forge.
loot.vfa
Treasure tables. See The Loot Forge.
recipes.vfa
A recipe <id> row each: name, type, station, in <item> <count> per ingredient, gateflag, gateskill, gatestat, out, qty, xp and statup. See Crafting.
crafttypes.vfa
The station each craft type needs: a craft <type> row each, field station. See Crafting.
economy.vfa
Regions, what goods cost and how much is in stock in each, and the trade routes between them. See Shops.
shops/<name>.vfa
A merchant's stock: a purse funds row (field amount, and the merchant's own sell, markup, buyonly, buys, faction, restock and haggle), then a ware <item id> row per ware (field qty, none means unlimited; price, currency and one cost <item> <n> per item it takes). See Shops.
drops/<name>.vfa
What a villager drops: a drop <item id> row each (field qty), and a coin funds row (field amount) for coin.
containers/<id>.vfa
A container's contents. See Containers.

The world and its people

quests.vfa
Quests. See Quests.
factions.vfa
Parties, deeds and who hears whom.
randomevents.vfa
Random events.
resting.vfa
Resting and waiting: a settings row (the rest key, a Rest row in the menu, the screen), and a rest row for each way to rest.
npckinds.vfa
What each NPC kind is: an npckind <name> row each, field type (npc, animal or creature).
schedules.vfa
The villagers' day: a stop <n> row each, fields tag, hour, x, y, and anim and shop when set.
weather.vfa
Your own weather patterns. See Weather.
water.vfa
Art that is water. See Water.
foliage.vfa
Foliage types for painting trees, bushes and rocks over terrain. See Landscape Mode.

Look and sound

lights.vfa, materials.vfa
Light and material by art name. materials.vfa also holds the terrain materials.
particles.vfa
Effects. See Effects and Particles.
dialoglooks.vfa
The dialogue box's look, for the project and for each character. See The Dialog Box.
sounds.vfa, soundsets.vfa
Ambient sounds on art, and sound sets.
musiclayers.vfa
Layered music: a track <id> row each, a stem <file> <curve> field per layer, and follow and fade in seconds.
credits.vfa
The credits.

Words and the engine

strings.vfa
Every word your players read, changed on Project Settings > Words. A translation is assets/lang/<code>/strings.vfa.
rune_lexicon.vfa
Extra words for Rûn's verbs: a verb <name> row each, field words.
input.vdt
The game's actions and their default keys. See Controls and Gamepad.
assettypes.vdt
Asset types of your own, added to the built-in ones.

tuning.vfa

One tuning tuning row, one field per number (field <key> <value>). A key that is absent keeps the default shown here. From a script, tune <key> <value> changes one while the game runs.

walk_speed 300             sneak_mult 0.5             roll_time 0.28
roll_speed 900             attack_time 0.35           attack_range 110
gravity 1500               jump_speed 620             enemy_chase 120
enemy_wander 55            enemy_sight 350            enemy_hearing 150
enemy_forget 3             enemy_leash 500            knockback 260
enemy_cooldown 1           use_range 90               respawn_time 2
air_jumps 0                night_depth 70             swim_mult 0.55
ambush_chance 0.85         backstab_mult 2            backstab_per_cunning 0.15
backstab_crit_mult 1.5     run_mult 1.65              anim_walk_ms 110
anim_run_ms 85             anim_idle_ms 220           dir_idle 0
hop_ms 550                 hop_px 46                  hop_boost 1.15
enemy_alarm 250            character_size 64          character_glow 35
move_accel 2400            move_decel 2600            move_turn 4200
round_secs 6               killz_drop 2000            death_dim 0.35
death_dim_secs 0.6         mirror_max 4               unarmed_cd 0
global_cd 0                enemy_skill_cd 3           enemy_skill_first 1
enemy_swing_time 0.4       companion_cast_cd 2.6      companion_swing_cd 1.2
dash_cd 0.35               sprint_mult 2.2            run_hold 0.25
run_ease 0.3               walk_angle 61              step_height 20
coyote_time 0.1            jump_buffer 0.12           wall_slide 150
wall_stick 0.12            wall_jump_x 300            wall_jump_y 440
wall_jump_lock 0.14        wall_coyote 0              hop_buffer 0
hop_coyote 0               attack_buffer 0            dodge_buffer 0
hop_wall 0                 hop_wall_reach 4           hop_wall_push 1
hop_wall_rise 1            hop_wall_slide 120         hop_wall_coyote 0.1
side_jump_speed 470        side_run_speed 260         side_accel 2400
side_air_accel 1400        side_friction 2600         side_skid 4200
side_gravity 1500          side_max_fall 900          side_jump_hold 0.22
side_jump_hold_min 0.06    side_dash_speed 620        side_dash_time 0.16
side_step_up 0.5           side_slide_time 0.42       side_slide_speed 470
side_slide_friction 520    side_slide_min 90          side_attack_time 0.34
side_attack_hit 0.45       side_attack_reach 46       side_attack_damage 14
walk_slope 0

The side_ keys are the side view's own feel: her run, jump, gravity, dash, slide and swing, and the character page shows them in a side-scroller. jump_speed is read by no view. hop_wall 1 gives the top-down, iso and 3D hop a wall jump: in the air, within hop_wall_reach px of a wall, a jump press kicks her off along the wall's normal at hop_wall_push times the hop's leap speed and hop_wall_rise times its launch; hop_wall_coyote seconds after she leaves a wall still count, and while she falls pressing into a wall her fall is held to hop_wall_slide (0 = no slide). Project Settings > Camera > Body sets hop_wall, hop_wall_slide and hop_wall_coyote from lists.

The _cd keys are cooldowns in seconds, for whatever names none of its own: her unarmed swing, the global cooldown after any skill, spell or item (0 is off), the side view's dash, an enemy's skills and swing, and a companion's casts and swings. sprint_mult is the Sprint key's speed; run_hold and run_ease are how long a held key walks before it eases into the run. walk_slope is the steepest slope a body walks, in degrees as the slope looks in the 3D view; at 0 it is walk_angle's, which is in degrees of the older metric ground and looks as atan(0.5 x tan(walk_angle)) on screen (61 looks like 42.05). step_height is the tallest rise a body takes as a step instead of a wall. coyote_time, jump_buffer and the wall_ keys time the side view's jump; hop_buffer and hop_coyote time the hop; attack_buffer and dodge_buffer hold a press made too early, in every view (0 is off).