How Can I get the Session Camera to FOCUS on player train?

crisger

RR Mod Maker
I am having trouble getting the opening view of a session focus on the player driven train. It keeps going back to the default place holder that the route maker used ..it is very frustrating. I need for the player to start with the correct train and that is what the session has to open seeing.
Yes i can find the correct train on the list of trains in the initial start up menu but that is confusing to a new player.

any tips?

i had a suggestion of a focus camera but cannot find it in the DSL thanks

I think it may need the Cinematic Camera Set Camera Rule to set this up...but not sure

Chris
 
Last edited:
I am having trouble getting the opening view of a session focus on the player driven train.

That is how a session normally starts. The camera is focused on the loco of the first train in the Driver Setup list UNLESS you have added a Focus Camera Rule to the Session Rules that points the camera somewhere else.

It keeps going back to the default place holder that the route maker used

Please clarify. What exactly do you mean by "the default place holder that the route marker used"? What is the "route marker"?

i had a suggestion of a focus camera but cannot find it in the DSL thanks

Focus Camera rule by mizi <kuid2:122381:10014:1>
 
hi that was a typo

the route MAKER.

he put the first train down aleady a small NG logging train and the route opens to it automatically.

maybe i should try deleting that consist and placing my player train and save that. not sure if it will work...as when i tried to delete that consist marked "0" i was no longer able to SAVE the session, had to save a new route and the session and it is not my route i am only helping make sessions for it.

not sure if that is safe.

so my problem is how can i change my player train to be consist "0" instead of Consist "1".

also i cant figure out how to make Hornz work. I tried to enable it in the list of commands allowed for Drivers and checked the check box but it is not available for designation by a Check Trigger Rule...Hornz cant be added to the Rules list. I tried adding the Sound Horn Object to the actual track ..it shows up as a trigger, but nothing happens when the train passes over it. do i have to somehow activate that object to make the Hornz sound?

Your posted picture of the rules to make pop up windows open works perfectly!

thanks for that
 
Last edited:
Unfortunately one of the problems with the order of drivers/trains in the Driver Setup rule is that they cannot be reordered, so you cannot swap Consist "0" and Consist "1" without deleting them all and re-entering them in the correct or desired order - which can be a real pain. Fixing this has been placed on the "requested improvement list" by many users.

In the meantime, download and install the Focus Camera Rule and add it into your session rule list. It does not matter where it is placed in the list as long as it is a parent rule and is hard up against the left margin. Set this rule to point the camera at the loco of the desired consist in the Driver Setup list.

Information on how to use the rule is here.


  • Set the Focus camera to the Vehicle option, select the name of the vehicle from the popup session list.
  • Check the Set View Mode and set it to the External View option and set other controls as desired.

A loco horn is activated by trackside objects and they only apply to locos under AI control. In a manually driven loco the human driver will be expected to sound the horn/whistle themselves (otherwise what do they pay the driver/engineer for?). Two suitable candidates are:

  • Visible Whistle sign alongside the track. There are several available on the DLS and built-in. I use <kuid2:68236:11025:1> W Whistle Board and its right hand version <kuid2:68236:11027:1> W Whistle Board RH
  • Invisible Horn Trackmark. I use <kuid2:66277:80001:2> Hornz which is built in.

In either case you simply place it on the track in Surveyor and forget it - no settings to configure. But again, like signals and speed signs, they only work for AI trains.
 
ah ha ok thanks re Hornz didnt kinow that sigh.

i figure out the error with the consist. and driver train.

the route maker left a train in the route layer that i what is causing that problem

i can try your solution if that does not fix it but at least i tracked down the cause. i was feeling really good because your clear and good instructions on how to add the view pop up rules really works well.

i need some sleep and then will try again.

If i set the player train on Automatic will the hornz command work? i placed them all along the route so it woudl be nice if it will.

to do an Automatice "ride along " train do i just put the Automatic rule on the rule list and connect it to the player engine?

thanks again a LOT

chris
 
The only way I know of is to place the train under AI control. Place a "Navigate To ...", "Drive To ..." or similar command in the Drivers command list in the Driver Setup Rule.
 
OK great that way my players can enjoy the route without having to do any work if they are totally new to Trainz...i know the veteran trainzers will have no problem and I have managed to figure out lots of things with your help..and others...can set up the MIN triggers for our interactive industries as we have all of the wagons and coaches prepared for loads and a full suit of loads prepared. Finally I think the Black Magic is permitting me to maybe succeed and maybe even have a little fun

I can use the navigate to rules for the AI trains in the background too.

thansk again for the help and i am sure glad we figure out what the error was that prevented me from placing new player trians. I guess if you leave a train consist in the actual route layer it stops all of that from functioning. step by step.

Chris
 
OK great that way my players can enjoy the route without having to do any work if they are totally new to Trainz.

But as I said, a train under manual (human user) control, both in Trainz and in the real world, is totally at the mercy of the driver when it comes to obeying signals, speed signs, whistle signs, etc. Certainly, to help eliminate serious violations of signals and speed signs in the real world, a great deal of automation has been built into train cabs. In Trainz there are session rules that can duplicate this automation.

Have a look at the Danger and Safety Rules that have been listed here. In particular, scroll down to the Signal Passed at Danger Check Rule and the Speed Check Rule.

I guess if you leave a train consist in the actual route layer it stops all of that from functioning.

Not true. Consists can be placed in any layers you want, route layers and session layers, and that will not stop anything from working. I suspect that something else may have been at fault there.

I always place my consists into session layers so that I can create different sessions with different consists for the same route.
 
I am having trouble getting the opening view of a session focus on the player driven train. It keeps going back to the default place holder that the route maker used ..it is very frustrating. I need for the player to start with the correct train and that is what the session has to open seeing.
Yes i can find the correct train on the list of trains in the initial start up menu but that is confusing to a new player.

any tips?

i had a suggestion of a focus camera but cannot find it in the DSL thanks

I think it may need the Cinematic Camera Set Camera Rule to set this up...but not sure

Chris

Chris, You are right. You need to add Cinematic Camera to your session. Simple to set up and attaches to signals, junctions, stations, etc. You can even play a wav file at the start.

Cheers,
Roy
 
thanks Roy turned out there was an error in the base route file. the route maker had left a train in the route layer and that was grabbing control of the focus for sessions i attempted to make.

thanks for the post. we do have cinematic cameras along the route and they are great

Chris
 
Back
Top