Difference between revisions of "Train.dat"
(Created page with "{{lowercase}} The '''train*.dat''' sets up a cinematic camera view when you ride the train in GTA III. Cinematic mode starts and widescreen switches on once the train...") |
(→Format: unknown params; not 100% sure) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | [[File:IIITracksMap.jpg|thumb|300px|Map showing the zones of entry denoted by white-bordered boxes]] | ||
The '''train*.dat''' sets up a cinematic camera view when you ride the [[train]] in [[GTA III]]. Cinematic mode starts and widescreen switches on once the train starts moving along the track and ends when it reaches a station. <code>train.dat</code> is used for the Portland El and <code>train2.dat</code> is used for the subway. Interestingly, these files are not required by the game and so can be deleted. This would remove all cinematic view and makes the camera stay with the same controls as when you first enter the train. | The '''train*.dat''' sets up a cinematic camera view when you ride the [[train]] in [[GTA III]]. Cinematic mode starts and widescreen switches on once the train starts moving along the track and ends when it reaches a station. <code>train.dat</code> is used for the Portland El and <code>train2.dat</code> is used for the subway. Interestingly, these files are not required by the game and so can be deleted. This would remove all cinematic view and makes the camera stay with the same controls as when you first enter the train. | ||
Line 5: | Line 6: | ||
== Format == | == Format == | ||
− | The general format is unlike any data files. All entries must end with a comma; a newline is optional. The very end of the file must end with a semicolon. The entire file can be treated like a single line. | + | The general format is unlike any data files. All entries must end with a comma; a newline is optional. The very end of the file must end with a semicolon. The entire file can be treated like a single line. Each entry sets up a camera node in the following format: |
{| class="wikitable" | {| class="wikitable" | ||
! style="width: 3em;"| {{Icon|3}} | ! style="width: 3em;"| {{Icon|3}} | ||
Line 19: | Line 20: | ||
| {{a|c}} | J,K,L || float[3] || Upper right zone of entry for the camera | | {{a|c}} | J,K,L || float[3] || Upper right zone of entry for the camera | ||
|- | |- | ||
− | | {{a|c}} | M || float || | + | | {{a|c}} | M || float || far clip plane ? |
|- | |- | ||
− | | {{a|c}} | N || float || | + | | {{a|c}} | N || float || near clip plane |
|} | |} | ||
+ | |||
+ | The game allows up to 800 camera nodes to be defined. | ||
{{3-navi}} | {{3-navi}} | ||
− | + | [[Category:Map Formats]] | |
− | [[Category: |
Latest revision as of 01:30, 13 June 2015
The train*.dat sets up a cinematic camera view when you ride the train in GTA III. Cinematic mode starts and widescreen switches on once the train starts moving along the track and ends when it reaches a station. train.dat
is used for the Portland El and train2.dat
is used for the subway. Interestingly, these files are not required by the game and so can be deleted. This would remove all cinematic view and makes the camera stay with the same controls as when you first enter the train.
Vice City also contains the same two files but they are leftover from GTA III. The files are never read by the game.
Format
The general format is unlike any data files. All entries must end with a comma; a newline is optional. The very end of the file must end with a semicolon. The entire file can be treated like a single line. Each entry sets up a camera node in the following format:
The game allows up to 800 camera nodes to be defined.