Cities: Skylines

Cities: Skylines

Stricter Slope Limits
59 条留言
皮皮烨啊~ 2023 年 4 月 8 日 下午 8:13 
考古
Smòóvious | TOBO 2016 年 5 月 17 日 下午 9:02 
ramps should have a higher slope limit than highways... we have plenty of ramps here that easily exceed 7%.
Ladeia 2016 年 3 月 7 日 下午 10:57 
Can you please add the option to temporally turn the mod off?
Earofcorn001 2015 年 6 月 5 日 下午 9:15 
So, nevermind about that! Great Mod! I figured out I have to use the terrian editor better. No kidding about that recommendation.
Earofcorn001 2015 年 6 月 5 日 下午 8:46 
Hey Japa, I love this mod and now that I've tried it there's no way I'm disabling it. However, I'd really like to know if there's a way to create my own assets with this. I thought the mod might be enabled while I created assets, but it doesn't seem to be. Is there a workaround?
Ruby 2015 年 6 月 5 日 上午 8:15 
I want the opposite of this, VERTICAL ROADS
Gfurst 2015 年 5 月 26 日 下午 6:13 
A nice addition to the mod would be the "fine road heights" that reduces the steps for each up/down height.
b.fokke 2015 年 5 月 10 日 上午 9:47 
I have created a slope limiter mod that adds three features:
- Highway ramps can have a different limit than highways
- Mod uses two sets of limits (strict and relaxed) for when your road just needs to be a little steeper
- The user can switch between both sets using a key
- All settings can be configured (using a .xml file).
* Strict limits
* Relaxed limits
* Default mode (strict or relaxed)
* Key to toggle modes
* Key to temporarily change modes (by holding the key).
You can find the mod here:

http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=440635326
The General 2015 年 5 月 10 日 上午 5:14 
Great mod, but any chance you can bind this to a key to enable/disable this in-game? Sometimes when re-jigging infrastructure I'd kinda like to cheat my way around it temporarily.
GordonDry 2015 年 4 月 28 日 上午 10:20 
I also ask for a key binding to temporarily diasble incl. a draggable "feedback button" that tells if the mod is enabled like in Road Anarchy.
kreaturen 2015 年 4 月 27 日 下午 3:18 
Strike that. Vanilla rules restored after restart.
kreaturen 2015 年 4 月 27 日 下午 2:59 
Also, the changes did not revert back to normal when I turned off your mod. How can that be?! That kind of sucks, because now I have broken infrastructure in my city. Infrastructure that I kind of liked, but can't fix.
kreaturen 2015 年 4 月 27 日 下午 2:14 
I like this. Makes a fine combo with that other mod of yours (Fine Road Hights). But, would it possible to have a hotkey to temporarily turn the rule changes off (similar to what Road Anarchy has) in case you absolutely need to? I attempted to use this in an already established city, and that caused issues when attempting to do changes to already established infrastructure.
Gfurst 2015 年 4 月 25 日 下午 6:14 
LoL, i like the mod, but the high slope limits for ramps makes them a pain in the ass. Of course, they have a rather high speed limit.

Train tracks are the best too, check out my attempt to get this road up this mountain XD:
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=432203537
Have to say it was fun as hell.

Anyway, in some cases it seems the game doesn't allow for smoother pillars but instead pull the terrain up.
Armandeus 2015 年 4 月 21 日 上午 5:10 
I like this very much, but I also wish to request a config file. Thanks.
Evil.Iguana 2015 年 4 月 17 日 上午 6:22 
It should be reasonably easy to see where you perform the edits. The lines where it says Case followed by the name of the road type are followed by a line that reads something like netInfo.m_maxSlope = 0.07f;. Simply change the decimal to one more suited to your own tastes. In this case, for example, I changed 0.07 to 0.20 so my highways can have up to a 20% grade. You will probably also want to change the description and/or name strings up in the top part of the code so you can differentiate your mod. Run C:S and activate your mod in the content manager and voila, you now have a custom slope limit!
Evil.Iguana 2015 年 4 月 17 日 上午 6:22 
Creating your own version of this mod with slope limits that suit you is pretty simple. Japa has graciously included a link to the source code. Here's how to do it: Copy and paste the code from the link into a text editor. I use Notepad++. Save the file as whatever with the extension .cs because this is a C# source file. I called mine EISlopeLimit.cs. Now we need to move the file to where C:S can read it. C:\Users\<username>\AppData\Local\Colossal Order\Cities_Skylines\Addons\Mods is where we want to start, with <username> being whatever your windows user name is. Create a new directory with the name of your mod in that one. I used EISlopeLimiter. Inside that directory create another called Source. Now put that .cs file inside Source. When you run Cities:Skylines it will automatically compile that source code. Currently it will work exactly like Japa's default, but you can edit the .cs file to change the numbers more to your liking.
Sausage 2015 年 4 月 10 日 下午 12:52 
A lot more challenge, sure, but no more ramps that look like ski-jumps either xD

Thanks!
Lord Morpheus 2015 年 4 月 9 日 下午 5:13 
Hey great mod.

Would it be possible to make it configurable via config file? So everybody can use the slopes he wants.
FRITZ_FANTOM 2015 年 4 月 8 日 上午 6:46 
could anybody implement the contour lines overlay into the game. because placing roads without seeing the topography of the terrain is a PITA.
Rose  [作者] 2015 年 4 月 7 日 下午 9:04 
Actually, there is a road almost like that.

Dirt roads.
James Coyle 2015 年 4 月 7 日 下午 5:34 
The ramps need to be more like 20% because it is impossible to use them on uneven terrain. The slower/smaller roads are too strict too IMO. Customisable values would be nice really. Maybe I'm missing an option somewhere?

It would be cool if someone added some new single lane roads which had a high cost, 20 speed limit and no supports so you can't raise them but had 30%-50% incline. That way you could get up hills but traffic is slow and using more than one costs a lot and the lack of supports means you cant use it for junctions either.
Tigen Shintan 2015 年 4 月 4 日 上午 11:37 
@Japa I think what he mean is Highways is at 7% and ramps is at %15.
bltzn 2015 年 4 月 4 日 上午 11:36 
This really needs a shortcut or button to toggle on/off, please!
Rose  [作者] 2015 年 4 月 4 日 上午 5:27 
@Amos, I put a link to the source. Feel free to do what you want with it.
Amos 2015 年 3 月 31 日 上午 3:16 
@Japa Make something like 'High Steep Ramps' and 'Extream Steep Ramps'
Ezpz :D
Rose  [作者] 2015 年 3 月 30 日 下午 8:00 
Yes, this does make mountainous maps very difficult. As for rail type, that is most likely not from this mod.
Klaasgowicz 2015 年 3 月 30 日 下午 1:21 
Also when I try to select the rail type (straight, curve, free-form) the buttons appear to be broken. (Workaround: Select Road-Tool, select street type, then switch to train tab again)
Klaasgowicz 2015 年 3 月 30 日 下午 1:10 
Sorry, had to Unsubscribe: Playing a map with many hills and mountains and I can't build a railway switch anymore and nearly every road going up is impossible
Amos 2015 年 3 月 29 日 上午 5:32 
Could you make an opposite of this? So like 75% maybe? I kinda get annoyed with the limits. ;P
Swyft 2015 年 3 月 28 日 下午 4:11 
Great mod. An option to toggle it on and off so we can still place ploppable intersections would be great
Kzon 2015 年 3 月 28 日 上午 5:54 
I agree with @robert tomas
Pajoonk 2015 年 3 月 28 日 上午 3:47 
Mod is great, especially for vanilla maps.

Currently I'm on custom, very mountainous map and have many, many...too many problems :-(

If I can make a suggestion: If its possible make additional road types with higher max slopes but lower speed. It's especially important for large roads and highways.
Also, I think that ramps should have higher slope limit than highway.
At least in Poland most ramps have speed limit around 50km/h. Those with high slope - 40km/h those very level and straight - 70km/h. Any speeding up should happen on additional highway lane anyway.

Another request - is it possible to limit bend radius? Especially on highways and for trains. Also with option (another type of track) for lower radius but significantly lower speeds.
chrisg 2015 年 3 月 27 日 下午 10:38 
i think this is my new favorite mod.. no more roller coaster roads
LogicVirus 2015 年 3 月 27 日 上午 12:55 
Ah, I figured that this was probably the limitation of the framework. I thought if it can detect the slope of the road and give warning/stopping us, we could adjust it to give a prompt that if you want to continue. It will do it but with penatly quota for each % over standards up to an absolute max. This is probably advanced modding anyway. :P!
Rose  [作者] 2015 年 3 月 26 日 下午 11:33 
I'm not really sure if it's possible to modify speed limits on individual sections of highway, but it might be possible to make different highways with different speed and slope limits.
LogicVirus 2015 年 3 月 26 日 下午 11:03 
Alot of rare exceptions of steeper IRL roads than current MOD %. But chances are, they could have been grandfathered into the modern standards which the mod is not about atm as medopubb said. Any exception would probably be met with penalty. Maybe speed penalty like the highway we have over here with 8% in a gorge @ 80km/h. Just an idea. ^^
LogicVirus 2015 年 3 月 26 日 下午 10:40 
Thanks for the mods. The stats are pretty good on an international scale. Will try them out! :)

@roberto "Stricter Slope Limits". Try Steeper Slopes & Higher Bridges by mabako.
sstellaire 2015 年 3 月 26 日 上午 10:40 
Great Japa ! this mod and this one with the heights is simply great !
It is not easy to use (terraforming tool is essential with it) but the results are so realistic !!!
do you will make a option that the road terraform automaticaly more ? And to read the slope of the road (in %) before building (in the costs windows maybe)
Anyway Bravo for this work !
makor 2015 年 3 月 26 日 上午 4:47 
@roberto, Read Roads: Geometric design and layout planning [www.csir.co.za]. As far as Major roads are concerned (highways, motorways, single-lane regional roads) You need <5% slopes for speeds up to 120 km/h and less than 10% slopes for designed speed of 40km/h.

There are exceptions like I70 or any other mountain overpasses which need extra sholder lanes for heavier vehicles to climb anyway, but I hope we're good enough road planners in this game, so we can avoid using great slopes if we can.

If anything, the mod-slopes are actually generous, and don't bombard me with real-world exceptions to the rulebook, if I were to build roads that don't abide by regulations, like some real-world examples, I wouldn't download this mod.

Yamashta 2015 年 3 月 26 日 上午 3:15 
Thanks, great mod.
roberto tomás 2015 年 3 月 25 日 下午 12:44 
@medopub —not that I don't think it is a good mod. I *do* wish it was configurable though, so many mods offer config files.

there are *major* interstate highways in the US, like interstate 70, that have what you call *stupid* slopes. You're wrong.. it isn't that 25% should be everywhere, but "realistic" limits are more like 35/25/17.5/5 or at least 25/20/15/5

You'll notice he's got a 5% grade for rails that that would be about the same as ~30% for small roads — in terms of being unaccessible to real world vehicles. Also the highway *ramps* are more normally constrained to ~7% or less, but that is mostly a matter of wanting vehicles to be able to merge at speed.
rednael 2015 年 3 月 25 日 上午 10:55 
I have to agree, great mod!
But despite the realism of it, I'd really like a config where we could change the values. 5% for trains is looking gorgeous, but when playing some way-to-high maps it's simply impossible to build a track up the hills.

With a config this mod would be almighty ;)
makor 2015 年 3 月 25 日 上午 8:41 
Great mod.
To those complaining like that roberto: just because there are a few examples in real life with big slopes 15%+ doesn't mean that 99.99% of national roads, highways and so on have a very strict rule of having as gentle slopes as possible. Only when there is no other way, do we see the stupid steep slopes.
Rose  [作者] 2015 年 3 月 25 日 上午 4:29 
I added a dependency to my mod that give you finer control over road and rail elevations, which makes things so much easier.
cyricc 2015 年 3 月 24 日 下午 11:30 
Sweet, having long used slope mods in simcity 4 I was hoping someone was working on one for this game. Just spent an hour making a mountain train route, this mod makes it so much easier to make good looking tracks!
roberto tomás 2015 年 3 月 24 日 下午 8:22 
the problem with this is that it isn't realistic. 15% grade is steep, but there are dozens of roads just in the US with grades twice that steep. Even highways commonly have grades as high as 12%

I hope you consider giving us a config file to set so we can pick what seems realistic in our own countries.. I'd love to have small: 37%, large: 20%, highways 12%, trains 5%
roberto tomás 2015 年 3 月 24 日 下午 8:21 
the problem with this is that it isn't realistic. 15% grade is steep, but there are dozens of roads just in the US with grades twice that steep. Even highways commonly have grades as high as 12%
Hope you consider giving use a config file to use so we can set our own.. I'd love to have small: 37%, Large: 20%, Highways 12%, Trains 5%
Quo 2015 年 3 月 24 日 下午 7:40 
Oh that's great to hear, thank you so much I've been waiting for a tool like that!
Rose  [作者] 2015 年 3 月 24 日 下午 7:27 
Right now the mod just limits what is possible using page up and page down. I'm working on a separate mod that will allow finer control over those heights, which will help with this mod, but that isn't quite ready yet.