Transport Fever

Transport Fever

72 ratings
On-board Camera Tool
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
0.762 MB
Mar 16, 2018 @ 11:50am
1 Change Note ( view )

Subscribe to download
On-board Camera Tool

Description
Adds rail vehicles with different a on-board camera view from the game's standard.

8 invisible vehicles that when positioned at the start of the train change the on-board/Cockpit camera view. It is intended as a tool for video makers, but others might also enjoy it.

C1L - On the left, looking foward, far back.
C1R - As C1L, but on the right. (Shown top left in the first screenshot.)

C2L - On the left, looking foward, close up.
C2R - As C2L, but on the right. (Shown top right in the first screenshot.)

C3L - On the left, looking backwards, far back.
C3R - As C3L, but on the right. (Shown bottom left in the first screenshot.)

C4L - On the left, looking side-on, far back.
C4R - As C4L, but on the right. (Shown bottom right in the first screenshot.)

It only works if the camera vehicle is the first vehicle in the train.
Only one camera vehicle can be used at a time. To change the view the vehicle must be swapped in the depot or with auto replace (at a cost).

The camera vehicles have no cost and won't add significant weight or length to the train.

The camera views will intersect with objects and give stange views in some circumstances.

The positions of the cameras are always the same distance from the start of the train, so for example, one will be next to the cab of a long tender engine, but next to the back of a short tank engine.

The method used may be exploiting unintended behaivour of the game, so may not work if this is changed in the future.

Some examples of its use can be seen in this video : https://www.youtube.com/watch?v=aDnNvnAG13k&t=74
< >
44 Comments
JK  [author] Oct 27, 2018 @ 10:55am 
@Aiden J - I'm not quite sure what you're asking there. To use this mod you have put the camera loco at the front of you train and only then do you get the view with Enter Cockpit (camera icon) button on the train.
Aiden J Oct 26, 2018 @ 8:08am 
when to you get it it have it enabled but don't have it
Big Dave Jul 22, 2018 @ 3:34am 
Thank you very much for this! I have a lovely mod of a Australian NSW Red Rattler which is fantastic in every detail but one, the modder who made it accidently stuffed up the cab camera view and apparently very hard to fix. I was devastated that I couldnt ride up front but this mod has not only made that possible but also made it better!
tfziehmann Mar 30, 2018 @ 2:06am 
@JK: Thank you, I'm looking forward to that :) And now I'll test your new engine!

@Marc: Hopefully, they do something about that. I see, that they care, bringing this game forward, but they don't put so much emphasis on the little details like the lights or the announced feature of "trains can drive backwards, if they have to ability to drive in both directions".
JK  [author] Mar 30, 2018 @ 1:44am 
For anyone interested in the (unenclosed) in-cab view for their engines, I've done one on my latest, as an example: http://steamcommunity.com/sharedfiles/filedetails/?id=1345751763
JK  [author] Mar 30, 2018 @ 1:44am 
@tfziehmann - Interesting. Thanks, I'll have a proper look at some-point.
tfziehmann Mar 30, 2018 @ 1:37am 
1/4:

@JK: I experimented a lot this morning and made some new camera perspectives.
Would you mind adding them to your mod?

--- PASSENGER VIEW: LOOKING TO THE SIDE ---

boundingInfo = {
bbMax = { 0, 0, 0, },
bbMin = { 0, 0, 0, },

Left:
transf.rotZYXTransl(transf.degToRad(90, 0.0, 0.0), vec3.new(0, 3, 0.0))

Right:
transf.rotZYXTransl(transf.degToRad(-90, 0.0, 0.0), vec3.new(0, -3, 0.0))


--- FRONT OF LOCOMOTIVE, 90 DEGREES, NEAR ---

boundingInfo = {
bbMax = { 0, 0, 0, },
bbMin = { 0, 0, 0, },

Left:
transf.rotZYXTransl(transf.degToRad(-90, 0.0, 0.0), vec3.new(0, 3, -0.5))

Right:
transf.rotZYXTransl(transf.degToRad(90, 0.0, 0.0), vec3.new(0, -3, -0.5))



--- STANDARD VIEW, BUT 50 DEGREES TO SIDE ---

boundingInfo = {
bbMax = { 0, 0, 0, },
bbMin = { 0, 0, 0, },

Left:
transf.rotZYXTransl(transf.degToRad(50, 0.0, 0.0), vec3.new(0, 0, 0.0))

Right:
transf.rotZYXTransl(transf.degToRad(-50, 0.0, 0.0), vec3.new(0, -1, 0.0))
tfziehmann Mar 30, 2018 @ 1:37am 
2/4:

--- ROOF CAMERA ---

boundingInfo = {
bbMax = { -10, 0, 0, },
bbMin = { 0, 0, 0, },
},

transf.rotZYXTransl(transf.degToRad(0, 0.0, 0.0), vec3.new(0, 0, 2.0))



--- TRAIN FRONT UPPER HALF AND ROOF TO THE BACK ---

boundingInfo = {
bbMax = { 0, 0, 0, },
bbMin = { 0, 0, 0, },
},

transf.rotZYXTransl(transf.degToRad(180, 0.0, 0.0), vec3.new(0, 0, 1.0))


--- TRAIN FRONT, SLIGHTY TO THE SIDE ---

boundingInfo = {
bbMax = { -5, 0, 0, },
bbMin = { 0, 0, 0, },
},

Left:
transf.rotZYXTransl(transf.degToRad(180, 0.0, 0.0), vec3.new(0, 2, -0.8))

Right:
transf.rotZYXTransl(transf.degToRad(180, 0.0, 0.0), vec3.new(0, -2, -0.8))


--- ON THE SIDE OF THE TRAIN, LOOKING BACKWARDS ---

boundingInfo = {
bbMax = { 8, 0, 0, },
bbMin = { 0, 0, 0, },
},

Left:
transf.rotZYXTransl(transf.degToRad(180, 0.0, 0.0), vec3.new(0, 4, -0.8))

Right:
transf.rotZYXTransl(transf.degToRad(180, 0.0, 0.0), vec3.new(0, -4, -0.8))
tfziehmann Mar 30, 2018 @ 1:36am 
3/4:

--- LOOKING FROM THE TOP RIGHT BEFORE THE LOCOMOTIVE ---

boundingInfo = {
bbMax = { -10, 0, 0, },
bbMin = { 0, 0, 0, },
},


transf.rotZYXTransl(transf.degToRad(0, 40.0, 0.0), vec3.new(0, 0, 2.0))


--- ON THE SIDE OF THE TRAIN, LOOKING FORWARDS, PRETTY LOW ---

boundingInfo = {
bbMax = { -10, 0, 0, },
bbMin = { 0, 0, 0, },
},

Left:
transf.rotZYXTransl(transf.degToRad(0, 0.0, 0.0), vec3.new(0, 4, -2.0))

Right:
transf.rotZYXTransl(transf.degToRad(0, 0.0, 0.0), vec3.new(0, -4, -2.0))
tfziehmann Mar 30, 2018 @ 1:36am 
4/4:

--- EXPERIMENTAL: INSIDE PASSENGER VIEW (only works on trains with passenger seats in the first vehicle and has many clipping issues) ---

Forwards:
boundingInfo = {
bbMax = { 5, 0.0, 0, },
bbMin = { 0, 0.0, 0, },
},

transf.rotZYXTransl(transf.degToRad(0, 0.0, 0.0), vec3.new(0, 0, -1.0))

Backwards:
boundingInfo = {
bbMax = { 10, 0, 0, },
bbMin = { 0, 0, 0, },

transf.rotZYXTransl(transf.degToRad(180, 0.0, 0.0), vec3.new(0, 0, -1.0))


I tested all of them with this wagon in the front:
http://steamcommunity.com/sharedfiles/filedetails/?id=810193231