.
Results 1 to 13 of 13

Thread: Can't add custom traffic to region

  1. #1
    Join Date
    Nov 2006
    Location
    Bonn, Germany
    Posts
    24
     

    Question Can't add custom traffic to region

    Hey guys, for whatever reason is TRAINZ 2022's default Germany region not having German traffic at all, so I tried to create my own region with more fitting cars. Not a single car I tried works though. Never mind what I try, every car except the default ones cause an error, including some obviously made for traffic with SFX, lights etc. What am I doing wrong? I followed all tutorials I could find, nothing works.

  2. #2
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    32,915
     

    Default

    What error messages are you getting?
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    Trainz-PLUS: 117669

  3. #3
    Join Date
    Nov 2006
    Location
    Bonn, Germany
    Posts
    24
     

    Default

    Quote Originally Posted by JCitron View Post
    What error messages are you getting?
    https://online.ts2009.com/mediaWiki/...hp5/Help:VE179

    On every single car.

  4. #4
    Join Date
    Nov 2006
    Location
    Bonn, Germany
    Posts
    24
     

    Default

    Does anyone have an idea?

  5. #5
    Join Date
    Nov 2006
    Location
    Italy
    Posts
    676
     

    Default

    when I updated my region Italy no cars were running anymore as they were with a built too old. I upgrade the cars too and trafic restarted flowing.
    Roberto (sister)

  6. #6
    Join Date
    Feb 2020
    Location
    Coach Class
    Posts
    198
     

    Default

    Are you editing the cars themselves? You shouldn't have to just for making a region...

  7. #7
    Join Date
    Nov 2006
    Location
    Bonn, Germany
    Posts
    24
     

    Default

    Quote Originally Posted by soap__ View Post
    Are you editing the cars themselves? You shouldn't have to just for making a region...
    Nope, just adding the KUIDs into the config.

  8. #8
    Join Date
    Nov 2006
    Location
    Newcastle NSW Australia
    Posts
    7,542
     

    Default

    Show the entire config of your region so others can check it and see if they get the same errors, or not. Also (and this may seem like a silly question, because I don’t have TS22), have you made sure to enable traffic in your route? In earlier versions of trainz it is a setting in the environment panel.
    T:ANE SP4, TRS19 SP5
    Max 2012, PhotoShop 3
    RTX 3090Ti 24 GB, Ryzen 9 5950X 3.4 GHz
    32 GB ram, 2 TB SSD’s, Win 11

  9. #9
    Join Date
    Jul 2009
    Location
    United States of America, Oregon, Portland
    Posts
    753
     

    Default

    Another thing to check. A car object can be a normal object, or a track object, even they might look the same.

    The ones that work for region road traffic have to be track objects.

  10. #10
    Join Date
    Nov 2006
    Location
    Bonn, Germany
    Posts
    24
     

    Default

    Quote Originally Posted by Dinorius_Redundicus View Post
    Show the entire config of your region so others can check it and see if they get the same errors, or not.
    This was the latest test I did:

    kuid <kuid:273415:100450>
    kind "region"
    username "GTAce Region data for Germany 2020 - 2029"
    category-class "YX"
    category-era "2020s"
    category-region "DE"
    ontheright 1
    watercolor 75,128,255
    defaultjunction <kuid:61119:24120>
    default-texture <kuid:-25:1180>
    trainz-build 5.2
    longitude 147,26,1
    latitude 41,50,-1
    altitude 212
    car0 <kuid:610762:110008>

    thumbnails
    {
    default
    {
    width 240
    height 180
    image "thumbnail.jpg"
    }
    }
    description "Vehicle, road, water and geographic data for Germany in the 2020s"

    kuid-table
    {
    0 <kuid:61119:24120>
    1 <kuid:610762:110008>
    2 <kuid:-25:1180>
    }

    Also (and this may seem like a silly question, because I don’t have TS22), have you made sure to enable traffic in your route? In earlier versions of trainz it is a setting in the environment panel.
    Traffic works fine with the default regions.

  11. #11
    Join Date
    Nov 2006
    Location
    Newcastle NSW Australia
    Posts
    7,542
     

    Default

    GTAce,

    I tested your Region in TANE (since I don't have TS22), so I needed to change the trainz-build from 5.2 to 4.5.

    The only error was "default-texture tag is not valid". I expect this is only because default-textures were introduced in a later version of trainz, such as TS22. So, not really a fault in your region. I deleted that tag and the region became fault-free.

    It worked first time. The region's altitude setting of 212 metres triggered some snow because my test route has a snowline at 90 metres. Whatever your fault is, it must be specific to TS22 so I can’t really help further.

    Last edited by Dinorius_Redundicus; February 11th, 2023 at 12:17 PM.
    T:ANE SP4, TRS19 SP5
    Max 2012, PhotoShop 3
    RTX 3090Ti 24 GB, Ryzen 9 5950X 3.4 GHz
    32 GB ram, 2 TB SSD’s, Win 11

  12. #12
    Join Date
    Nov 2006
    Location
    Bonn, Germany
    Posts
    24
     

    Default

    At least I'm not doing anything wrong....

  13. #13
    Join Date
    Nov 2006
    Location
    Newcastle NSW Australia
    Posts
    7,542
     

    Default

    Perhaps the problem is not in the Region asset itself, but in the car it is trying to use. It obviously works in TANE, but TS22 might be more strict in its validation requirements. Could you run an error check on the Lothar Hake car and the mesh library it depends on, using TS22’s Content Manager? It might reveal something.
    Last edited by Dinorius_Redundicus; February 12th, 2023 at 12:06 PM.
    T:ANE SP4, TRS19 SP5
    Max 2012, PhotoShop 3
    RTX 3090Ti 24 GB, Ryzen 9 5950X 3.4 GHz
    32 GB ram, 2 TB SSD’s, Win 11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •