Containers not loading

CobraLAD

Active member
This is my first attempt to create an industry, containers not loading. I am testing with 4 containers, which is visible next to the track. I am using a small square mesh with track. Detail will come later
Please have a look at my config file. What am I missing?


Code:
username                                "LJM CobraLAD"
kind                                    "industry"
trainz-build                            3.5
category-class                          "BIN"
height-range                            -100,100
description                             "CobraLAD"
author                                  "CobraLAD"
category-region                         "US"

mesh-table
{
  default
  {
    mesh                                "cobralad.im"
    auto-create                         1
    
    effects
    {
      arrow0
      {
        kind                            "attachment"
        att                             "a.track0a"
        default-mesh                    <kuid:-3:10092>
        surveyor-only                   1
      }
      
      arrow1
      {
        kind                            "attachment"
        att                             "a.track0c"
        default-mesh                    <kuid:-3:10092>
        surveyor-only                   1
      }
    }
  }
  attachments
  {
    mesh                                "attach_mesh.im"
    auto-create                         1
  }
}

attached-track
{
  load_track
  {
    track                               <kuid:-1:15>
    
    vertices
    {
      0                                 "a.track0a"
      1                                 "a.track0b"
      2                                 "a.track0c"
    }
  }
}

attached-trigger
{
  loadtrg1
  {
    att                                 "a.track0b"
    radius                              15
    track                               "load_track"
  }
}

queues
{
  20ft_con_1
  {
    size                                4
    initial-count                       4
    product-kuid                        <kuid:49267:35004>
    
    attachment-points
    {
      1                                 "l1.con20_001"
      2                                 "l1.con20_002"
      3                                 "l1.con20_003"
      4                                 "l1.con20_004"
    }
  }
}

processes
{
  container_pickup
  {
    start-enabled                       1
    duration                            60
    
    outputs
    {
      0
      {
        amount                          1
        queue                           "20ft_con_1"
      }
    }
  }
}

string-table
{
  container_pickup                      "Container pickup"
}

thumbnails
{
  0
  {
    image                               "icon.texture"
    width                               64
    height                              64
  }
 
  1
  {
    image                               "thumbnail.jpg"
    width                               240
    height                              180
  }
}
kuid                                    <kuid:410057:104260>

kuid-table
{
}
 
The loading information is in a GS file, not the config file. Open an industry in Explorer and look for the GS file, this file is the one that tells the industry what to do.
 
It worked only ones🤔and I see the process slider automatically goes to zero. I am sure I can figure it out, it is just another language.

What I do need help with, is

1. A new small square mesh, more or less the width of a track, so I can start from scratch (no attachment points). Like the mesh that is used in the BI2, BI3 & PL industries

2. How do you merge attachment points into the main mesh file

I do like animation, containers appearing and disappearing, when loading. I want to create my own container loading yard with a lot of different type of containers. I know it will be a lot of attachment points.

I am not into 3D modeling at this stage, I have seen some industries, where attachment points is used to add additional scenery objects
 
Last edited:
Back
Top