Unsolved Traffic vehicle group for specific map

Discussion in 'World Editor' started by Murokmakto, Jul 29, 2025.

  1. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    300
    Hello, how do I set a vehicle group as traffic default for a specific map?

    Some vanilla maps (like WCUSA) have a vehicle group within the levels/levelname folder. I did that aswell but how to tell the game to only use this vehicle group for the traffic?

    Thanks!
     
  2. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    300
  3. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    300
    bump, still no solution found
     
  4. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    300
    bump
    anyone got an idea?
     
  5. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    300
    Has anyone figured this out?
    The same problem applies to the speedlimits the traffic bots drive.

    I created a zone with the corresponding tags:

    "zones":[
    {
    "bot":{
    "active":false,
    "normal":[
    0,
    0,
    -1
    ],
    "pos":[
    56965.576171875,
    7485.5014648438,
    78.832710266113
    ]
    },
    "color":[
    1,
    1,
    1
    ],
    "customFields":{
    "names":[
    "traffictype"
    ],
    "tags":[
    "africa"
    ],
    "types":{
    "traffictype":"string"
    },
    "values":{
    "traffictype":"africa"
    }
    },
    "name":"trafficzone",
    "oldId":3414,
    "top":{
    "active":false,
    "normal":[
    0,
    0,
    1
    ],
    "pos":[
    56965.576171875,
    7485.5014648438,
    91.84489440918
    ]
    },
    "vertices":[
    [
    57181.228515625,
    8058.0961914063,
    84.073699951172
    ],
    [
    56481.21875,
    8371.2998046875,
    84.396957397461
    ],
    [
    56496.9375,
    6790.2983398438,
    83.832710266113
    ],
    [
    57449.93359375,
    6599.703125,
    86.84489440918
    ]
    ]

    I created this vehicle group and put it in the root folder of the map:

    {
    "data":[
    {
    "config":"afr_traffic_miramar_ute",
    "model":"miramar",
    "paintName":"Alpine White",
    "paintName2":"Cream White",
    "paintName3":"Champagne"
    },
    {
    "config":"afr_traffic_pessima_1",
    "model":"pessima",
    "paintName":"Bermuda Blue",
    "paintName2":"White",
    "paintName3":"Steel Gray"
    },
    {
    "config":"DX_M",
    "model":"midsize",
    "paintName":"White",
    "paintName2":"Pearl White"
    },
    {
    "config":"afr_traffic_ETK_800",
    "model":"etk800"
    },
    {
    "config":"afr_traffic_covet",
    "model":"covet",
    "paintName":"White"
    },
    {
    "config":"afr_traffic_ETK_I",
    "model":"etki"
    },
    {
    "config":"d15_fleet_M_facelift",
    "model":"pickup",
    "paintName":"White"
    },
    {
    "config":"h15_vanster",
    "model":"van",
    "paintName":"White"
    },
    {
    "config":"4wd_facelift",
    "model":"roamer"
    },
    {
    "config":"d15_farmhand_M",
    "model":"pickup",
    "paintName":"White"
    }
    ],
    "name":"africa",
    "tags":["africa", "traffic", "generic"],
    "type":"custom"
    }

    The traffic in WCUSA is setup identical. I can“t figure out why it works in WCUSA but does not in my map. The same logic applies to the speedlimits within a zone. It does not work either.

    Has anyone set this up correctly before and has an idea why it does not work in this case?
     
  6. SupraTech

    SupraTech
    Expand Collapse

    Joined:
    Jan 6, 2025
    Messages:
    718
    Got no idea sadly.
     
    • Agree Agree x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice