This tag is used to create Roads.
These are used by AI cars to navigate the world as well as the game's navigation system.
Note: Unless you need fine control over the shape of the segments, we recommend using the SimpleRoad tag instead.
Usage
To use this group tag, you must first Include
any of the following XML files:
Zone.xml
Then you must execute any of the following ModelOutputInstructions
on the tagged group or a group containing it:
BaseZone
- Recommended.
Entities
- Not recommended.
Paths
- Not recommended.
Syntax
<RoadName> [Road] [<StartIntersection>] [<EndIntersection>] [<MaxTraffic>] [<Lanes>]
- RoadName: The name of this road.
- StartIntersection: The name of the Intersection this road starts at.
- EndIntersection: The name of the Intersection this road ends at.
- MaxTraffic: The maximum amount of traffic cars that can be on this road at a time.
- Use 0 to make a road that does not spawn traffic.
- Lanes: The amount of lanes this road will be divided into.
Group Structure
This tag should be applied to a group containing other groups that each contain two lines drawn in opposing directions representing each segment of the road.
Examples
TODO
Other Tags
These are other tags that can be used with this to configure it further.
Shortcut
This tag will mark the road as a shortcut.
This means the navigation system will not acknowledge it, AI cars will only take it one-way and you cannot reset your car onto it.
[Shortcut]
Speed
TODO
[Speed] [<Speed>]
- Speed: TODO.
Intelligence
This tag will set the intelligence level AI cars need to use the road.
[Intelligence] [<Level>]
- Level: The intelligence level for the road.
Version History
1.0
Initial release.