Vǫrðr Forge Steam page

Characters and Gameplay

Vehicles

A vehicle type is a record made on a page; a vehicle is a placed object that names its type. The player gets in with the interact key, drives or rides with the movement keys, and gets out with the interact key again.

Vehicle Types

Edit > Project Settings > VEHICLES > Vehicle Types. One type at a time: pick it in Vehicle, or press New vehicle; Delete takes the type out. Every change is written at once.

The Vehicle Types page with the type Car.
The Vehicle Types page with the type Car.
Vehicle
The type the rows below speak for.
Name
What the type is called.
Kind
Wheeled, Boat, Mount (an animal or a creature she rides) or Hover (it floats over ground and water). Wheeled by default.
Shape
Car, Boat, Animal, Hovercraft or Model. The first four are made from boxes, cylinders and a cone at the type's size: Car for a Wheeled type, Boat for a Boat, Animal (a body on four legs with a neck and a head) for a Mount, Hovercraft (a hull on a skirt, no wheels) for a Hover. Model wears a model the project holds.
Model
With Shape Model, the model: a model file, or a document that is one or names one, under assets. The type's Length, Width and Height stay the box it drives with.
Length, Width, Height
The size, and the box the vehicle collides with. 260, 120 and 96 for a car; 300, 110 and 70 for a boat; 200, 70 and 170 for a mount; 240, 140 and 60 for a hover.

DRIVING:

Top speed
Units a second. 900 for a car (a walk is 300), 600 for a boat.
Acceleration
Units a second gained each second under throttle. 450 for a car, 250 for a boat.
Braking
900 for a car, 300 for a boat.
Reverse speed
300 for a car, 150 for a boat.
Turn rate
Degrees a second at a quarter of Top speed and faster; less below that, none standing still. A mount and a hover turn at their whole rate, standing still too. 110 for a car, 60 for a boat, 140 for a mount, 180 for a hover.
Gait speed
A mount walks below this speed and runs above it. 400 by default.
Jump height
How high a mount jumps on the Jump key. 0 by default: it does not jump.
Hover height
How high a hover floats over the ground, or over water where the water is higher. 40 by default.
Handling
Arcade goes where it points. Grip turns less at speed and slides wide. Arcade by default.
Climb
The steepest slope it drives up, in degrees. 40 by default.
Follow ground
It tilts to the slope under its wheels. On by default.
Gravity
How fast it falls off a ledge. 1800 by default.

WATER:

Wading depth
A Wheeled type stops where the water is deeper than this. 24 by default.
Draft
How deep a boat sits, and the least water it moves in. 16 by default.
Bob
How far a boat rises and falls on the water. 3 by default.

SEATS:

Seats
1 to 4. 2 by default.
Driver
Hidden or Shown while seated. Hidden by default.
Entry reach
How near the player must stand to its box to get in. 70 by default.
Exit side
Left or Right: where she gets out first. Left by default.
Seat forward, Seat height
A mount's rider sits on its back above its middle; these move her forward and up. 0 by default.

CAMERA:

Camera
Chase follows behind at Camera distance; Interior is the view from the driver's seat. Chase by default.
Camera distance
560 by default.

DAMAGE:

Health
0 = it cannot be destroyed. 0 by default.
Armoured
The share of a blow aimed at the driver that the vehicle takes instead, 0 to 100 percent. 0 by default.
Wreck
Stays (darkened, never driven again) or Goes when it is destroyed. Stays by default.
Collision damage
Damage to an enemy it hits above a third of Top speed. 0 by default: an enemy in its path stops it.
Crash speed
A bump faster than this runs On crash. 540 by default.
Fuel
The tank. 0 = it needs none. 0 by default. A mount needs none.
Fuel use
Fuel a second at full throttle. 1 by default.

EVENTS:

On enter, On exit, On crash, On destroyed, On empty
An event of the project, or None. The event's [enter], [exit], [crash], [destroyed] or [empty] section runs, or its first section when it has none. On empty runs when the tank runs dry.

SOUND:

Engine sound
A sound of the project, with Pick... and Clear. It plays in a loop while she drives, higher as it goes faster.

Placing one

Add > Vehicle sets the first type's vehicle at the middle of the view, chosen. In a project with no type it makes the type Car first. The vehicle is an object like any other: it moves, turns, copies and undoes as one, its Tag is the name a script calls it by, and the Custom Property vehicle names its type. Its Properties begin with Vehicle > Type: another type puts that type's model on it in the same place. Under it, Fuel and Health are what this vehicle starts with, when its type has a tank or Health; it starts with the type's numbers until they are changed. The Outliner lists vehicles under Vehicles.

The generated Car on a new project.
The generated Car on a new project.

Driving

The interact key near a vehicle gets in; the line Enter <name> shows while one is in reach. A usable object in reach keeps the key.

Up, Down
Throttle and brake. Down from a stop backs up.
Left, Right
Steer.
Jump
The handbrake.
Interact
Get out.

A gamepad's left stick throttles and steers in proportion to how far it is pushed, and A (Interact) gets in and out.

  • It stops against walls, objects, bodies and the map's edge. A bump faster than Crash speed runs On crash.
  • A slope steeper than Climb stops it going up. Off a ledge it falls and lands.
  • A Wheeled vehicle stops at water deeper than Wading depth, and never sinks.
  • A boat moves only on water at least Draft deep and rides at the surface less Draft. In shallower water it is beached until it backs off; on land it does not move.
  • Getting out puts her at the first clear place: the Exit side, the other side, behind, in front. With no clear place she stays in.
  • A type with a tank uses Fuel use a second at full throttle. When it runs dry the engine stops, the vehicle brakes to a halt, On empty runs once and Out of fuel shows over the HUD. While she drives, the vehicle's Health and Fuel show as two small bars over the HUD when its type has them.
  • A type with Health and Armoured takes that share of each blow aimed at her; she takes the rest. At no health it is destroyed: On destroyed runs once, she and her passengers are put out beside it, and it stays as a dark wreck or goes, as its Wreck row says.
  • Companions take the free seats when she gets in, in party order, and get out beside her. A companion with no seat follows on foot.
  • A Mount is ridden the same way: she sits on its back, seen, it turns on the spot, it walks below its Gait speed and runs above it, and Jump jumps when it has a Jump height. It needs no fuel.
  • A Hover floats its Hover height over the ground and over water alike, so no shore stops it; it turns on the spot and keeps its way a moment after it turns, sliding sideways.
  • A vehicle drives onto anything she could walk onto: a bridge, a ramp, a platform. Its wheels ride the highest walkable top under them within a step of the slope it can climb, so it crosses a bridge over water instead of stopping at the shore.
  • In a 2.5D project it drives as in 3D. In a top-down 2D project, which draws no models, the vehicle is drawn as its shape seen from above, turned to its heading; a deep pool stops a car and floats a boat, a shallow one is waded.
  • Stop ends the test, and every vehicle is back where the map has it.
Driving, the Chase camera.
Driving, the Chase camera.
The Interior camera.
The Interior camera.
A boat on the water.
A boat on the water.

Scripts

vehicle enter <name> seats the player, vehicle exit puts her out, vehicle spawn <type> <name> <x> <y> [heading] or ... <name> at <place> makes one, vehicle speed <name> <n>, vehicle stop <name>, vehicle health <name> [n], vehicle fuel <name> [n], vehicle fuel <amount> (into the tank of the one she drives), vehicle destroy <name> and vehicle list. An item whose use is refuel <amount> fills the tank of the vehicle she drives, and is kept while she drives none. In a vehicle's event, self is that vehicle. See Rûn Verb Index.

In a vehicle's event, {vehicle}, {vehicletype}, {vehiclespeed} (the bump's speed in On crash) and {driver} are filled in. The readings vehiclespeed, vehiclehealth, vehiclefuel and driving work in an if. See Events and Triggers.

Saving

A saved game keeps each vehicle that moved, was made in play, holds her or is a wreck: its place, heading, health, fuel, driver and the companions in its seats. Loading puts her and them back in their seats; a wreck that went stays gone.

The files

assets/data/vehicles.vfa holds the types, one row each. assets/art/vehicles/<type>.vfa is a generated shape's document. A placed vehicle is saved with its map. See File Formats.

An old project

A project with no vehicle type has no vehicles.vfa, no new key and no new save line, and plays as it did.