Jump to content

vehicle nodes


5150

Recommended Posts

Posted

anyone know how vehicle nodes work? cant seem to find tutorials anywhere and im not sure of any other efficient way to create streets and street names etc. an example of what im talking about is placed below
 

Spoiler



vehicleNodes={}
local f

f=function()
vehicleNodes[0]={
[0]={id=0,x=-2427.625,y=-2474.75,z=35.75,neighbours={[106]=45,[6]=38}},
[1]={id=1,x=-2350.25,y=-2575.625,z=44.75,neighbours={[37]=42,[2]=19}},
[2]={id=2,x=-2365.875,y=-2564.625,z=43.875,neighbours={[1]=19,[3]=18}},
[3]={id=3,x=-2379.75,y=-2552.625,z=42.875,neighbours={[2]=18,[4]=18}},
[4]={id=4,x=-2391.875,y=-2539,z=41.875,neighbours={[3]=18,[5]=17}},
[5]={id=5,x=-2402,y=-2524.75,z=40.75,neighbours={[4]=17,[6]=18}},
[6]={id=6,x=-2411.25,y=-2508.875,z=39.25,neighbours={[0]=38,[5]=18}},
[7]={id=7,x=-2513.75,y=-2666.75,z=40,neighbours={[18]=23,[16]=12}},
[8]={id=8,x=-2565.375,y=-2520.125,z=21.5,neighbours={[46]=73,[9]=26}},
[9]={id=9,x=-2558.25,y=-2545.125,z=25.25,neighbours={[8]=26,[10]=21}},
[10]={id=10,x=-2555.125,y=-2566.5,z=27.5,neighbours={[9]=21,[11]=20}},
[11]={id=11,x=-2551.625,y=-2586.25,z=29.125,neighbours={[10]=20,[12]=18}},
[12]={id=12,x=-2547.375,y=-2604.375,z=31,neighbours={[11]=18,[13]=17}},
[13]={id=13,x=-2542.5,y=-2620.75,z=33,neighbours={[12]=17,[14]=15}},
[14]={id=14,x=-2536.75,y=-2635.125,z=34.875,neighbours={[13]=15,[15]=14}},
[15]={id=15,x=-2530.25,y=-2647.625,z=36.75,neighbours={[14]=14,[16]=13}},
[16]={id=16,x=-2522.5,y=-2658.25,z=38.875,neighbours={[7]=12,[15]=13}},
[17]={id=17,x=-2397.5,y=-2682.5,z=45.75,neighbours={[146]=34,[24]=12}},
[18]={id=18,x=-2492.5,y=-2677.125,z=42.25,neighbours={[7]=23,[19]=13}},


 

 

 

  • 1 month later...
Posted (edited)

oh jesus, that looks like the most amount of work lol, thanks man

Edited by 5150

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...