Vǫrðr Forge Steam page

Art, Audio and Interface

The Player Settings Menu

Every game ships with a full settings menu: Options, with Audio, Video, Controls and Gamepad behind it, and a small Keep these settings? card for display changes. The title's Options button, the pause menu's Options button and the Rûn verb options all open it. It wears the project's style pack like the rest of the interface, follows the Interface Scale, and works with the mouse, the keyboard and a controller.

These screens are ordinary painted screens. While a project has not painted one, the game wears the engine's own. Open the UI Editor, pick Options, Audio, Video, Controls, Gamepad or Keep Display from the list, and the engine's layout opens there; restyle it, move it, delete rows or replace it entirely, and press Save to make it yours.

Two files, two owners

assets/game.vdc is yours: what the game is. It ships inside the game's pack and players cannot change it.

settings.cfg is the player's: how that one player likes things. It is kept in the player's own folder (%APPDATA%\<your game>\settings.cfg on Windows), not in the game's install folder, so no patch or reinstall can reset it. Only what a player actually changed is written, so a new default you ship still reaches every player who never touched that row.

What is on it

Audio
Master volume, music, sound effects, voices, ambience (soundscapes, weather and prop loops), interface sounds, and mute when the game is in the background.
Video
Window mode (windowed, borderless, fullscreen), resolution, display, VSync, frame limit, interface scale, render resolution, camera zoom, screen shake, a quality preset (Low, Medium, High, Ultra, and Custom once a row under it is changed) over lights, shadows, detail, draw distance, grass, water reflections and anti-aliasing, then gamma, brightness, field of view, particle density and the language. Draw distance, field of view, grass and water reflections are for 3D projects; anti-aliasing is not shown in 2D.
Language
Auto shows the game's own words; the rest are the languages a game can be translated into, each named in its own script ("Deutsch", "日本語"). The words change at once. Translations are made on the Words page of Project Settings.
Controls
Every action with two keys each, mouse buttons included, and for games whose camera turns with the mouse: mouse sensitivity and invert X and Y.
Gamepad
Every action with two pad buttons each, both stick deadzones, vibration and invert look.

Window mode, resolution and display wait for Apply. After Apply the game shows Keep these settings? with a countdown; Keep keeps them, Revert or the countdown running out puts the old ones back. Every other row takes effect the moment it changes.

On a binding row, click a cell (or pick it and press Enter or pad A) and press the key or button you want. Esc, or pad Start, backs out; Delete clears the cell. A key another action already uses moves onto that action in exchange, and the row it moved to flashes. A cell shown in red shares its key with another action. Reset puts a section back to your defaults, bindings included.

Your say (Project Settings > Player Settings)

Sections
Which of Audio, Video, Controls and Gamepad appear.
Rows shown
Which rows the engine's screens show.
Defaults
Where each row starts for a player who has not changed it.
Display and camera
How many seconds the keep card waits, and whether the play camera turns with the mouse and the right stick (Auto means 3D projects do).
Hit reaction time
Under PLAYER: the longest a blow's Hit clip holds her, 0.35 s unless changed. A shorter clip plays whole; if she keeps moving, her walk or run comes back as it ends. Type a number in its box, or drag the slider either way.
Attack time
Beside Hit reaction time: how long her swing takes, 0.05 to 5 s, 0.35 s unless changed. Her attack clip plays across it. It is attack_time in tuning.vfa (Data Tables).
Floating text
Show gold picked up and its Gold sound (None, Tone, or a sound of the project), Show experience gained, and Show items picked up: what she gains, over her, in the floating text's style. Show items picked up puts +<count> <item> over her when she picks up a dropped item, such as an enemy's loot: +2 Blue Gem. Gains a moment apart add up into one text, and texts that start together stand one above the other, so experience and gold gained at once are both read. Off in every project until switched on.

In game.vdc:

playerhide gamma,brightness,gamepad playerdefault master 70 playerdefault resolution 1920x1080 displayconfirm 15 playerlook auto lookspeed 0.25 120 hurtrumble 0.4 0.7 0.25 uiclick click.wav

lookspeed is degrees per mouse pixel and degrees per second at full stick. hurtrumble shakes the pad when the player is hit (low motor, high motor, seconds). uiclick is the sound a painted button makes, played on the Interface Sounds volume.

Custom actions

An action is a name the game asks for instead of a key. Add your own in assets/data/input.vdt:

action dance Dance bind dance G - pad_y - actionanim dance wave 1.2 actionevent dance emotes use

actionanim plays that clip on the player when the action is pressed (its seconds are optional); actionevent runs that section of a Rûn event. A custom action appears on the Controls and Gamepad screens at once, and on Project Settings > Game Controls, where an action can also be made, renamed, given its animation and deleted. From Rûn: action add dance Dance G, action anim dance wave 1.2, action event dance emotes use, and savedata binds writes them to input.vdt.

Rûn

setting every setting's key setting master read one setting master 60 set it for the player (saved at once); + and - step it; reset gives it back setting reset video a section back to the game's defaults setting apply | keep | revert options video open the menu, or one section of it playerbind attack G the player's own key; playerbind jump pad_y 2 for the pad bind attack F the game's default key rumble 0.4 0.8 0.3 shake the pad

In an if: setting(master), held(dance), pressed(dance).

How the screens are built

  • a Label for the name;
  • a Label bound to setting.<key> (any setting's key: setting.voice, setting.windowmode) showing the live value;
  • two Buttons carrying the links set:<key>- and set:<key>+;
  • a Binding List widget, whose Device is Keyboard and Mouse or Gamepad, listing every action;
  • Buttons carrying apply, keep, revert, reset, back and ui:<screen>.

A Button can carry a bind too; its caption is then the live value. For a single binding outside a list, a Button with bind:<action>.<slot> (slots 0 and 1 are keys, 2 and 3 the pad) arms that slot, and a Label bound to input.key, input.key2, input.pad or input.pad2 with its index set to the action shows it.