The International Simutrans Forum

Simutrans Extended => Simutrans-Extended gameplay discussion => Topic started by: River on July 12, 2016, 09:10:52 AM

Title: Setting speed penalty for going up hills
Post by: River on July 12, 2016, 09:10:52 AM
I have been changing the pak config file from pak64 exp so the passengers become profitable., but i was wondering if i could also change the penalty for vehicles to go up hills of any settings that influence this.

I completely agree there should be a penalty and that it should increase if you go up longer on a hill (like 2 tiles). But atm any hill will put them at minimal speed, this goes to far for me as you are required to go up a hill here and there.
Title: Re: Setting speed penalty for going up hills
Post by: Junna on July 12, 2016, 05:05:54 PM
"But atm any hill will put them at minimal speed, this goes to far for me as you are required to go up a hill here and there."

That really shouldn't happen? What's the context?
Title: Re: Setting speed penalty for going up hills
Post by: River on July 12, 2016, 06:14:00 PM
i'm working with the pak64-exp in 1930 with a road good for the max speed of the bus. i did changes alot of the settings in the config file
Title: Re: Setting speed penalty for going up hills
Post by: Vladki on July 12, 2016, 06:24:27 PM
Isn't it just that the vehicles are underpowered, so that they struggle going uphill? I notice similar problems in pak128.britain - buses and trucks crawling at 1 km/h if there is a stop right before the hill, or two hills in row.
Title: Re: Setting speed penalty for going up hills
Post by: River on July 12, 2016, 06:33:17 PM
It is possible with the early times maybe. but i donno how to change that .
Title: Re: Setting speed penalty for going up hills
Post by: jamespetts on July 12, 2016, 11:30:16 PM
There is not a general setting for a "hill penalty" in Simutrans-Experimental: rather, the interactions between vehicles and gradients are determined by physics. Each vehicle has parameters for power and (more importantly for hills) tractive effort. These are set in the vehicles' .dat files.

You can, however, apply a global modifier to all vehicles' tractive efforts by setting the global_force_factor_percent parameter in simuconf.tab. Setting it in simuconf.tab will only affect new (not existing saved) games, but this can be changed in running games using the advanced settings dialogue. I am not sure whether any shortcut key is defined for that in this pakset, however.
Title: Re: Setting speed penalty for going up hills
Post by: River on July 28, 2016, 04:56:43 PM
I found some time to check it out. But i barely noticed a difference between 0 and 100 when a truck is fully loaded. Let alone with a trailer.

any chance that the distance per tile effects this aswel?
Title: Re: Setting speed penalty for going up hills
Post by: jamespetts on July 29, 2016, 11:21:55 PM
Was this with 11.35 or was it with a self-compiled version from devel-new? In 11.35, you need to use global_power_factor_percent instead, as power and force are not separated for the global modifiers in earlier versions.
Title: Re: Setting speed penalty for going up hills
Post by: River on August 05, 2016, 01:12:10 PM
Thanks, This one works for me. I have to push it to a 105% but i got the desired effect for a loaded truck.

I'm using 11.35 yeah.