The International Simutrans Forum

PakSets and Customization => Pak192.Comic => Topic started by: Oldie on January 23, 2024, 07:54:29 AM

Title: dat Level and Capacity - totally confused
Post by: Oldie on January 23, 2024, 07:54:29 AM
I have been told that these parameters are not related, Level determines the amounts of pax,mail and wares(?) generated by an object and Capacity determines how much that an object can have "on hand" before supply chains get affected. Fine. But in the pak192 source the following observations are confusing me... totally.

Stops: logically should all have a Capacity and not a Level (can't generate their own enabled items) but road_Busbahnhof has both a Capacity and a level? and also some stops (water_station_Anleger_Holz,apron, ...) have a Level but no Capacity?

Extensions: Some have Levels, some have Capacities, e.g ext_freight_oil04 vs ext_airport_terminal02 and many other examples.

What are the "really, truly" rules here?

regards
b

p.s. What were the chances?
(https://i.ibb.co/Vw4f4wp/image.png)

[Much later] For those that missed it ...  https://www.youtube.com/watch?v=CM_y8bN7rnY
Title: Re: dat Level and Capacity - totally confused
Post by: Andarix on January 23, 2024, 03:36:09 PM
This is a mix of old and new definitions.

Originally stations had a level which, multiplied by 32, determined the capacity. And the construction price and maintenance was also multiplied by the level.

Since version 120, stations can be defined with the 3 parameters capacity, maintenance, and cost. Then level is unnecessary and should be removed.


wiki de page (https://simutrans-germany.com/wiki/wiki/de_BuildingsDef#zus_tzliche_Parameter_bei_Spieler-_und_Erweiterungsgeb_uden_ab_Version_0.120.0_Makeobj_55.3_) missing by en page
Title: Re: dat Level and Capacity - totally confused
Post by: Oldie on January 24, 2024, 08:40:44 AM
Quote from: Andarix on January 23, 2024, 03:36:09 PMwiki de page (https://simutrans-germany.com/wiki/wiki/de_BuildingsDef#zus_tzliche_Parameter_bei_Spieler-_und_Erweiterungsgeb_uden_ab_Version_0.120.0_Makeobj_55.3_) missing by en page
Yes, that would have saved us both some time and electrons and me a great deal of head scratching.
cheers