Extension Request – Interpolate Speed Bonus July 29, 2009, 03:28:52 am Hi,I’ve been playing a game in ST-Experimental now for a while, spanning about 30 ST years. First of all let me say it is great, I particularly like the fact p****engers chose their rout based on time of travel, not the amount of changes. It makes my network look far more realistic with plenty of interchanges.However I do have one (easily solvable) concern to do with the speed bonus. The way I understand it is, it's currently set so that it updates every 10years, is that correct? I know this is the same in Simutrans Standard. However because of the combined effects of a reduced income (because people suddenly want to go faster) and less p****engers (because more take their car) it is really quite noticeable in Experimental. To the point where you can have a ridiculously profitable network one second, then the next you’re suddenly loosing money.I believe the way around this is to mathematically interpolate between two values for the current year, or even month. This will make the progression of the demand for faster transport smoother and more realistic without having to have a bigger and more complex text file. I don’t know much about coding, but I would think it shouldn’t be too resource hungry. Let me know if you need me to explain in more detail.Cheers, Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #1 – July 29, 2009, 08:14:48 am I use the same system for calculating the speed bonus speed in Simutrans-Experimental as in Simutrans-Standard, and I thought that it was interpolated - it certainly should be. I remember posting about this a while ago and being told by the developers that it was... Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #2 – July 29, 2009, 11:47:10 am Maybe it's fixed in some nightly, but at least in latest ST release your p****enger/mail profit takes a considerable dent at the start of decade. With pak128, Jan 1940 I went down from 290k profit per month to 240k (and then down to 210k since I decided to celebrate 10th year in business by building new HQ). Not game breaking but very clearly noticable, as no such drops had occurred in the past since I was fully connected & balanced since around 1932 and income since then was very steadily growing with towns. Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #3 – July 29, 2009, 02:31:07 pm That really dependes on the pak setting. If the pak setting defines a dent, there will be one. Or if no pre-defined speedbonus is given (not sure about pak128) then it will just change as vehicles fade out/are introduced. If this is the case, than a new speedbonus should be conincidence wil lots of new vehicles. Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #4 – July 29, 2009, 04:35:51 pm Prissi,can you confirm whether, if the speedbonus.tab file says, for example, road=1930,30,1950,90 the speed bonus in 1940 will be 30 or 60? Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #5 – July 29, 2009, 08:50:52 pm With debugm****ages, the game will even tell the player the current speedbonus at the start of check year.Anyway, look at: vehikelbauer_t::get_speedbonus() Comment say interpolate linear, and the code should do this too ... Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #6 – July 29, 2009, 09:49:47 pm Prissi, thank you for the answer. Banksie and Borgoth - are you finding that this is not the behaviour demonstrated, that there is no interpolation? Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #7 – July 29, 2009, 11:35:12 pm Well, hard to say without knowing how exactly it works. If it does come in steps at certain times, it may simply be that Jan 1940 has a step in pak128 that creates a significant change in income. So the only thing I can say for certainty is that it's not adjusted bit by bit monthly/yearly since that'd create steady reduction of income rather than sudden drop at once. As Prissi said, if it coincides with new vehicles, it's very logical way to do it anyway. New vehicles would make people demand this new technology that allows them faster travel. Overall though, in ST the drop isn't high enough to cause trouble, so you'll probably want to see Banksie's numbers. The speed bonus change seems to have much higher impact to ST-Exp. Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #8 – July 30, 2009, 08:50:01 am Quote from: prissi – on July 29, 2009, 08:50:52 pmWith debugm****ages, the game will even tell the player the current speedbonus at the start of check year.well, speedbonus could then be shown ingame, to help players in their strategies. but where? Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #9 – July 30, 2009, 09:22:27 am There is the goods-list window available, which shows the current reference speeds and bonuses. Quote Selected
Re: Extension Request – Interpolate Speed Bonus Reply #10 – August 02, 2009, 06:17:39 pm Incidnetally, I have confirmed that the speed bonus is already fully interpolated in Simutrans-Experimental. Quote Selected