PATH (IDE Section): Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{IdeSection | {{IdeSection | ||
|name = PATH | |name = PATH | ||
|game = {{Icon | |game = {{Icon|3}} {{Icon|VC}} | ||
|description = Adds paths for traffic | |description = Adds paths for traffic | ||
}} | }} | ||
'''<code>path</code>''' is a section in the item definition file in [[Grand Theft Auto III]] and [[Grand Theft Auto: Vice City]]. It is used to add paths for foot and vehicular traffic. Path nodes in GTA III are attached to existing objects in a similar manner to <code>[[2DFX|2dfx]]</code>. In GTA Vice City, the format of this section is similar to its [[PATH|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. | '''<code>path</code>''' is a section in the [[Item Definition|item definition]] file in [[Grand Theft Auto III]] and [[Grand Theft Auto: Vice City]]. It is used to add paths for foot and vehicular traffic. Path nodes in GTA III are attached to existing objects in a similar manner to <code>[[2DFX|2dfx]]</code>. In GTA Vice City, the format of this section is similar to its [[PATH|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. | ||
== Format == | == Format == | ||
Line 27: | Line 27: | ||
{|class="wikitable center-col-1 center-col-2" style="width: 100%;" | {|class="wikitable center-col-1 center-col-2" style="width: 100%;" | ||
! style="width: 3em;"|{{Icon | ! style="width: 3em;"|{{Icon|3}} | ||
! style="width: 12em;"|Identifier | ! style="width: 12em;"|Identifier | ||
! style="width: 6em;" |Type | ! style="width: 6em;" |Type | ||
Line 99: | Line 99: | ||
{|class="wikitable center-col-1 center-col-2" style="width: 100%;" | {|class="wikitable center-col-1 center-col-2" style="width: 100%;" | ||
! style="width: 3em;"|{{Icon | ! style="width: 3em;"|{{Icon|vc}} | ||
! style="width: 12em;"|Identifier | ! style="width: 12em;"|Identifier | ||
! style="width: 6em;" |Type | ! style="width: 6em;" |Type | ||
Line 158: | Line 158: | ||
{{fdl}} | {{fdl}} | ||
{{3-navi}} | |||
{{VC-navi}} |
Latest revision as of 08:18, 21 July 2018
Supported games: | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Short description: | Adds paths for traffic | ||||||||||||||
IDE Sections:
|
path
is a section in the item definition file in Grand Theft Auto III and Grand Theft Auto: Vice City. It is used to add paths for foot and vehicular traffic. Path nodes in GTA III are attached to existing objects in a similar manner to 2dfx
. In GTA 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.
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 model index 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) |
GTA Vice City
path # type 1 GroupType, Id, ModelName NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes NodeType, NextNode, IsCrossRoad, XRel, YRel, ZRel, Median, LeftLanes, RightLanes # type 2 GroupType, -1 NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate NodeType, NextNode, IsCrossRoad, XAbs, YAbs, ZAbs, Median, LeftLanes, RightLanes, SpeedLimit, Flags, SpawnRate end
This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.
The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. See Grand Theft Wiki:Copyright for more information. |
|
|