» «

Please post mod releases in the Mod Showroom

##### Data Topics

The following topics contain extremely useful data relating to the modifying of maps:

##### Beginner?

Before starting a huge map project, please read Starters guide to total conversions So you know the work that needs to be undertaken.

##### Requests

Requests are to be made in the pinned topic.

# Paths Documentation for SA, VC and GTA3

68 replies to this topic
REspawn
• ##### REspawn

REgent

• Members
• Joined: 06 Jul 2002
•

### #1 Posted 25 April 2003 - 02:08 PM

If you look in the .ide (like data\maps\comse\comse.ide) files you will find path information that goes with an object as placed on the map (like a road segment or a building)

You will find things like

ped, 1440, scraperkb3_nit

2, 6, 0, -499, -109, -1, 160, 1, 1

2, 2, 0, 43, 682, -1, 160, 1, 1

2, 3, 0, -380, 686, -1, 160, 1, 1

2, 4, 0, -510, 551, -1, 160, 1, 1

2, 0, 0, -518, 258, -1, 160, 1, 1

1, 1, 0, 504, 696, -2, 160, 1, 1

1, -1, 0, -515, -450, -1, 160, 1, 1

0, -1, 0, 0, 0, 0, 0, -78, 17

0, -1, 0, 0, 0, 0, 0, 120, -48

0, -1, 0, 0, 0, 0, 0, -25, 18

0, -1, 0, 0, 0, 0, 0, 0, 52

0, -1, 0, 0, 0, 0, 0, 88, 17

This is a bit of node information that belongs to the scraperkb3_nit object (ObjectID: 1440). This is pedestrian node information but you will find similar blocks for car nodes.

Each line represents a node. The first number represents the type of node (2 = internal node, 1 = external node, 0 = empty).

The 2nd number is the node it is connected to. (Node number 0 is connected to node number 6). The number after that is always 0 and the two nodes after that represent the coordinates relative to the origin of the object. These numbers are compressed and each unit represents 1/16th of a meter (if I?m not mistaken)

There are some flags in there as well (like whether the node is crossing the road etc)

There is a maximum of 12 nodes per object,

When the maps get loaded in the external nodes get matched up. If an external node of an object ends up on the same coordinates as the external node of another object the nodes on these objects are connected and a link is formed.
------------------------------------------------------
The above is straight from rockstar, i dunno if i can say who sent it to me as it may get them in trouble.

Also the chase.dat files do nothing for paths and are only related to the intro movie.
--------------------------------------------------------

VICE CITY PATH POINTS.
HOW THEY WORK.

In Vice City (will be out in a fortnight or so) the nodes don?t have to be connected to an object and can be defined in ?world space?. This should make things a lot easier for you. The system with 12 nodes that ?link up? is still the same.

-Dave

Start original post
Ok,
So this path thing is really starting to bother me, so I sat down yesterday and went trough the paths twisting and tweaking as I went.
I have decide to put up what I have found so that other people can see and maybe it will help us finally figure out what is going on.

So far i have only been dealing with car paths, since car and ped paths are nearly the same, once we get one we should get the other.

The path info i have put together.

Previous topics......
http://www.gtaforums...ST;f=48;t=46353
http://www.gtaforums.com/ib....60;st=0
http://www.gtaforums...ST;f=48;t=48912

I hope all info is right but if you know that?s it not that I have made a mistake then please PM / e-mail / post reply and let me know.

After doing some probing into the gta files it would seem that nearly every road has a ped and car paths, but even though they are turned on some of them don?t work.
E.g.: out side the SSV hideout are some roads that connect to a car park.
For these roads are both ped and car paths, but only peds use the roads, why?
I tried changing all the numbers and such concerned with the roads and the junction that connects them but with no luck.

The only thing I can see is that the chase.dat files control what gets used and not.
But of course they are compiled files

Think that?s all I think....

If anyone can add to this or explain more then please do.
Of if anyone at Rockstar would care to explain or give us the max scripts they used it would be nice

-Dave

.:R2D2:.
• ##### .:R2D2:.

Mostly Harmless

• The Precinct
• Joined: 01 Feb 2003
•

### #2 Posted 25 April 2003 - 02:15 PM

kool, it'd be great to have an editor for paths, keep it up

-r2d2

Opius
• ##### Opius

General

• Members
• Joined: 27 Jun 2002
•

### #3 Posted 25 April 2003 - 04:45 PM

The roads that have paths but arn't 'turned on' can still be used to spawn emergency vehicles on. You know that dirt path near the SSV hideout? Normally there isn't traffic, but if you have a wanted level, police/FBI/whatever are spawned on the path.

Good luck with the paths, maybe you should Redkillers bro to help you with some stuff.

Hollower
• ##### Hollower

theomachist

• Members
• Joined: 09 Sep 2002
•

### #4 Posted 25 April 2003 - 09:01 PM

 Quote After doing some probing into the gta files it would seem that nearly every road has a ped and car paths, but even though they are turned on some of them don?t work.E.g.: out side the SSV hideout are some roads that connect to a car park.For these roads are both ped and car paths, but only peds use the roads, why?

In the mission script (main.scm) there are "forbidden for cars cube" and "forbidden for peds cube" which can be added and removed. For example the destroyed bridge gets one of these cubes placed over it which is removed at the point in the game when the bridge is repaired.

jcab42
• ##### jcab42

Custom Planet Builder

• Members
• Joined: 21 Sep 2002
•

### #5 Posted 25 April 2003 - 10:24 PM

good thread here guys, I've been behind on the issue but now it's coming into focus a bit.

Here's an example of how some paths are layed out in the game.  Keep in mind CrossRoadn1 is turned 180 degrees around in the ipl.

Two joining road models that form a T intersection:

2, 2, 0, 0, 0, -1, 160, 1, 1
1, 0, 0, 0, 240, -1, 160, 1, 1
1, -1, 0, 0, -240, -1, 160, 1, 1
1, 0, 0, 160, 0, -1, 160, 2, 2
0, -1, 0, 0, 0, 0, 0, 1, 1
0, -1, 0, 0, 0, 0, 0, 1, 1...

when x,y,z is divided by 16 and rounded off =
1.  2, 2, 0, 0, 0, -1, 160, 1, 1
2.  1, 0, 0, 0, 15, -1, 160, 1, 1
3.  1, -1, 0, 0, -15, -1, 160, 1, 1
4.  1, 0, 0, 10, 0, -1, 160, 2, 2

2. from industnw.ide

2, 2, 0, 0, 0, 0, 160, 1, 1
1, 0, 0, 0, 239, 0, 160, 1, 1
1, -1, 0, 0, -240, 0, 160, 1, 1
1, 0, 0, -159, 0, 0, 160, 2, 2
1, 0, 0, 160, 0, 0, 160, 2, 2
0, -1, 0, 0, 0, 0, 0, 1, 1
0, -1, 0, 0, 0, 0, 0, 0, 17...

=
1.  2, 2, 0, 0, 0, 0, 160, 1, 1
2.  1, 0, 0, 0, 15, 0, 160, 1, 1
3.  1, -1, 0, 0, -15, 0, 160, 1, 1
4.  1, 0, 0, -10, 0, 0, 160, 2, 2
5.  1, 0, 0, 10, 0, 0, 160, 2, 2

Now you can associate the line numbers with the numbers in this pic here and we'll see if that helps anyone.

I don't know if the game uses the points from the dff's, but I put them in red just in case.

T2k2
• ##### T2k2

I'm Watching You - Read My Profile

• BUSTED!
• Joined: 23 Mar 2003
•

### #6 Posted 25 April 2003 - 10:37 PM

 Quote (opius @ April 25 2003,11:45) The roads that have paths but arn't 'turned on' can still be used to spawn emergency vehicles on. You know that dirt path near the SSV hideout? Normally there isn't traffic, but if you have a wanted level, police/FBI/whatever are spawned on the path.Good luck with the paths, maybe you should Redkillers bro to help you with some stuff.

I'd like to mention about how San Angeles has some odd problems with paths, as cars are running around the internals of the airport when they shouldnt be, and when they come to a solid airplane, they JUMP and begin floating, I followed one of these floating cars, and it kept floating out of the airport and maintained its height, then it a lamp-pole and instantly was on the ground.

REspawn
• ##### REspawn

REgent

• Members
• Joined: 06 Jul 2002
•

### #7 Posted 26 April 2003 - 12:58 PM

 Quote The roads that have paths but arn't 'turned on' can still be used to spawn emergency vehicles on. You know that dirt path near the SSV hideout? Normally there isn't traffic, but if you have a wanted level, police/FBI/whatever are spawned on the path.

But is that the only reason they have paths or are they turned off becuase there is a limit to the ammount of paths the game can take?

Something else i noticed is that the t-junction outside your hideout in SSV is used more than once.

car, 2696, t_junction_4x4
2, 2, 0, 0, -80, -1, 60, 1, 1
1, 0, 0, 239, -79, -1, 60, 1, 1
1, -1, 0, -240, -79, -1, 60, 1, 1
1, 0, 0, 0, 80, -1, 60, 2, 2
0, -1, 0, 0, 0, 0, 0, 1, 1
0, -1, 0, 0, 0, 0, 0, 1, 1
0, -1, 0, 0, 0, 0, 0, 1, 1
0, -1, 0, 0, 0, 0, 0, 1, 1
0, -1, 0, 0, 0, 0, 0, 1, 1
0, -1, 0, 0, 0, 0, 0, 1, 1
0, -1, 0, 0, 0, 0, 0, 0, 52
0, -1, 0, 0, 0, 0, 0, 127, 117

Im gonna go and see what can be done with those car blocking cubes in main.scm
-Dave

ghost_master2000
• ##### ghost_master2000

Li'l G Loc

• Members
• Joined: 27 Jun 2002
•

### #8 Posted 26 April 2003 - 06:10 PM

if you simply compile a blank main.scm file it will have no forbiddon for anything cubes, and there will be cars driving around at the portland docks.  The car paths are very important for mission scriptin, because the cars in the mission script that drive to a certain point follow the pats, so they don't run into walls and sh*t.

T2k2
• ##### T2k2

I'm Watching You - Read My Profile

• BUSTED!
• Joined: 23 Mar 2003
•

### #9 Posted 26 April 2003 - 06:28 PM

 Quote (ghost_master2000 @ April 26 2003,13:10) if you simply compile a blank main.scm file it will have no forbiddon for anything cubes, and there will be cars driving around at the portland docks.  The car paths are very important for mission scriptin, because the cars in the mission script that drive to a certain point follow the pats, so they don't run into walls and sh*t.

CORRECT!

And thats why i dont like redkillers way of doing car paths, because he just removes the forbiddens, the same way San Angeles currently has cars driving around at the airport.  It's piss annoying.

Shrew
• ##### Shrew

Kitten Pouncer

• Members
• Joined: 07 Apr 2003
•

### #10 Posted 30 April 2003 - 01:48 PM

I've just read through the posts and I'm still not 100% sure what the state is: have people only been able to edit currently existing paths to their own satisfaction (I get the impression there are still connection between paths issues) or can they be added at will?

Personally I can well believe there is a hardcoded max limit on paths...

Im thinking I might l have a look at the paths soon and see if I can at least render them in my level viewer - even if I havent currently got cars or a collision mesh.

T2k2
• ##### T2k2

I'm Watching You - Read My Profile

• BUSTED!
• Joined: 23 Mar 2003
•

### #11 Posted 01 May 2003 - 12:32 AM

I was thinking about it, and there was some mod where it restarted the game, and the bridge, although it was complete, had those warning blocks that wouldnt let you on the bridge.  People were driving on it though and hurting themselves on the brickades.

I was thinking also about the two cops who drive up the bridge as you drive down, how they wont fire back or get out no matter what you do.  Funny stuff.

kman2003ko
• ##### kman2003ko

A learning decoder and a programmer

• Members
• Joined: 18 Oct 2002
•

### #12 Posted 01 May 2003 - 04:01 AM

 Quote (jcab42 @ April 25 2003,18:24) good thread here guys, I've been behind on the issue but now it's coming into focus a bit.Here's an example of how some paths are layed out in the game.  Keep in mind CrossRoadn1 is turned 180 degrees around in the ipl.Two joining road models that form a T intersection:1. from indroads.idecar, 686, ind_customroad088  2, 2, 0, 0, 0, -1, 160, 1, 1  1, 0, 0, 0, 240, -1, 160, 1, 1  1, -1, 0, 0, -240, -1, 160, 1, 1  1, 0, 0, 160, 0, -1, 160, 2, 2  0, -1, 0, 0, 0, 0, 0, 1, 1  0, -1, 0, 0, 0, 0, 0, 1, 1...when x,y,z is divided by 16 and rounded off =1.  2, 2, 0, 0, 0, -1, 160, 1, 12.  1, 0, 0, 0, 15, -1, 160, 1, 13.  1, -1, 0, 0, -15, -1, 160, 1, 14.  1, 0, 0, 10, 0, -1, 160, 2, 22. from industnw.idecar, 271, CrossRoadn1  2, 2, 0, 0, 0, 0, 160, 1, 1  1, 0, 0, 0, 239, 0, 160, 1, 1  1, -1, 0, 0, -240, 0, 160, 1, 1  1, 0, 0, -159, 0, 0, 160, 2, 2  1, 0, 0, 160, 0, 0, 160, 2, 2  0, -1, 0, 0, 0, 0, 0, 1, 1  0, -1, 0, 0, 0, 0, 0, 0, 17...=1.  2, 2, 0, 0, 0, 0, 160, 1, 12.  1, 0, 0, 0, 15, 0, 160, 1, 13.  1, -1, 0, 0, -15, 0, 160, 1, 14.  1, 0, 0, -10, 0, 0, 160, 2, 25.  1, 0, 0, 10, 0, 0, 160, 2, 2Now you can associate the line numbers with the numbers in this pic here and we'll see if that helps anyone.I don't know if the game uses the points from the dff's, but I put them in red just in case.

yep exactly lke the image you just show let where the 4 is @ to be the middle where the z is @ from there you have your Exterior nodes "2" and interior nodes "1"  The gta3 game read all path nodes from the IDE file.  now here is how it goes car, 2696,
 Code Sample t_junction_4x42, 2, 0, 0, -80, -1, 60, 1, 11, 0, 0, 239, -79, -1, 60, 1, 11, -1, 0, -240, -79, -1, 60, 1, 11, 0, 0, 0, 80, -1, 60, 2, 20, -1, 0, 0, 0, 0, 0, 1, 10, -1, 0, 0, 0, 0, 0, 1, 10, -1, 0, 0, 0, 0, 0, 1, 10, -1, 0, 0, 0, 0, 0, 1, 10, -1, 0, 0, 0, 0, 0, 1, 10, -1, 0, 0, 0, 0, 0, 1, 10, -1, 0, 0, 0, 0, 0, 0, 520, -1, 0, 0, 0, 0, 0, 127, 117

And here is the part
 Code Sample 2, 2, 0, 0, -80, -1, 60, 1, 12=node type2=node connect if they both are the same the game cpu will gen. cars on the  nodes and during the lines like this  [B] O---------O [/B] the First O would be Called A and the second O would be called B . While if the number would remind the same the game would draw a line bettween the two nodes and connect them what ever way it is and the Game would GEN it.  The dummy file don't really do nothing as you can see like from ODIE mod he place paths on his made object and it don't have any path dummys.

O----O
\     /
\   /
\ /
o
Remind that for all the objects with the same second number
I hope this help

sleeper777
• ##### sleeper777

Mission Coder | Help Guru | Tech Ninja

• Members
• Joined: 28 Mar 2003
•

### #13 Posted 17 May 2003 - 10:01 PM

I have read extensively all the collected posts at gta forums and still
alot of it makes little sense i have even looked into the exe to see what
i could find and it seems the models themselves have path nodes attached to them for a reason and also seems
that on first build of this engine the games makes the paths from a paths.dat file

ok removed all the BS am doing more tests with nodes now will reply later with some findings or breakthroughs

REspawn
• ##### REspawn

REgent

• Members
• Joined: 06 Jul 2002
•

### #14 Posted 17 May 2003 - 11:24 PM

moved this to the top of the page so you dont have to search the replys looking for it.

-Dave

sleeper777
• ##### sleeper777

Mission Coder | Help Guru | Tech Ninja

• Members
• Joined: 28 Mar 2003
•

### #15 Posted 18 May 2003 - 12:42 AM

ok iunderstand what your saying somewhat

is there any truth to the maximum paths theory

and has anyone made the highway have true paths on it yet

mainly for cars as there is no place for peds on the intercity

REspawn
• ##### REspawn

REgent

• Members
• Joined: 06 Jul 2002
•

### #16 Posted 18 May 2003 - 11:21 AM

 Quote is there any truth to the maximum paths theory

Dont know about that.. probably not though.

 Quote has anyone made the highway have true paths on it yet

Theres a release topic in the mod showroom under maps for this. I havent tried it myself but thats what it says it does.
-----------------------------------
Thanks to uzer_erros for pinning this.
-Dave

sleeper777
• ##### sleeper777

Mission Coder | Help Guru | Tech Ninja

• Members
• Joined: 28 Mar 2003
•

### #17 Posted 18 May 2003 - 09:40 PM

 Quote Theres a release topic in the mod showroom under maps for this. I havent tried it myself but thats what it says it does.

i read that post and he has not released anything yet.... just some screenies and a bunch of talk

sleeper777
• ##### sleeper777

Mission Coder | Help Guru | Tech Ninja

• Members
• Joined: 28 Mar 2003
•

### #18 Posted 20 May 2003 - 11:29 AM

ok i have one question where do the x,y, and z coordinates come from thesize of the dff or distance from center of object not understanding this one piece of info i am not familiar with the dff format at all except for importing them into game.. please if i could understand this i might get something new working...

BhaaL
• ##### BhaaL

GTAreactor.de

• Members
• Joined: 10 Jun 2002
•

### #19 Posted 01 August 2003 - 04:21 PM

Hm...

Plz tell me, where your path-explanations for VC are now, I'd need them.

PineCreek-Skidz
• ##### PineCreek-Skidz

Retired GTA Modder

• Members
• Joined: 10 Jul 2002
•

### #20 Posted 04 August 2003 - 02:19 AM

yes, plez repost them, I need them as well.

-Decay-
• ##### -Decay-

Fat Albert?

• Members
• Joined: 04 Aug 2003
•

### #21 Posted 08 August 2003 - 08:16 PM

An old topic, but needs to be kept alive. This is Decay.

<----

Im Redkillers older brother.

Anyhow, we both created the SSG, and it comes complete with ped and car paths.

We just erased the ones from Shoreside Vale ( I believe thats the name, {the 3rd island})

and when you place down a road, it came complete with paths.

Aw, hell, Redkiller knows more about it than me. I'll tell him to post here later.

Anyhow, there is no way yet that we can make or create ped/car paths.

Run Down That Guy said that it has to do with the main.scm

He never proved it though.

Ill tell more later.

BTW, Redkiller and I are done modding Vice city. Its not fun enough unlike GTAIII. We making a new version of the SSG including perfected everythings and accessible buildings and etc.

-Decay

Rat

• Members
• Joined: 29 May 2002
•

### #22 Posted 30 August 2003 - 03:04 AM

So, whats the word on paths in VC?????

I heard that no one has 'figured' them out yet.....

Opius
• ##### Opius

General

• Members
• Joined: 27 Jun 2002
•

### #23 Posted 30 August 2003 - 04:08 AM

 QUOTE (sleeper777 @ May 20 2003, 21:29) ok i have one question where do the x,y, and z coordinates come from thesize of the dff or distance from center of object not understanding this one piece of info i am not familiar with the dff format at all except for importing them into game.. please if i could understand this i might get something new working...

In Vice they are from the middle of the game world. Divide the co-ords by 16 to get the real ones.

SeBsZ
• ##### SeBsZ

Beep

• Members
• Joined: 30 Aug 2003
•

### #24 Posted 07 September 2003 - 07:32 AM

HI,

I have created my own land with roads leading to it in vice city. Of course I want peds and cars to driver over the roads.... Is it so that none of you have figured out yet how to do it? I "found" out that in moo mapper you can also edit the file path.ipl and there are lots of coordinates in it but I just don't know how to do it. Anyone has experience with doing this in moomapper?? Or else using notepad? Thanks for your help I really need this like a lot of people!

jasper9
• ##### jasper9

Rat

• Members
• Joined: 12 Jul 2003
•

### #25 Posted 07 September 2003 - 02:38 PM

i only know how to add peds but then they are also walking on the road
i tryed it with cars but i can't let it work

SeBsZ
• ##### SeBsZ

Beep

• Members
• Joined: 30 Aug 2003
•

### #26 Posted 08 September 2003 - 08:23 AM

BhaaL
• ##### BhaaL

GTAreactor.de

• Members
• Joined: 10 Jun 2002
•

### #27 Posted 24 September 2003 - 02:16 PM

Found out somethin about the Paths....

Lets take this block:
 CODE 1, -12, 5, 0, -13866.1, -10439.2, 161.083, 0, 1, 1, 0, 0, 12, 2, 0, -15031.6, -10576.1, 161.083, 0, 1, 1, 0, 0, 12, 3, 0, -14639.4, -10530.1, 161.083, 0, 1, 1, 0, 0, 12, 0, 0, -14250.4, -10484.4, 161.083, 0, 1, 1, 0, 0, 11, 1, 0, -15425.3, -10622.2, 161.083, 0, 1, 1, 0, 0, 11, -1, 0, -13488.1, -10394.5, 161.083, 0, 1, 1, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1

The first value should be clear
0...no Node
1...outer(?) Node, a Path starts/ends here
2...inner Node, just a connection in a Path
(I translated this from German, and since my english is not the best... )

Then the Second value:
It tells the Game to which Line of the Block it is connected.
for example:
 CODE 2, 5, 0, -13866.1, -10439.2, 161.083, 0, 1, 1, 0, 0, 1

is connected to the sixth line(i hope so, but makes more sense than line 4 is connected to line 0 ), this one:
 CODE 1, -1, 0, -13488.1, -10394.5, 161.083, 0, 1, 1, 0, 0, 1

(I hope I really got this right . Dont kill me if it's wrong)

Third value seems always to be 0...
Forth, Sixth and Seventh are the Coords...
And the Rest is unknown, but this should help you a bit

JernejL
• ##### JernejL

Big Homie

• Members
• Joined: 11 Mar 2002
•

### #28 Posted 07 October 2003 - 09:21 AM

this must be keept alive!
this is my work with paths:

 CODE Delfi's VC path work:node types:0 no Node1 Path starts here2 connection to next pathflags1 // peds2 // cars3 // boatsflags 210.5{node type} {connectto} {zero} {x} {y} {z} {wideness} {one} {one} {car} {flags} {flags 2}divided coords by 16 to get real onesgtavc paths.ipl has 1957 paths (not nodes! )1, -1 // start a path, (-1 is used for path name in gta3?)2,  5, 0, -13866.1, -10439.2, 161.083, 0, 1, 1, 0, 0, 1 // node 0 connected to node 5 2,  2, 0, -15031.6, -10576.1, 161.083, 0, 1, 1, 0, 0, 1 // node 1 connected to node 22,  3, 0, -14639.4, -10530.1, 161.083, 0, 1, 1, 0, 0, 1 // node 2 connected to node 32,  0, 0, -14250.4, -10484.4, 161.083, 0, 1, 1, 0, 0, 1 // node 3 is connected back to node 0 and this way makes the node circular1,  1, 0, -15425.3, -10622.2, 161.083, 0, 1, 1, 0, 0, 1 // node 4 a new side attached node connected to node 11, -1, 0, -13488.1, -10394.5, 161.083, 0, 1, 1, 0, 0, 1 // node 5 - just a coord to be connected to next path0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 // node 6  0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 // node 7 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 // node 8 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 // node 9 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 // node 10 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 // node 11// i wonder what would happen if you would delete empty nodes.. would the file get smaller? // (it is 1.11 mb) would the game crash? would this cause end of the world?// the connection from node 5 that is blank:1, -12, 2, 0, -13170.6, -10351.5, 163.74, 0, 1, 1, 0, 0, 1 // node 0 connected to node 2, doesn't start a node and connects it to next one??1, 0, 0, -13188.4, -10207.5, 158.171, 0, 2, 2, 0, 0, 1 // node 1 connected to node 01, -1, 0, -13152.8, -10512.9, 166.396, 0, 2, 2, 0, 0, 1 // node 2 ends1, 0, 0, -13488.1, -10394.5, 161.083, 0, 1, 1, 0, 0, 1 // connection to node 5 in previous path above - coords are same.                                                       // connects the node 3 to node 00, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1

anyone knows more about vc paths?
flags 2 are real annoying me..

BenMillard
• ##### BenMillard

aka Cerbera

• Members
• Joined: 22 Jun 2002
•

### #29 Posted 22 October 2003 - 07:30 PM

Wow, Delfi, some good research there. You'll have to get me on MSN sometime so we can try and work these out together.

BenMillard
• ##### BenMillard

aka Cerbera

• Members
• Joined: 22 Jun 2002
•

### #30 Posted 25 October 2003 - 06:48 PM

Well, after some prodding I've managed to create a new path which runs in the correct order:
 CODE 0, -1 1, -1, 0, 6414.67, 10479.2, 162.943, 2, 1, 1, 1, 0, 1 2, 0, 0,  6768.25, 10332.50, 164.50, 2, 1, 1, 1, 0, 1 2, 1, 0,  7121.50, 10283.75, 163.00, 2, 1, 1, 1, 0, 1 2, 2, 0,  7151.50, 10125.50, 165.00, 2, 1, 1, 1, 0, 1 2, 3, 0,  7137.50, 10015.50, 166.25, 0, 0, 0, 0, 1 2, 4, 0,  7285.75, 10125.75, 165.25, 2, 1, 1, 1, 0, 1 2, 2, 0,  7285.75, 10015.0,  166.00, 2, 1, 1, 1, 0, 1 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
That sets folk to walk down El Swanko Casa's driveway, wiggle past the garage and turn round in a square. God bless graph paper.
So far I've had no luck getting them to link up to the existing path outside the driveway:
 CODE 0, -1 2, -1, 0, 7084.79, 10424.2, 162.979, 4, 1, 1, 1, 0, 1 2, 0, 0, 6887.54, 10449.5, 160.502, 4, 1, 1, 1, 0, 1 2, 1, 0, 6414.67, 10479.2, 162.943, 3.5, 1, 1, 1, 0, 1 2, 2, 0, 6198.02, 10494.6, 162.169, 3.5, 1, 1, 1, 0, 1 2, 5, 0, 6260.6, 9430.58, 168.627, 4, 1, 1, 1, 0, 1 2, 3, 0, 6241.03, 9819.26, 169.634, 4, 1, 1, 1, 0, 1 1, 0, 0, 7247.46, 10391.6, 160.76, 4, 1, 1, 1, 0, 1 1, 2, 0, 6426.11, 10655.1, 161.517, 2, 1, 1, 1, 0, 1 1, 3, 0, 6038.22, 10515.3, 159.743, 2, 1, 1, 1, 0, 1 1, 3, 0, 6182.8, 10680.2, 157.825, 2, 1, 1, 1, 0, 1 1, 1, 0, 6900.49, 10618.5, 160.74, 2, 1, 1, 1, 0, 1 1, 4, 0, 6264.26, 9299.52, 169.529, 4, 1, 1, 1, 0, 1
That's the un-modified code for those paths. Here's a quick image showing the first few nodes:

I made this by observing where the peds were walking closely and used steve-M's PlayerPos to record a value. I then used Notepad's "Find" function to locate co-ords which matched the first three significant figures of the Y co-ord, as the route heads pretty much straight East outside Casa.
Pasted all the lines which matched into a new text document and picked out the one which matched the X closest, then moved it by 50 points...and it worked!
So I copied that route, basically, then re-positioned the nodes, re-ordered the order they were indexed in, removed the nodes I didn't need and added the ones I did.
All the widths are set at "2" just because it's a easier to observe the path working. I'm not at all sure how to link it into an existing path, Delfi mentioned that I need to have one of my nodes in the same position as an existing node, so I'll try that.

What does node 0 do with this syntax:
 CODE 1, -1, 0, x, y, z,
Is that a node which I should place on an existing R* one or what?

I figure I'd post here rather than continue tinkering because I've got a lot of car setups to be doing.

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users