Industry, rolling stock or Trainz error?

UncleBuck

Member
I am using the JR Multiple Industry II with the QUBE SGSF 21+ TS19 but every time it tries to load a product it errors out with the following error and stops loading:
- <kuid2:45324:400001:8> : World.PlaySound> Unable to play specified sound file. (Missing file or bad sound format.)
"coal_load1.wav" (file world.gs)
; <kuid2:45324:400001:8> : Script class: MultipleIndustryNew
; <kuid2:45324:400001:8> : MeshObject: <kuid2:45324:400001:8> "JR Multi Industry II"
; <kuid2:45324:400001:8> : Script callstack
; <kuid2:45324:400001:8> : function $float@World::PlaySound(Asset,string,float,float,float,GameObject,string,bool), line -1
; <kuid2:45324:400001:8> : function $float@World::PlaySound(Asset,string,float,float,float,GameObject,string), line 676
; <kuid2:45324:400001:8> : function $float@xgay::BeginLoad(LoadingReport), line 108
; <kuid2:45324:400001:8> : function $bool@Vehicle::LoadProduct(LoadingReport), line 1452
; <kuid2:45324:400001:8> : function $bool@MultipleIndustryNew::LoadMIN(Vehicle,ProductQueue,IndustryProductInfoTracks), line 194
; <kuid2:45324:400001:8> : function $void@MultipleIndustryNew::PerformStoppedLoad(Vehicle,string), line 398
; <kuid2:45324:400001:8> : function $void@BaseIndustry::PerformStoppedChild(Vehicle,string), line 782
- <kuid2:45324:400001:8> : File world.gs, Line 676, ER_Exception
; <kuid2:45324:400001:8> : Script class: MultipleIndustryNew
; <kuid2:45324:400001:8> : MeshObject: <kuid2:45324:400001:8> "JR Multi Industry II"
; <kuid2:45324:400001:8> : Script callstack
; <kuid2:45324:400001:8> : function $float@World::PlaySound(Asset,string,float,float,float,GameObject,string), line 676
; <kuid2:45324:400001:8> : function $float@xgay::BeginLoad(LoadingReport), line 108
; <kuid2:45324:400001:8> : function $bool@Vehicle::LoadProduct(LoadingReport), line 1452
; <kuid2:45324:400001:8> : function $bool@MultipleIndustryNew::LoadMIN(Vehicle,ProductQueue,IndustryProductInfoTracks), line 194
; <kuid2:45324:400001:8> : function $void@MultipleIndustryNew::PerformStoppedLoad(Vehicle,string), line 398
; <kuid2:45324:400001:8> : function $void@BaseIndustry::PerformStoppedChild(Vehicle,string), line 782
So what exactly is the issue here?
Where is it trying to load this "missing file or bad sound format" from?
Is this a problem with the game or the rolling stock or the industry?
How can I fix it?

Any advice would be much appreciated.

Cheers,
Colin
 
; <kuid2:45324:400001:8> : function $float@xgay::BeginLoad(LoadingReport), line 108

This is code trying to run on the vehicle itself. There are no sounds called for at the industry, but it does call BeginLoad(LoadingReport) on the vehicle as usual to activate things like doors or sounds that are associated with that asset.

In the <kuid:804089:101067> QUBE SGSF Wagon 2021+ TRS19 asset script xgay.gs calls for a coal load sound on line 108 and another on line 121, but there is no .wav associated with this asset, so it would always fail to load and unload in the same way.

uedit64_Er6tM7FLaF.png


This asset would need to be fixed by removing those lines 108 and 121, or applying the correct .wav file to the asset or even aliasing the wav from the parent asset of that particular hopper, which is probably what they intended.
 
Last edited:
This is code trying to run on the vehicle itself. There are no sounds called for at the industry, but it does call BeginLoad(LoadingReport) on the vehicle as usual to activate things like doors or sounds that are associated with that asset.

In the <kuid:804089:101067> QUBE SGSF Wagon 2021+ TRS19 asset script xgay.gs calls for a coal load sound on line 108 and another on line 121, but there is no .wav associated with this asset, so it would always fail to load and unload in the same way.

uedit64_Er6tM7FLaF.png


This asset would need to be fixed by removing those lines 108 and 121, or applying the correct .wav file to the asset or even aliasing the wav from the parent asset of that particular hopper, which is probably what they intended.
Thanks for that.
Rather than edit the .gs file, I copied the .wav files from another asset and dumped them in this one, which worked.

Hopefully one day @barisbeer will get around to fixing the problem and issue an update.

Cheers,
Colin
 
Back
Top