I just discovered that road arrows are also on top of the railroads. Look:
Trains use them to drive?
It may sound really stupid, but i didn't know that.
I thought that GTA2 just looks for RAILROAD tile_id, which is 572 and that's all.
Pretty weird for me...
EDIT1:
What if i remove the arrows completely or at some position, then the game will crash if train arrives to that point? Cars just stop and will start moving backwards but trains?
EDIT2: i wonder how my train in my test map even worked. When i just discovered GTA2, then the dma map editor and tried to create my own map with trains, it crashed many times before i saw a train. But i don't remember how i finally did it. Probably just copied some parts here and there.
It was probably in 2005 or something like that.
I didn't know anything about road arrows at this time.
Green road arrows are used for railroads also? Since when?
Green road arrows are used for railroads also? Since when?
Last edited by B-$hep on 24 Nov 2011, 00:53, edited 4 times in total.
Always wear safety glasses while programming.
Re: Green road arrows are used for railroads also? Since whe
Yup, always been like that!
Not only that, they have to be on field type tiles otherwise the game crashes.
Not only that, they have to be on field type tiles otherwise the game crashes.
- Old School GTA2 Mapper and Scripter.
- Creator of the original GTA2 Scripting tutorials hosted by Ben Millard.
Re: Green road arrows are used for railroads also? Since whe
this becomes trickz when zou have a train crossing a road. but even that can be done quite well if zou look at tinz face off armz
yur sa'nok ngeyä
- Gustavob
- Immortal
- Posts: 407
- Joined: 18 May 2009, 21:40
- GH nick: Gustavob
|Gustavob| - Location: Nowhere.
- Contact:
Re: Green road arrows are used for railroads also? Since whe
not sure if intentional or just new kezyboardelypter wrote:this becomes trickz when zou have a train crossing a road. but even that can be done quite well if zou look at tinz face off armz
OT: been like that since always, and yes, it crashes when it gets to that point of the track. And as said, it must as well be set to field else it will either not work or crash, don't remember (probably the first, which is surprising considering it's GTA2).
You just lost the game.
Re: Green road arrows are used for railroads also? Since whe
just stupid windoyze randomly switching kb layout - gone after reboot.Gustavob wrote:not sure if intentional or just new kezyboardelypter wrote:this becomes trickz when zou have a train crossing a road. but even that can be done quite well if zou look at tinz face off armz
yur sa'nok ngeyä
-
- Immortal
- Posts: 889
- Joined: 16 May 2009, 06:14
- GH nick: BenMillard
- Location: London, UK
- Contact:
Re: Green road arrows are used for railroads also? Since whe
Avoid Shift+Alt or disable that in Control Panel. (Exact location for the settings varies so much now.)
GTA5 Race, DM & Capture | GTA2 Levels & Coding | GTA2 YouTube Videos
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)
Gran Turismo 6 custom track club(Sign in with PSN details, then follow link again.)