.

Trainz Developer Blog

Do the finer points of Trainz content creation sometimes seem elusive to you? Just where are the masters of these black arts getting their clues from? In a forest of features how do you separate the fruit from the faux pas and false information? Well, my friend you need flail around no more because the TrainzDev Blog is here to guide you.

If you're a content creator or an advanced user looking to get the most out of Trainz, you've come to the right place. Keep an eye on the TrainzDev Blog!

  1. Using the Trainz AI in sessions, Part 2

    This is part 2 of 'Using the Trainz AI in sessions'. Please refer to Part 1 for simpler techniques.

    Breaking up trips at appropriate locations using intermediate trackmarks


    Using '(drive / navigate) via trackmark' commands to set waypoints for the AI to help it find the path you intend it to use to get somewhere is a straightforward concept. But this is not the only effect that breaking up an AI's journey into sections will have. Remember that the AI command chooses a route ...
  2. Using the Trainz AI in sessions, Part 1

    The Trainz AI is a very powerful, very flexible system. However, this complexity and power can lead to perceived unreliability and recurring problems. Without a clear understanding of what it is doing and why, these problems can prove to be frustrating and difficult to solve.

    All AI orders that cause the AI to do some driving operate in much the same way. A route is calculated for the AI to follow, in the form of a list of actions (mostly of the form "take junction X in direction ...
  3. Using layers in session creation

    With creative use of layers, you can do a lot more within a session than has historically been possible with Trainz.

    The layers function in surveyor allows you to add any type of object to a session. Not just trains, triggers and trackmarks, but any kind of scenery, spline, or even entire new tracks.

    In SP1, we have added a setting for the 'bound layer' of each object. This allows you to take an object that the map author added to one of the map layers, and bind it to a ...
    Tags: layer, route, session Add / Edit Tags
    Categories
    Uncategorized