KcRobin9 / MM1-Map-Editor

A Map Editor for Midtown Madness 1

Home Page:https://kcrobin9.github.io/MM1-Map-Editor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Per-Race Traffic Path Exceptions

KcRobin9 opened this issue · comments

The Editor's race_data dictionary has already successfully integrated most of the fields from the game's AIMAP files. However, as ambient traffic is likely to become more commonplace in maps, users should also be able to set traffic path exceptions.

These exceptions, listing the path ID, density, and speed limit, will help users further customize their races.
Below is an example of how the AIMAP file looks:

# Ambient Traffic Exceptions
# Rd Id, Density, Speed Limit
[Exceptions]
7
648 0.0 45
646 1.0 60
644 0.3 45
647 0.3 45
152 0.0 45
153 0.0 45

Solved in 3ac499d