Skip to content

Conversation

@kvakvs
Copy link
Collaborator

@kvakvs kvakvs commented Jul 22, 2019

Fixes #446 -- Restores behaviour of TM:PE 10.20

  • Speed limit of 0 is shown as 🚫 unlimited
  • Speed limit greater than available textures is shown as 🚫 unlimited
  • Speed limits below 5 show as 5 km/mph

Allows selecting 🚫 unlimited for default speed limits

@kvakvs kvakvs requested review from krzychu124 and originalfoo July 22, 2019 17:51
Copy link
Member

@krzychu124 krzychu124 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@krzychu124
Copy link
Member

Hmm, which speed limit sign I should expect to see when road/train track has 3.0 limit(game speed)?

@kvakvs
Copy link
Collaborator Author

kvakvs commented Jul 22, 2019

Hmm, which speed limit sign I should expect to see when road/train track has 3.0 limit(game speed)?

That is 150 kmph for rail, in 10.20 it was showing as 🚫 if i remember correctly?

@krzychu124
Copy link
Member

Ok, tested again. It's working as it should (I've built wrong PR 😄 )

@kvakvs
Copy link
Collaborator Author

kvakvs commented Jul 22, 2019

One problem: Clicking Left in default speeds UI will switch between 10 and 🚫 and 10 again etc.
If this is undesired behaviour it is probably a good time to fix it today.
I believe we will revisit this tool in v11 UI revamp anyway.

@originalfoo
Copy link
Member

testing...

@krzychu124
Copy link
Member

Yup, would be nice to fix that 10 - 🚫 issue.
Maybe we should add 🚫 when user click left from 10 km/h and right when on 140 km/h?

@originalfoo
Copy link
Member

The normal speeds UI seems to be working fine. My train tracks are showing 'no limit' sign, and I can set roads to 'no limit' too.

In default speeds UI, right-clicking multiple times ends up at 90 MPH - I would expect it to continue on to 'no limit' with an additional right-click as 'no limit' to me is semantically faster than 90 MPH.

I also noticed the left-clicking issue mentioned by @kvakvs above where it toggles between 5 MPH and 'no limit' signs. IMO it should stop at 5 MPH when left clicking.

@krzychu124 krzychu124 self-requested a review July 22, 2019 19:58
@kvakvs
Copy link
Collaborator Author

kvakvs commented Jul 22, 2019

Now clicking ⬅ on 5 mph (10 km) will show 🚫 and wrap over to 90 mph (140 km)
Now clicking ➡ on 90 mph (140 km) will show 🚫 and wrap over to 5 mph (10 km)

Copy link
Member

@originalfoo originalfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works great now!

LGTM 👍

@kvakvs kvakvs merged commit d6438b0 into CitiesSkylinesMods:master Jul 22, 2019
@kvakvs kvakvs deleted the 446-show-unlimited-over-140kmph branch July 22, 2019 21:24
@originalfoo originalfoo added this to the 11.0 milestone Jul 23, 2019
@originalfoo originalfoo added technical Tasks that need to be performed in order to improve quality and maintainability UI User interface updates Usability Make mod easier to use labels Jul 23, 2019
@originalfoo originalfoo added the SPEED LIMITS Feature: Speed limits label Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SPEED LIMITS Feature: Speed limits technical Tasks that need to be performed in order to improve quality and maintainability UI User interface updates Usability Make mod easier to use

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fast roads/tracks reported as 140 km/h

3 participants