Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

REspawn

Paths Documentation for SA, VC and GTA3

Recommended Posts

REspawn

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.

--------------------------------------------------------

:devil::devil::devil:

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

 

:sarcasm::sarcasm: Start original post :sarcasm::sarcasm:

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.

 

:rah:The path info i have put together.

 

 

Previous topics......

http://www.gtaforums.com/ib/ikonboard.cgi?act=ST;f=48;t=46353

http://www.gtaforums.com/ib....60;st=0

http://www.gtaforums.com/ib/ikonboard.cgi?act=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  :r*:

 

-Dave

 

 

Share this post


Link to post
Share on other sites
.:R2D2:.

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

trendwhore.gif

 

-r2d2 :)

Share this post


Link to post
Share on other sites
Opius

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.

Share this post


Link to post
Share on other sites
Hollower
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.

Share this post


Link to post
Share on other sites
jcab42

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.ide

 

car, 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, 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

 

car, 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, 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.

 

aah.jpg

Share this post


Link to post
Share on other sites
T2k2
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.

Share this post


Link to post
Share on other sites
REspawn
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

Share this post


Link to post
Share on other sites
ghost_master2000

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.

Share this post


Link to post
Share on other sites
T2k2
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.

Share this post


Link to post
Share on other sites
Shrew

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.

Share this post


Link to post
Share on other sites
T2k2

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.

Share this post


Link to post
Share on other sites
kman2003ko
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.ide

 

car, 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, 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

 

car, 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, 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.

 

aah.jpg

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,

 

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

 

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

Share this post


Link to post
Share on other sites
sleeper777

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

 

 

Share this post


Link to post
Share on other sites
REspawn

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

 

 -Dave

 

 

Share this post


Link to post
Share on other sites
sleeper777

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 :)

Share this post


Link to post
Share on other sites
REspawn
is there any truth to the maximum paths theory

Dont know about that.. probably not though.

 

 

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. :rah:

 -Dave

Share this post


Link to post
Share on other sites
sleeper777
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

Share this post


Link to post
Share on other sites
sleeper777

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...  :D

Share this post


Link to post
Share on other sites
BhaaL

Hm...

Your Link doesn't work, REspawn...

Error 404, /paths/paths.html not found. blush.gif

 

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

Share this post


Link to post
Share on other sites
PineCreek-Skidz

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

Share this post


Link to post
Share on other sites
-Decay-

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

 

Share this post


Link to post
Share on other sites
toadster123

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

 

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

 

Share this post


Link to post
Share on other sites
Opius
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...  biggrin.gif

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

Share this post


Link to post
Share on other sites
SeBsZ

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!

rah.gifrahkstar.gif

Share this post


Link to post
Share on other sites
jasper9

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

Share this post


Link to post
Share on other sites
SeBsZ

tell me how to add peds then please!

Share this post


Link to post
Share on other sites
BhaaL

Found out somethin about the Paths....

 

Lets take this block:

 

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... blush.gif )

 

Then the Second value:

It tells the Game to which Line of the Block it is connected.

for example:

 

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 blink.gif ), this one:

 

1, -1, 0, -13488.1, -10394.5, 161.083, 0, 1, 1, 0, 0, 1

 

(I hope I really got this right cry.gif . 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 wink.gif

Share this post


Link to post
Share on other sites
JernejL

this must be keept alive!

this is my work with paths:

 

 

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..

 

Share this post


Link to post
Share on other sites
BenMillard

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

Share this post


Link to post
Share on other sites
BenMillard

Well, after some prodding I've managed to create a new path which runs in the correct order:

0, -11, -1, 0, 6414.67, 10479.2, 162.943, 2, 1, 1, 1, 0, 12, 0, 0,  6768.25, 10332.50, 164.50, 2, 1, 1, 1, 0, 12, 1, 0,  7121.50, 10283.75, 163.00, 2, 1, 1, 1, 0, 12, 2, 0,  7151.50, 10125.50, 165.00, 2, 1, 1, 1, 0, 12, 3, 0,  7137.50, 10015.50, 166.25, 0, 0, 0, 0, 12, 4, 0,  7285.75, 10125.75, 165.25, 2, 1, 1, 1, 0, 12, 2, 0,  7285.75, 10015.0,  166.00, 2, 1, 1, 1, 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

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. smile.gif

So far I've had no luck getting them to link up to the existing path outside the driveway:

0, -12, -1, 0, 7084.79, 10424.2, 162.979, 4, 1, 1, 1, 0, 12, 0, 0, 6887.54, 10449.5, 160.502, 4, 1, 1, 1, 0, 12, 1, 0, 6414.67, 10479.2, 162.943, 3.5, 1, 1, 1, 0, 12, 2, 0, 6198.02, 10494.6, 162.169, 3.5, 1, 1, 1, 0, 12, 5, 0, 6260.6, 9430.58, 168.627, 4, 1, 1, 1, 0, 12, 3, 0, 6241.03, 9819.26, 169.634, 4, 1, 1, 1, 0, 11, 0, 0, 7247.46, 10391.6, 160.76, 4, 1, 1, 1, 0, 11, 2, 0, 6426.11, 10655.1, 161.517, 2, 1, 1, 1, 0, 11, 3, 0, 6038.22, 10515.3, 159.743, 2, 1, 1, 1, 0, 11, 3, 0, 6182.8, 10680.2, 157.825, 2, 1, 1, 1, 0, 11, 1, 0, 6900.49, 10618.5, 160.74, 2, 1, 1, 1, 0, 11, 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:

user posted image

 

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:

1, -1, 0, x, y, z,

Is that a node which I should place on an existing R* one or what? dontgetit.gif

 

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.