SA-MP Forums Archive
Can you map out train tracks and put a train on them?. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Can you map out train tracks and put a train on them?. (/showthread.php?tid=102969)



Can you map out train tracks and put a train on them?. - [mad]MLK - 18.10.2009

I'm just curious can you map out train tracks and the train will drive on them, Or are the tracks hard coded into GTA itself?, Thanks.


Re: Can you map out train tracks and put a train on them?. - SloProKiller - 18.10.2009

No.


Re: Can you map out train tracks and put a train on them?. - Dresden - 18.10.2009

With some objects and mathematics you could do it. Otherwise, no.


Re: Can you map out train tracks and put a train on them?. - Sergei - 18.10.2009

I was always wondering, if you record a NPC driving around the city (not tracks) and you put it in train/tram later, what will have priority, tracks or NPC record? I mean will it follow it's route where you recorded it while being in train/track or it won't be able to "unstuck" the vehicle and it will just drive on the tracks.


Re: Can you map out train tracks and put a train on them?. - [mad]MLK - 18.10.2009

But when you spawn a train, Normally it teleports you to the nearest train tracks and puts you on them?.


Re: Can you map out train tracks and put a train on them?. - boelie - 18.10.2009

Quote:

I was always wondering, if you record a NPC driving around the city (not tracks) and you put it in train/tram later, what will have priority, tracks or NPC record? I mean will it follow it's route where you recorded it while being in train/track or it won't be able to "unstuck" the vehicle and it will just drive on the tracks.

I tried that..the tram or train drives on the road very buggy and you cant surf on it


Re: Can you map out train tracks and put a train on them?. - gijsmin - 18.10.2009

You can't it just ride in the created objects
it keeps on the GTA made track


Re: Can you map out train tracks and put a train on them?. - Cedimedi - 18.10.2009

Quote:
Originally Posted by boelie
Quote:

I was always wondering, if you record a NPC driving around the city (not tracks) and you put it in train/tram later, what will have priority, tracks or NPC record? I mean will it follow it's route where you recorded it while being in train/track or it won't be able to "unstuck" the vehicle and it will just drive on the tracks.

I tried that..the tram or train drives on the road very buggy and you cant surf on it
Tried that too, the train will just teleport to the nearst trainroad and back, teleport and back, teleport and back... every 1 second. it will lag like shit lol