Weathering

From TrainzOnline
Jump to: navigation, search

Static Weathering

Almost all American Pro Train vehicles support weathering which means that you can alter the visual apperance of the train in game. This can be changed in the properties tab of the vehicle and works per vehicle. You can choose between three levels: clean, dirty and very dirty which is called 'Weathering Type 1' to 'Weathering Type 3'. This can be done for the vehicle and the trucks (bogey) individually. You can set the vehicle to 'Weathering Type 2' but the truck to 'Weathering Type 3' for example.

Dynamic Weathering

Dynamic weathering is a new feature wich is currently tested and rolled out to the Pro Train fleet within the next months. Its more flexible and allows trains to get dirty while you are driving or allows you to even to drive your train to a wash station. The will make sessions even more relastic. This feature is always activated on supported vehicles unless you disable it and hit the 'Static Weathering' radio button on the properties tab. If this is activated the vehicle will not change the weathering at all. There are currently two reasons why you want to enable this: 1) You do not want dirty trains. 2) You want full control and want to change it within your session.

While option 1 is quite obvious, option 2 is for advanced sessions. For example, you might want to take direct influence at various points in your session and use the session-based trigger in your session.

If you change nothing and let the feature working its like this: If your vehicle travels more then 30 miles it will change from 'Weathering Type 1' to 2. After 50 miles it will change to 'Type 3'. If you start with 'Type 2' you will only see the change after 50 miles. Its currently hard coded and can only be changed with the session-based trigger as explained below. The feature works per vehicle and is persistent while the session is running which means that the driven distance is available when you save and reload a session.

TODO:

- supported list


Static weathering.png

Change Weathering in-game

You can do many things out of your imagination with the weathering, like change it with weather or do special tasks like drive the trains into a train wash station. To get started you need one of the supported trains and the activation trigger from dlc. Look for <KUID:935657:2100252> 3DZ Change Weathering. Ones downloaded you just put the trigger where you want it and do the setup. You can set the weathering you want to apply and an offset per vehicle.

The offset is used to have delay when the weathering is being applied.

Example: Train Wash Station

We do a train wash station where a train drives in dirty and leaves clean. The train will drive into a building and leaves it later on so it must support tracks. I take 'SET NAME OF OBJECT HERE. Next we need the trigger and place it inside. Place a train now in front of the building. Go to properties and set weathering to Type 3 Now go to the trigger properties. Set Weathering to Type 1 and offset to OFFSET VALUE. Assuming the trains drives with 10 miles per hour it takes AMOUNT OF SECONDS. to pass the trigger. The offset is used to make it more realistic when one after another vehicle is cleaned. Done. Now drive your train and clean it.

Supported Vehicles

Kuid Name
various all Amtrak P42DC (Pro Train) locomotives
various all Superliner coaches (Pro Train)
various all Amfleet coaches (Pro Train)
various all Viewliner coaches (Pro Train)
various all Horizon coaches (Pro Train)

Add support your own Vehicles

If you are a content creator and want to use the trigger on your own. You simply have add the following method to your script file and add a Handler listening for this message:

TO BE DONE - CODE EXAMPLE

Personal tools