Design Document:Road Vehicles

From Transport Empire
Jump to: navigation, search

Roads – Definition

Road is a stretch of pavement that trucks ride on (surprise!).

Road(s) has the following properties:

   * name – name of the road
   * next – name of the next road in the series
   * speed – maximum speed that can be attained on this road
   * price – price that needs to be paid for 1 meter of single road
   * maintenance – cost of monthly maintenance of 1m of road
   * raze – cost of taking 1m of road off
   * age – how many years it will take before the road starts to deteriorate (deterioration – causes max speed to drop up to 10 km/h after some time – around 5 years)
   * startyear – year of presentation
   * endyear – year of discontinuation
   * shader – name of the shader script of this road 


Roads – Directions and Building

Roads are internally saved the same way as track is.

Roads are built using the same principle as trackage -> fist survey mode to plan all the building, then the works commence. The same drag-n-drop method is used.

Roads are by default double direction and require twice the Right-of-way the trains need

Single width ROW roads are possible, but they are always single direction ones (this way complex intersections are possible)

Roads – Grades

Road vehicles use the same curve-to-rise as railroads.

Roads – Intersections

Roads can intersect – these intersections can be even at 90 degree angle. Up to 6 pieces of tarmac can be laid on a single tile. Roundabout will be created if too many stripes of tarmac will be laid.

Roads – Curves

Roads – like tracks – will be a subject of curve smoothing. Just like with tracks curves will restrict speed and cause extra drag.

Roads – Motorways

Motorways are roads that have two lanes – each for different direction. Freeways are built like roads, but are more restricted:

motorways allow only two parts of the road on a single tile, but also cannot turn in a 90 degree angle.

Motorways cannot cross on a single level.

Roads – State and Private Roads

Government will build roads that are for public use. Government roads impose 105 km/h speed limit for buses and 90 km/h speed limit for trucks. (120/100 for govt motorways)

Private roads are roads owned by transport companies – these roads have no speed limits beside the construction ones. Also private roads are usable only for trucks/buses owned by the owner of the road.

Owning a truck imposes certain amount of road tax – which is 5-250% (random?) for the fuel costs when vehicle travels on govt road.

Stations - Loading bays

[Insert Picture]

Loading Bays are structures that allow trucks to load (surprise!). They have a form of bays on the side of the road. If there is a platform on the one side of the bay then the vehicle may reverse. If not (loading platforms are on both sides) then the vehicle will continue.

Leftmost:

Single bay on a single tile.

   * green – loading bay
   * blue – empty vehicle path
   * red – full vehicle path when reversing 

Right:

Long 5 tile loading bay (automatically happens when several bays are built one after another. Can house several trucks, as well as long trucks) – two sided – thus no reversing.

   * blue – path of a vehicle (assuming empty bay)
   * Pink – loading areas. 

Note – vehicles will use both sides to load, regardless of the direction they came from.

Loading bay is defined by these properties:

   * Model – model(s) used for visuals
   * startyear – year from which this bay is available
   * endyear – last year of availability of this bay
   * price – cost of rising the bay
   * type – cargo types supported (like ‘hopper’, ‘generic etc’) up to 8 types
   * cost – cost of monthly upkeep
   * raze – cost of removing the bay
   * throughput – the maximum rate of which a cargo can be loaded/unloaded – in tons per second (Realtime).
   * load – boolean, bay for loading
   * unload – boolean, bay for unloading 


Stations – Workshops

Workshops are special ‘bays’ that are built just like them. They house a full truck – or amount of trucks that a bay of that length would store.

Vehicles – Definitions

Trucks are composed of these fields (as usual there is vehicle and models part)

Vehicle:

   * name – text name of the vehicle
   * year – year of design
   * price – base price
   * maintenance – cost of yearly maintenance (fuel excluded).
   * fuel – type of fuel used
   * time – time in seconds (real-time) it takes to deliver a ready vehicle from the manufacturer to the workshop it was ordered from
   * speed – maximum speed of the vehicle
   * service cost – cost of single service
   * service time – time of servicing
   * road – up to 8 types of roads this vehicle can run on
   * type – type of this vehicle (hopper, platform, van, tanker, carriage, etc – type must be defined before)
   * vehicle – is this vehicle: rig (single, self contained, may tow a trailer), tractor (carries semi-trailers), trailer or semi-trailer. 

Models:

   * sndlight – sound when vehicle is at or below 1/4 power
   * sndmedium – sound when vehicle is between 1/4 and 1/2 power
   * sndheavy – sound when vehicle is between 1/2 and 3/4 power
   * sndfull – sound when vehicle is between 3/4 and full power
   * sndover – sound when vehicle is above full power
   * sndlowspeed – sound when vehicle is running at low speed
   * sndhorn - sound of the whistle
   * power – power (in kW) of the vehicle
   * capacity – what amount of goods this vehicle can carry
   * weight – mass associated with this model
   * next – Next model in class (used for multi-part vehicles – none for single or last vehicle in a consist)
   * maxTE – maximum tractive effort (0 = do not display, for wagons for instance)
   * maxBE – maximum braking effort (0 = do not display, for wagons for instance) 


Vehicles – Ordering

Vehicles are ordered from a warehouse, and they are serviced and sold there also.

Vehicles – Special Consists

[Insert Picture]

It is possible to attach several semi-trailers to a single tractor and create a road-train

Road trains have these limitations:

   * They can only be used on private roads and, if scenario allows, outside city limits
   * They are much more speed restricted on curves
   * Maximum length
   * 56m for state roads and 120m for private roads (if state roads allow RT)
   * 56m for private roads (if state roads disallow RT)