Cookie Consent

This website would like to place cookies on your computer to improve the quality of your experience of the site. To find out more about the cookies, see our privacy notice.

Loading...
 
Skip to main content

Site identity, navigation, etc.

Simutrans Tikiwiki
Simutrans Tikiwiki
The official wiki for Simutrans
I forgot my password
CapsLock is on.
  • Login with 2FA

Navigation and related functionality and content

(Cached)
Translations
English (en)Dansk (da)Deutsch (de)Español (es)Français (fr)Italiano (it)Magyar (hu)Nederlands (nl)Norsk (no)Polszczyzna (pl)Português (pt)Suomi (fi)Svenska (sv)Česky (cs)Ελληνικά (el)Русский (ru)日本語 (ja)正體中文 (tw)简体中文 (cn)
Structures
Development Index
Page actions
Refresh Print
  1. Development Index
  2. Create DAT files
  3. Ways Parameters

Table of contents

  • Settings in the DAT-files of traffic routes
    • Graphics Configuration
      • Winter Graphics
      • Switches for tracks
      • Front-Images for ways
    • Example
    • Detailed Explanations
      • Image The Parameter waytype
      • Image The Parameter system_type
      • Image The Parameter Name

Settings in the DAT-files of traffic routes


The parameters and values are separated by '='.

Parameter
Meaning
Example
Format
obj type of object way exactly this text
name name of the object Image asphaltroad simple text
copyright the author's name Haug simple text
intro_month month the item is introduced 2 month (numeric)
intro_year year of the item's introduction 1955 year (numeric)
retire_month month the item is not available anymore 8 month (numeric)
retire_year year the item is not available anymore 1982 year (numeric)
waytype waytype Image road name from route object
cost construction costs per field 7500 value in 1/100 Cr without separator (dot, comma)
maintenance maintenance costs per field 700 value in 1/100 Cr without separator (dot, comma)
topspeed maximum allowed speed in km/h 60 numeric
max_weight maximum weight in tons 40 numeric (this parameter is not yet implemented)
Special Parameters
system_type depends on setting waytype Image 0 numeric

Graphics Configuration


The declared value occurs in the form:
File name without file ending.Line in the graphic arts file.Position on the line

Important: The position counting begins with 0.

Graphic arts files format: 24 bit png without alpha canal ( < Version 120.2.2 / Makeobj 60 )

Parameter
Meaning
Format
cursor mouse cursor when object is selected
icon button in the menu bar Parameter and image information separated by '=> '.


The red values above the images have to be entered between the brackets [].

Image[N]=filename.0.3
Image[SE]=filename.1.0
Image[NE]=filename.1.3
Image[NSE]=filename.2.5
...
ImageUp[9]=filename.2.1
...
Diagonal[NE]=filename.3.2
...
Image


The parameters Diagonal[NE], Diagonal[SE], Diagonal[NW] and Diagonal[SW] are optional.
They are used for straight diagonal ways.
If they are not set, curve graphics are used instead.

Winter Graphics

Available in Simutrans 0.99.05 (makeobj 42) and later.

For the definition of both summer and winter objects the parameter gets an extra option.

Without Snow With Snow
Image[NS][0] Image[NS][1]
Image[EW][0] Image[EW][1]
etc. etc.


Top

Switches for tracks

Simutrans-version 0.102.2 (makeobj 50) or higher

from version 0.102.2 on it is posible to add extra switch grafics for tracks ( waytype: track, tram_track, monorail_track, maglev_track, narrowgauge_track ). They're choosen automatically in game according to the way the vehicle travels.
Therefore you need to add the red values in the []- parentheses

Image[NSE1][0]=filename.0.0
Image[NSW1][0]=filename.0.1
Image[NEW1][0]=filename.0.2
Image[SEW1][0]=filename.0.3
...
Image


Front-Images for ways

'from Simutrans-Version > 111.1 (makeobj > 52)'

It is now possible to define front images for ways. These images are drawn in front of everything else on a tile. This can be used to define alleys, i.e. to include trees into the front image.

(Back)Image Frontimage
Image[NS][0] FrontImage[NS][0]
Image[EW][0] FrontImage[EW][0]
etc. etc.


Top

Example


road_src.zip (41.36 Kb)

Graphics File
 
way-kopfstein64.png (cobblestone road)
way-kopfstein64.png (cobblestone road)

Dat-File
Copy to clipboard
Obj=way waytype=road Name=mip_cobblestone_road cost=7500 maintenance=700 topspeed=60 max_weight=40 intro_year = 1330 intro_month = 9 icon=> way-kopfstein-64.3.4 cursor=way-kopfstein-64.3.5 Image[-]=way-kopfstein-64.1.2 Image[N]=way-kopfstein-64.1.5 Image[S]=way-kopfstein-64.2.1 Image[E]=way-kopfstein-64.2.2 Image[W]=way-kopfstein-64.2.0 Image[NS]=way-kopfstein-64.1.0 Image[EW]=way-kopfstein-64.1.1 Image[NSE]=way-kopfstein-64.0.2 Image[NSW]=way-kopfstein-64.0.4 Image[NEW]=way-kopfstein-64.0.1 Image[SEW]=way-kopfstein-64.0.3 Image[NSEW]=way-kopfstein-64.1.2 Image[NE]=way-kopfstein-64.3.0 Image[SE]=way-kopfstein-64.2.3 Image[NW]=way-kopfstein-64.2.4 Image[SW]=way-kopfstein-64.2.5 ImageUp[3]=way-kopfstein-64.1.3 ImageUp[6]=way-kopfstein-64.1.4 ImageUp[9]=way-kopfstein-64.0.0 ImageUp[12]=way-kopfstein-64.0.5


Top{TRAFD}


Detailed Explanations


Image The Parameter waytype


This parameter sets the type of the route object.

Value
Meaning
road guess what
track railroad
tram_track streetcar/tram
monorail_track monorail as in Simpsons
maglev_track magnetic monorail as in Singapore
water waterway
air airport road
power power line


For some routes the parameter system_type can be used.


back


Image The Parameter system_type


Setting this parameter is only necessary for certain values of waytype.

track
0
normal track
1
elevated track
7
streetcar track
64
only underground from Ver. 0.102.2
255
Placeholder (fences, walls, etc.)
monorail_track
maglev_track
narrowgauge_track
road
0
normal
1
elevated
64
only underground from Ver. 0.102.2
air
0
taxiway
1
runway
water
0
canal
1
elevated
255
river from Ver. 0.102


back

Image The Parameter Name


This parameter determines the name of the object. It should not coincide with a name of the files object.*.pak in the used pakset folder.

back

Top

  1. Development Index
  2. Create DAT files
  3. Ways Parameters
Rate this page:

Contributors to this page: Frank , IgorEliezer and system .
Page last modified on Monday November 4, 2024 13:19:08 CET by Frank.
This content is licensed under the terms of the Copyright.
History Source
Contributions by author Discuss

More content and functionality (left side)

....

Copyright
Impressum

Data protection

Search

System Menu

  • Home
  • Search
  • Contact Us
  • Stats
  • Categories
  • Tags
  • Wiki
    • Wiki Home
    • Last Changes
    • Rankings
    • List Pages
    • Sandbox
    • Structures
  • Articles
    • Articles Home
    • List Articles
    • Submit Article
    • View submissions
  • Forums
    • List Forums
  • Directory
    • Submit a new link
    • Browse Directory
  • File Galleries
    • List Galleries
  • Spreadsheets
    • List Sheets
  • Trackers
    • List Trackers
    • Offline mode
  • Surveys
    • List Surveys
    • Stats

Articles

  1. Simutrans 124.5
  2. Simutrans 124.4.1
  3. unofficial pak64.german 0.124.4.0.1
  4. Simutrans 124.4
  5. PAK128.German 2.4
  6. unofficial pak64.german 0.124.0.0.7
  7. unofficial pak64.german 0.124.0.0.6
  8. Simutrans 124.3.1
  9. unofficial pak64.german 0.124.0.0.5
  10. 2024 Simutrans Screenshot Contest

Latest Changes

  1. de_simuconf_tab_pakset
  2. Home
  3. en_Code_Overview_3_Ribis_and_Slopes
  4. en_Code_Overview_2_Ways
  5. en_Code_Overview_1_World
  6. Copyright
  7. en_Code_Overview_5_Vehicles_and_Convoys
  8. en_Code_Overview_7_Movement_of_Convoys
  9. en_Code_Overview_6_Schedules_and_Routes
  10. en_Code_Overview_4_Signs
...more

Online Users

1329 online users

Newest Forum Posts

  1. Aw: en_menuconf_tab: Wofür steht 'ribi'?
  2. en_menuconf_tab: Wofür steht 'ribi'?

BugTracker

  1. Signals waytype tram_track not correct work
  2. fehlerhafte Darstellung bei Untergrundstrom
  3. ungleiche Frachtverteilung an Ölborinseln
  4. Liste verfügbare Fahrzeuge
  5. Grafikfehler Bodentextur
  6. Linksklick in Haltliste
  7. blank menu show

Last wiki comments

  1. en_BuildAnAirport: "In Extended, they have to..."
  2. en_BuildAnAirport: "Is there any advice on how..."
  3. en_Simutrans_repo_deb: "When installing..."
  4. en_Simutrans_repo_deb: "Also with Linux Mint 21.1 -..."
  5. en_Simutrans_repo_deb: "After a while, I found..."
  6. en_Simutrans_repo_deb: "Hi, I tested the following..."
  7. de_VehicleDef: "Loading time ist ein..."
  8. de_tikiwiki_hilfe_index: "cialis normaldosis &lt;a..."
  9. de_tikiwiki_hilfe_index: "cialis moment urban..."
  10. de_FactoryDef: "z.B. bei Ölbohrinseln mit..."

Site information, links, etc.