Map Editor: Speed limits change from MPH to KPH

BigRdPoolPlaya
Posts: 13
Joined: 14 Jul 2021 19:46

Map Editor: Speed limits change from MPH to KPH

#1 Post by BigRdPoolPlaya » 01 Aug 2021 15:59

Being from the US, I'd want to use MPH instead of kph. Top photo is from the base map in editor, and the bottom is mine. The editor states the sign is 65 MPH but the game reads it as 65 KPH. Is there a setting somewhere I'm missing changing? And it's like that even when I load the map mod into the game and put all the settings to US.

[ external image ]
Last edited by BigRdPoolPlaya on 03 Aug 2021 11:03, edited 1 time in total.
User avatar
KrysEmlyn
Posts: 477
Joined: 17 Mar 2017 12:32
Contact:

Re: Map Editor: Speed Limits kph or MPH

#2 Post by KrysEmlyn » 01 Aug 2021 18:03

I presume you are adding a state to the game map, so my answer is going to be based on this presumption.
In the country folder where your state definition is kept, you need to make sure this property is in it somewhere:

Code: Select all

imperial_units: true
This will tell the game (and the map editor) that any speed limits you place in your state's region in the map are to be in MPH, not KPH.
BigRdPoolPlaya
Posts: 13
Joined: 14 Jul 2021 19:46

Re: Map Editor: Speed Limits kph or MPH

#3 Post by BigRdPoolPlaya » 01 Aug 2021 18:38

@KrysEmlyn
It's in here:

Code: Select all

country_data : country.data.fakeland
{
	country_id: 203

	name: "Fakeland"
	name_localized: "@@fakeland@@"
	country_code: "FL"

	pos: (3000, 0, 3000)

	fuel_price: 0.68129972	# $2.579/gallonUS = 0.68129972/litre

	lights_mandatory: false
	imperial_units: true
	driving_tired_offence: true
mod>def>county>fakeland.sui
User avatar
KrysEmlyn
Posts: 477
Joined: 17 Mar 2017 12:32
Contact:

Re: Map Editor: Speed Limits kph or MPH

#4 Post by KrysEmlyn » 02 Aug 2021 16:11

Then, I have no further ideas of why it isn't working properly for you.
I don't really do much with the map editor aside from using it to look up assets for my modding purposes.
BigRdPoolPlaya
Posts: 13
Joined: 14 Jul 2021 19:46

Re: Map Editor: Speed Limits kph or MPH

#5 Post by BigRdPoolPlaya » 02 Aug 2021 21:02

@KrysEmlyn

Wish there was someone who made maps and would know how to fix this. Even if it's a new downloaded game file, it still uses KPH and not MPH. Thought I figured it out with editing the nodes of the road, but as soon as I hit save, they all went back to KPH.
SimulatorSam
Posts: 4902
Joined: 05 Mar 2014 17:52
Location: United Kingdom
Contact:

Re: Map Editor: Speed Limits kph or MPH

#6 Post by SimulatorSam » 02 Aug 2021 21:09

@BigRdPoolPlaya Insert this into editor_data.sii:

Code: Select all

traffic_use_mph: true
BigRdPoolPlaya
Posts: 13
Joined: 14 Jul 2021 19:46

Re: Map Editor: Speed Limits kph or MPH

#7 Post by BigRdPoolPlaya » 02 Aug 2021 21:34

@SimulatorSam

Been in there since I first started making maps with the editor. Went through settings for the base maps and even CTC and all the settings are the same. The only difference is this:

[ external image ]

In mine, there is a greyed out empty box in country. I can edit the nodes, but would have to keep the country border box checked. Also means each time I make a road section, this would have to be done, and I'd have to edit about 1,000 of them at this point. I have ticked the box, changed the country (state) to my own or one already there, unticked the box, and it works. As soon as I hit save, it goes back to KPH and the edit never happened.
SimulatorSam
Posts: 4902
Joined: 05 Mar 2014 17:52
Location: United Kingdom
Contact:

Re: Map Editor: Speed Limits kph or MPH

#8 Post by SimulatorSam » 02 Aug 2021 21:59

Just one road node needs to be a country border, and it will apply to all other roads connected from it. It’s also meant to stay ticked. You can set both to the same country without issue.

Later on if you do add another country, you can just set another country border as normal.
Last edited by SimulatorSam on 03 Aug 2021 06:36, edited 1 time in total.
BigRdPoolPlaya
Posts: 13
Joined: 14 Jul 2021 19:46

Re: Map Editor: Speed Limits kph or MPH

#9 Post by BigRdPoolPlaya » 02 Aug 2021 22:26

@SimulatorSam

I just tried that on a long road that I have. Set the road node to NEWYORK at the start of the road and the speed changes from 30 KPH to 30 MPH. Problem with that is, as soon as I get to the next road node connected, the speed increases to 48.3 KPH and only works for one way of traffic.
SimulatorSam
Posts: 4902
Joined: 05 Mar 2014 17:52
Location: United Kingdom
Contact:

Re: Map Editor: Speed Limits kph or MPH

#10 Post by SimulatorSam » 03 Aug 2021 06:35

The only thing I can think of is perhaps rebuilding the map. (F8 I think) Other than that I’m not sure what else it could be.
Post Reply

Return to “Help center - player to player”

Who is online

Users browsing this forum: No registered users and 4 guests