Modding Tools > Lucas' Simpsons Hit & Run Map Builder > SketchUp Models > Road Tags > RoadPairLeft / RoadPairRight

RoadPairLeft / RoadPairRight

This document is a work-in-progress and may be missing information.

These tags are used to create pairs of Roads going in opposite directions.

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 road segments, we recommend using the SimpleRoadPair tags 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

<RoadPairName> [RoadPairLeft] [<MaxTraffic>] [<Lanes>]
<RoadPairName> [RoadPairRight] [<MaxTraffic>] [<Lanes>]
  • RoadPairName: The name of these roads. One side will have its name adjusted to be unique.
  • 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.

The width of the road is half the width of the pair.

The start and end intersections are determined automatically though they can also be explicitly controlled with the Intersections tag below.

The two different tags determine which side of the road the cars drive on.

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 both sides of the road pair. These segments should start and end at two different Intersections.

Examples

TODO

Other Tags

These are other tags that can be used with this to configure it further.

Intersections

This tag will allow you to manually control the start and end intersections for the road pair.

[Intersections] [<Intersection1>] [<Intersection2>]
  • Intersection1: The first intersection for the road pair.
  • Intersection2: The second intersection for the road pair.

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.

Donut Team © 2023 · v4.0