OK, well it is most certainly to do with something in the config of the traincar. This command works great for most everything and has for several years. Maybe post the config?
Also, let's be clear about the command you are passing to ilcore: When you choose "Load Random" you are telling it to choose at random to leave some cars empty, as in load a random set of cars in this train so that would explain why some are empty. "Load All" will load every car in the train.
edit: and make sure you are actually using <kuid2:45324:555110:3> Instant Load Library
my config:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
username "TOFC Flatcar 89 ft TTX Vehicles DES"
trainz-build 3.5
category-class "XA"
category-region "US"
category-era "1980s;1990s;2000s;2010s"
kind "traincar"
engine 0
enginespec <kuid:-1:42004201>
mass 29120
script "JR_Traincar"
class "JRTraincar"
fonts 4
fonts-path "mesh"
contact-website "-"
contact-email "davesnow@sbcglobal.net"
description "89 ft. Flat Car. Lettered for TTX. Provided with ARN. Will load various vehicles, TEN different max.
TTX owns numerous 89-ft, 70- or 110-ton, general purpose flat cars. Their simple design belies their capability to carry numerous types of cargos, particularly large, bulky, and heavy items, including pipe and other primary steel products (and occasionally old rail equipment for museums or railcars damaged in wrecks). To facilitate shipments, many of the 110-ton cars are equipped with a system of floor deck holes, which permit the easy installation of risers, bunks, and other attachment devices used to secure loads. Additionally, several thousand cars are specially equipped to handle pipe, and the cars include Vibration Isolation Devices (VID's) and lading strap anchors. These cars (and many others) also feature stake pockets and web strap winches.
"
license "This item is supplied free of charge for personal use by registered users of Trainz. It or its contents must not be modified, offered for sale or supplied as any part of a Payware package or provided for downloading on any site other than Auran unless this is expressly permitted in writing by the author davesnow / David E. Snow.
DISCLAIMER: It must be noted that this asset MAY or MAY NOT be prototypical. The author may have taken liberties in its creation such as re-coloring, moving, lengthening, shortening, re-designing, resizing, adding or deleting certain parts of the object, adding non-prototypical logos, etc, therefore there is no guarantee that the asset represents any known item."
extensions
{
number_low "691200"
number_high "691299"
}
script-include-table
{
traincar_fx_library <kuid2:45324:555200:1>
}
mesh-table
{
default
{
mesh "mesh_body/ARN_TTX.im"
auto-create 1
}
body
{
mesh "mesh_body/Flat_Car_DES.im"
auto-create 1
}
shadow
{
mesh "mesh_shadow/Shadow.im"
}
}
bogeys
{
0
{
reversed 0
bogey <kuid:101046:101184>
}
1
{
reversed 0
bogey <kuid:101046:101184>
}
}
thumbnails
{
0
{
image "$screenshot$.jpg"
width 240
height 180
}
1
{
image "64.texture"
width 128
height 64
}
}
obsolete-table
{
}
string-table
{
maxweight "92442"
}
queues
{
load0
{
size 1
initial-count 0
attachment-points
{
0 "a.load0"
}
allowed-products
{
0 <kuid:101046:101185>
1 <kuid:101046:101193>
2 <kuid:101046:101310>
3 <kuid:101046:100983>
4 <kuid:101046:101212>
5 <kuid:101046:101345>
6 <kuid:101046:101620>
7 <kuid:101046:101622>
8 <kuid:101046:105460>
9 <kuid:101046:106757>
}
}
}
kuid-table
{
arn_lib <kuid2:104722:2501038:4>
instant_load_library <kuid2:45324:555110:3>
0 <kuid:-1:42004201>
1 <kuid2:45324:555200:1>
2 <kuid:101046:101184>
3 <kuid:101046:101185>
4 <kuid:101046:101193>
5 <kuid:101046:101310>
6 <kuid:101046:100983>
7 <kuid:101046:101212>
8 <kuid:101046:101345>
9 <kuid:101046:101620>
10 <kuid:101046:101622>
11 <kuid:101046:105460>
12 <kuid:101046:106757>
}
kuid <kuid:101046:106761>