Vehicle speed

From Cantr II Wiki
Revision as of 06:41, 29 January 2006 by Sho (talk | contribs)

Jump to: navigation, search

The wiki lists vehicle speeds in units of pixels per day. This article details how they are computed.


Concepts

Vehicle constants

Each land vehicle or ship has a base speed and a load factor, which are listed on the vehicle's own wiki page.

The base speed determines the speed at which the vehicle moves, were there no load. A vehicle with a larger base speed will usually go faster than a vehicle with a smaller base speed. Base speeds of ships and land vehicles are not comparable, because the land vehicle's base speed must be multiplied by the road factor.

The load factor determines how sensitive a vehicle's speed is to the load on the vehicle. A vehicle with a larger load factor will not be slowed so much by a heavy load.

Load weight

The load on a vehicle is determined by adding the weights of all the items on board. Objects and raw materials are added wherever they are. Machinery, including engines and locks, are also counted in the load. Passengers are counted as weighing 60000 grams each.

Road factor

Land vehicle speeds are affected by the type of road being travelled on. A list of road types, and their associated road factors: Road#Types of roads

Formulas

Walking

A character with an empty inventory travels at a speed of 10 units per day on any road type. Tiredness and damage have no effect on traveling speed (this is true for vehicles as well).

Road vehicles

Vehicle speed = (base speed)*(road factor) - (load)/(load factor)

Water vehicles

Ship speed = (base speed) - (load / load factor)