P****enger and Mail Generation June 22, 2009, 05:56:07 pm Just wondering if anyone in the know could tell me what the p****enger and mail generation rates are? E.g. mail is generated at the same rate as p****engers? Or half the rate? Thanks Quote Selected
Re: P****enger and Mail Generation Reply #1 – June 22, 2009, 06:29:20 pm HiV102 Pak64. Isnt the p****enger and mail generated by buildings shown? It varies per building type.Im my game my 5 biggest cities generate five times as many p****engers as mail. Although not all travel. Ten times as many p****engers travel than mail ...because my mail network has less coverage. (figures from the city list P****engers, travel, mail, sent) Quote Selected
Re: P****enger and Mail Generation Reply #2 – June 22, 2009, 07:15:29 pm P****enger : mail generation is like 3:1, ie. everytime a city decides to generate p****enger/mail it chooses in 75% of all cases p****engers. The amount of mail/p****enger generated depends on the buildings and their level. Quote Selected
Re: P****enger and Mail Generation Reply #3 – June 22, 2009, 07:40:06 pm Thanks, that's helpful! Quote Selected
Re: P****enger and Mail Generation Reply #4 – June 22, 2009, 09:07:54 pm Well, the mail generation versus p****enger generation also depend on buidling type. COMmercial buildings generate as much mail as p****engers, RESidential twice p****engers tahn mail and INDustrial buildings generate twice more mail than p****engers. At least that is the intended behaviour. Quote Selected
Re: P****enger and Mail Generation Reply #5 – June 22, 2009, 09:15:53 pm OK, as long as p****enger generation is approximately equal to mail generation over the size of a map, within an order of magnitude, then that means my balancing spreadsheet works OK. Quote Selected
Re: P****enger and Mail Generation Reply #6 – June 22, 2009, 10:08:38 pm I'm not sure that that's right: this is the code for determining the quantity of p****engers to mail. As is borne out in use of the game, more p****engers are created than mail by several times. This code is the same in Simutrans-Standard as Simutrans-Experimental:Code: [Select]// post oder pax erzeugen ? // "post or generate pax" const ware_besch_t* wtyp; if (simrand(400) < 300) { wtyp = warenbauer_t::p****agiere; } else { wtyp = warenbauer_t::post; } Quote Selected
Re: P****enger and Mail Generation Reply #7 – June 23, 2009, 05:16:19 am @James: no, this code determines only whether p****engers or mail is created. Quote Selected
Re: P****enger and Mail Generation Reply #8 – June 23, 2009, 09:51:39 am There should be some code for the level, which is different for mail or p****engers. It is in haus_besch_t:Code: [Select]/** * Mail generation level * @author Hj. Malthaner */uint16 haus_besch_t::get_post_level() const{ switch (gtyp) { default: case gebaeude_t::wohnung: return level; case gebaeude_t::gewerbe: return level * 2; case gebaeude_t::industrie: return level / 2; }} Quote Selected