Common Parameter[edit | edit source]
The following parameters are the same for all types of buildings.
Parameter | Example Value | Meaning | Format/Possible Value |
---|---|---|---|
obj | building | Type of object | Text |
name | einfamhaus | unique name to reference the building | Text |
copyright | John Doe | Name of the artist who painted the building | Text |
intro_month | 1 | month of introduction | numbers 1-12 |
intro_year | 1989 | year of introduction (won't spawn before) | year |
retire_month | 1 | month of retirement | numbers 1-12 |
retire_year | 2000 | year of retirement (won't spawn after) | year |
noinfo | 1 | shows no info window upon clicking | boolean |
noconstruction | 1 | shows up immediatly without construction graphic | boolean |
needs_ground | 1 | draw floor beneath building (if building does not cover floor) | boolean |
climates | arctic | List of climates that building can spawn in | desert, tropic, mediterran, temperate, tundra, rocky, arctic, water |
The climates in P192C are slightly different from the games expectance. Temperate is western Europe, Tundra is Eastern Europe, Rocky is Alpine.
Urban Buildings[edit | edit source]
Parameter | Example Value | Meaning | Format/Possible Value |
---|---|---|---|
type | res | Type of building | res, com, ind, cur, mon, tow |
level | 7 | Defines the number of pax and post generated | number |
chance | 100 | Probability to be buildt compared to buildings of same level, or percentual value | number |
clusters | 1 | Buildings belonging to a cluster have a higher probability to spawn next to buildings of that cluster | numbers 1-32 |
build_time | 0 | size of city (inhabitants) when this building gets buildt (cur, mon, tow) | number |
There are three types of common city buildings
- Residentials (res),
- Industrials (ind),
- Commercials (com).
Additionally, P192C uses some subtypes: park (res), lots (ind) and plaza (com).
The difference between those building types, beside graphical, is the number of mail, which is halved in industrials and doubled in commercials. They also generate areas of the same type even without the cluster value, which can only be used effectively by them.
Additional buildings in cities are
- Monuments (mon)
- Townhalls (tow)
- Curiosities (cur)
These are buildt once a certain number of inhabitants are reached (build_time). Therefore, "chance" is not measures against other buildings, but shows whether the building spawns at all or not. An Exception are curiosities with "build_time=0", those are tourist attractions in the countryside and only get generated at the beginning of the game.
Player Buildings[edit | edit source]
Parameter | Example Value | Meaning | Format/Possible Value |
---|---|---|---|
type | stop | building type | stop, harbour, depot, extension |
waytype | track | way corresponding to the building | Look up Waytype |
enables_pax | 1 | this building enables pax in a station | boolean |
enables_post | 1 | this building enables post in a station | boolean |
enables_ware | 1 | this building enables goods in a station | boolean |
icon | icon.0.0 | Button in menu, divide parameter and image with '=> ' | image |
cursor | cursor.0.0 | cursor while building is chosen | image |
allow_underground | 0 | allows building in tunnels or disallows building overground | 0: overground, 1: underground, 2: both |
Development | |
Creating Graphics: | Pixel-Art • Graphic Rules • Cutting Graphics • Special Colors • Templates |
Creating DAT-Files: | Building • Factory • Vehicle • Way • Signal • Landscape • Various • Themes |
Descriptions • Game Configuration |