Railway line
#6

Quote:
Originally Posted by NaS
Посмотреть сообщение
Of course it is possible. If it's an object that you can use as train (not an actual train vehicle) you can move it wherever you want.
The coords of the original train lines are somewhere in the data/maps directory. If you want to build your own railroad track you can make a path for it.
I did some research and was able to detect the use of the files of rail in GTA

Grand Theft Auto/data/Paths

From what I saw: the first line serves to indicate the number of cordenades
and the last line is totally empty

tracks.dat: The default path around San Andreas, containing 926 rows of coordinates XYZ & 0 at the end (I do not know what that 0 is for)
tracks2.dat: Route between the San Fierro station and the ocean port
tracks3.dat: it's the San Fierro cable car
tracks4.dat: It is only for missions

I imagine it is possible to make an object follow the course using the original data of "tracks.dat"

I think of creating a three-dimensional Array with the coordinates X, Y and Z (tracks.dat)

And make the object move at each point to point. Is it possible?
Reply


Messages In This Thread
Railway: Track/Line/Way - by DarkBr - 16.11.2018, 20:35
Re: Railway line - by Kasis - 16.11.2018, 21:14
Re: Railway line - by DarkBr - 16.11.2018, 22:00
Re: Railway line - by NaS - 17.11.2018, 01:38
Re: Railway line - by iAmir - 17.11.2018, 05:45
Re: Railway line - by DarkBr - 17.11.2018, 15:37
Re: Railway line - by NaS - 17.11.2018, 16:26
Re: Railway line - by DarkBr - 17.11.2018, 16:57
Re: Railway line - by Croheart - 18.11.2018, 22:48
Re: Railway line - by NaS - 19.11.2018, 16:14
Re: Railway line - by DarkBr - 19.11.2018, 16:22

Forum Jump:


Users browsing this thread: 1 Guest(s)