The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: asaphxiix on February 08, 2013, 04:47:01 AM

Title: changing ticket price
Post by: asaphxiix on February 08, 2013, 04:47:01 AM
Hello,

How does one change the ticket price in the pak?

I tried changing the 'value=x' value in goods.dat (which in experimental seems to be three hundred times the price), but nothing happened. I can change speed bonus value there, but not the ticket price?
Title: Re: changing ticket price
Post by: Ters on February 08, 2013, 05:46:13 AM
I assume you actually ran makeobj on everything and copied the result to the Simutrans installation?
Title: Re: changing ticket price
Post by: asaphxiix on February 08, 2013, 05:53:22 AM
aha yes!

so I was at the right place?

I was trying in experimental, maybe this is a specific problem.
Title: Re: changing ticket price
Post by: Combuijs on February 08, 2013, 09:49:22 AM
You were at the right place! (don't know about the right time...).

Simutrans Experimental should work in the same way as far as I know.
Title: Re: changing ticket price
Post by: prissi on February 08, 2013, 10:05:10 AM
Better put the new goods into the addon folder. Because files there are always loaded after the file in the pak. Since files can be combined into larger files, putting changed stuff into the simutrans pak directory may not always overlay the entries as desired.
Title: Re: changing ticket price
Post by: asaphxiix on February 08, 2013, 10:13:52 AM
thanks, I'll try that!
Title: Re: changing ticket price
Post by: asaphxiix on February 08, 2013, 10:31:47 AM
i'm very sorry - this seems to be a problem with experimental only - perhaps the topic can be moved to exp. development forum?

thanks
Title: Re: changing ticket price
Post by: jamespetts on February 08, 2013, 03:18:44 PM
Ahh, I have just realised that I had not updated the .dat reference addendum (http://forum.simutrans.com/index.php?topic=2112) for Experimental to describe fare stages (an omission which I have now rectified). Where fare stages are specified, these override the original "value=" specifications. See goods128.dat in Pak128.Britain-Ex 0.8.4 and onwards for an example.
Title: Re: changing ticket price
Post by: asaphxiix on February 08, 2013, 07:00:42 PM
ah, thanks james!

and when these values are not present, the game behaves as before?
Title: Re: changing ticket price
Post by: jamespetts on February 09, 2013, 01:59:09 AM
Yes.