Difference between revisions of "PATH (IDE Section)"
Jump to navigation
Jump to search
Line 67: | Line 67: | ||
{{Pre| | {{Pre| | ||
path | path | ||
+ | # type 1 | ||
GroupType, Id, ModelName | GroupType, Id, ModelName | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes | ||
+ | # type 2 | ||
+ | GroupType, -1 | ||
NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate | ||
NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate | NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate |
Revision as of 05:44, 2 September 2016
Supported games: | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Brief description: | Used to define paths for traffic | |||||||||||||||
IDE Sections:
|
PATH is a section in the item definition file in GTA III and Vice City. It is used to define paths for traffic. Path nodes in GTA III are attached to existing objects in a similar manner to 2DFX. In Vice City, the format of this section is similar to its IPL counterpart but entries will crash the game because of an imposed limit. Use a limit adjuster like VC Limit Adjuster and increase the number of treadables to use this section.
Contents
Format
GTA III
path GroupType, Id, ModelName NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, unknown, LeftLanes, RightLanes end
Identifier | Type | Description | |
---|---|---|---|
Group | |||
A | GroupType | string |
|
B | Id | integer | associated to existing object ID defined in OBJS or TOBJ section |
C | ModelName | string | associated to existing object model name defined in OBJS or TOBJ section |
Node | |||
A | NodeType | integer |
|
B | NextNode | integer |
|
C | IsCrossRoad | integer | Boolean determining if there is a cross road in the imaginary line joined by two nodes |
D,E,F | X, Y, Z | float[3] | X, Y, and Z coordinates relative to the center of the object * 16 |
G | unknown | float | Always 160 |
H | LeftLanes | integer | Number of lanes left of the node (ignored for ped path nodes) |
I | RightLanes | integer | Number of lanes right of the node (ignored for ped path nodes) |
Vice City
path # type 1 GroupType, Id, ModelName NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes # type 2 GroupType, -1 NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, X, Y, Z, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate end
Identifier | Type | Description | |
---|---|---|---|
Group | |||
A | GroupType | integer |
|
B | Id | integer | associated to existing object ID defined in OBJS or TOBJ section |
C | ModelName | string | associated to existing object model name defined in OBJS or TOBJ section |
Node | |||
A | NodeType | integer |
|
B | NextNode | integer |
|
C | IsCrossRoad | integer | Boolean determining if there is a cross road in the imaginary line joined by two nodes |
D,E,F | X, Y, Z | float[3] | X, Y, and Z coordinates relative to the center of the object * 16 |
G | Median | float |
|
H | LeftLanes | integer | Number of lanes left of the node. This is ignored for internal nodes |
I | RightLanes | integer | Number of lanes right of the node. This is ignored for internal nodes |
J | SpeedLimit | integer | Sets the speed of vehicles traveling through the path
|
K | Flags | integer | General node behavior
|
L | SpawnRate | float | Spawn rate frequency ranging from 0.0 to 1.0 |
See also
- PATH, a similar section in the item placement file for Vice City