PATH

From GTAMods Wiki
Revision as of 05:59, 1 October 2011 by Swoorup (talk | contribs) (Created page with ' '''INTRODUCTION: ''' Paths in Vice City are grouped into nodes, each with at most 12 sub-nodes. The Group nodes define the type of vehicle going to be used by the sub nodes. Su…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

INTRODUCTION:

Paths in Vice City are grouped into nodes, each with at most 12 sub-nodes. The Group nodes define the type of vehicle going to be used by the sub nodes. Sub nodes contain path coordinates which are linked to each other both internally(Inside the group) and externally(Outside the group with other group nodes).


HOW VICE CITY STORES A LINE(LINEAR PATH):

First of all, consider a small segment of the line in a group node. The group node has to be defined and then there are the 12 sub-nodes inside it. The number of coordinates vary from 2 to 12. If the number of coordinates does not reach 12, then they are filled with null nodes which does not do anything just to make the group node hold always 12 nodes. The internal and external sub nodes are defined each with a special attribute in it. The internal sub nodes are the middle parts of a segment of the line, while the external sub nodes are the end points of the segment of the line. They are used to connect to other external sub-node or end point of another segment(Another group) of the line. To connect the external sub-nodes or end points, they must and always must have the same coordinates. All the other group nodes link up together using this concept, thus you get a path which a vehicle or a ped follows from the beginning and to the end of the line. Spawns are made in the external nodes (Always remember that fact) and then they follow the route of the line.

One can add a maximum of 24 group nodes in Vice City though this limit can be increased by Maxorator's Path hacks.