Need help with add commodity on wagon in config

Hi,
As written on title, I need to someone to help me to fix the config.sys I have for box wagon.
I merge some wagon assets on DLS and customize some parts, so it is look like more locally at my place.
Originally the wagon will load coal commodity only.

I want to expand box wagon so it can load ballast/gravel and sand. The difference between them is only surface image, not about animation.

I modify the config.sys as below :
Code:
mesh-table
{
...
  load
  {
    0
    {
      mesh                              "Coal/muatan-coal.im"
      anim                              "muatan_scene.kin"
      auto-create                       1
      use-parent-bounds                 1
    }
    1
    {
      mesh                              "Ballast/muatan-ballast.im"
      anim                              "muatan_scene.kin"
      auto-create                       1
      use-parent-bounds                 1
    }
    2
    {
      mesh                              "Sand/muatan-sand.im"
      anim                              "muatan_scene.kin"
      auto-create                       1
      use-parent-bounds                 1
    }
    
    effects
    {
      product-texture
      {
        kind                            "texture-replacement"
        texture                         "load_map.texture"
      }
    }

  }
}

queues
{
  load0
  {
    size                                52000
    initial-count                       0
    animated-mesh                       "load"
    product-kuid                        <kuid:44179:60013>
    
    allowed-categories
    {
      0                                 <kuid:-3:10040>
    }
    
    allowed-products
    {
      0                                 <kuid:44179:60013>
      1                                 <kuid:68213:60048>
      2                                 <kuid:439337:101663>
    }
  }
}

I got fault on the result :
VE54: The tag '0' is not permitted within a container of type 'load'.
VE54: The tag '1' is not permitted within a container of type 'load'.
VE54: The tag '2' is not permitted within a container of type 'load'.
VE60: Required tag 'mesh' was missing and has been set to default.
VE26: The tag 'mesh' in container 'load' is empty.
VE27: The tag 'mesh' in 'load' must have a mesh file extension.

I didn't find the tutorial how to fix it ...
 
grab one of mine as an example but basically you only need the one mesh.

load
{
mesh "load.im"
anim "load.kin"
auto-create 1
use-parent-bounds 1

effects
{
product-texture
{
kind "texture-replacement"
texture "load.texture"
}
}
}



queues
{
prod0
{
size 10160
initial-count 0
animated-mesh "load"
product-kuid <kuid:44179:60013>

allowed-products
{
0 <kuid:30671:925059003>
1 <kuid:30671:925171003>
2 <kuid:30671:9260300>
3 <kuid:30671:925171003>
4 <kuid:30671:9260600>
5 <kuid:30671:9252101>
6 <kuid2:30671:9250700:1>
7 <kuid2:30671:9252100:1>
8 <kuid2:30671:9250701:1>
9 <kuid2:30671:9260111:2>
10 <kuid2:30671:9260112:2>
11 <kuid2:30671:9251020:1>
12 <kuid2:30671:9260900:1>
13 <kuid2:30671:9283640:1>
14 <kuid2:30671:9260900:1>
15 <kuid2:30671:925174902:1>
16 <kuid2:30671:9110710:2>
17 <kuid2:30671:9260900:1>
18 <kuid2:30671:9100810:1>
19 <kuid2:30671:9260800:1>
20 <kuid2:30671:9283326:1>
21 <kuid2:30671:9110412:1>
22 <kuid2:124017:27011:1>
23 <kuid2:56063:800003:1>
24 <kuid2:480583:100093:1>
}

conflicts-with-queues
{
0 "prod1"
1 "prod2"
}
}


Cheerio John
 
grab one of mine as an example but basically you only need the one mesh.

load
{
mesh "load.im"
anim "load.kin"
auto-create 1
use-parent-bounds 1

effects
{
product-texture
{
kind "texture-replacement"
texture "load.texture"
}
}
}



queues
{
prod0
{
size 10160
initial-count 0
animated-mesh "load"
product-kuid <kuid:44179:60013>

allowed-products
{
0 <kuid:30671:925059003>
1 <kuid:30671:925171003>
2 <kuid:30671:9260300>
3 <kuid:30671:925171003>
4 <kuid:30671:9260600>
5 <kuid:30671:9252101>
6 <kuid2:30671:9250700:1>
7 <kuid2:30671:9252100:1>
8 <kuid2:30671:9250701:1>
9 <kuid2:30671:9260111:2>
10 <kuid2:30671:9260112:2>
11 <kuid2:30671:9251020:1>
12 <kuid2:30671:9260900:1>
13 <kuid2:30671:9283640:1>
14 <kuid2:30671:9260900:1>
15 <kuid2:30671:925174902:1>
16 <kuid2:30671:9110710:2>
17 <kuid2:30671:9260900:1>
18 <kuid2:30671:9100810:1>
19 <kuid2:30671:9260800:1>
20 <kuid2:30671:9283326:1>
21 <kuid2:30671:9110412:1>
22 <kuid2:124017:27011:1>
23 <kuid2:56063:800003:1>
24 <kuid2:480583:100093:1>
}

conflicts-with-queues
{
0 "prod1"
1 "prod2"
}
}


Cheerio John
Thanks, John for your advise....

But it seem to much product and too complex for me ... I am still learning how to create a config,sys
Why we need "conflicts-with-queues" container ?
 
Thanks, John for your advise....

But it seem to much product and too complex for me ... I am still learning how to create a config,sys
Why we need "conflicts-with-queues" container ?
It isn't required. Just use the layout and omit those products you don't need.

Cheerio John
 
Back
Top