vulcan's LNG Oil Refinery.

joshmeister

Proud Railfurz Member
Hello all, I just downloaded Oil Refinery LNG which is <kuid2:60238:26228:2> and it is Faulty.

Fault's are as fallows.

Error: Incorrect number of values for the tag 'repeat-delay', expected 2 values, found 1.
Error: Incorrect number of values for the tag 'repeat-delay', expected 2 values, found 1.
Error: Incorrect number of values for the tag 'repeat-delay', expected 2 values, found 1.
Error: Incorrect number of values for the tag 'repeat-delay', expected 2 values, found 1.



Vulcan's PM box is full So I am putting this here in hopes that him or someone else know how this issue can be fixed.
In the config file I tried to change the "repeat-delay" lines from "1" to "2" but this did not work, any ideas?
 
Try This

In TS12, it is not faulty. From the Index of Tags & Containers for "repeat-delay":

Code:
1 or 2 numbers (min, max, in sec) time to delay between the end of the sound playing,
and playing it again randomised between(min .. max)  default min is 0, default max is equal
to min  Notes: Repeat-delay now  has two values rather than one. When upgrading old assets,
make sure  there is a repeat delay for both values or the sound will loop endlessly  when
triggered.

What you might try is first backup or clone the asset . Then change all occurrences of repeat-delay thusly in the config.txt file for the asset:

If the repeat-delay is this:

repeat-delay 0


change it to:

repeat-delay 0,0

In other words, just duplicate the single value to 2 equal values.

repeat-delay 1


becomes

repeat-delay 1,1


Hope this works out for you.

Andrew
 
Last edited:
First solution (for this asset only):
- Open the asset for editing in explorer
- open the config.txt file, using a simple texteditot (like notepad)
- Search for all occurences of repeat-delay, and add a comma followed by a second value (same as the first one)
- Save and close the editor
- commit the asset again

The second method is fixing the error checking of the ContentManager - see HERE (post #19).

Peter
 
Thanks guys for helping, yes I have emptied some of my inbox, got a message from Auran (N3V).

My understanding is that the repeat delay only requires one value, but that Auran incorrectly specified two in TS09 or some of the patches in builds around that time. They have since corrected it in TS12 (fully patched) to again accept only one. It is best to use the two so it is accepted in all versions of Trainz 2.9 and above.

You may also find issues with sound file in early configs for some models, you now have to specify a number when listing a sound file:

0 engine.wav

As I expect the build lifetime policy to now require models uploaded to the DLS to be minimum build 3.5, all my models now will be for that build.

Ian
 
Hey guys, thank you for the tips. @ Andrew & Peter, I tried the method that y'all had mentioned and replaced the config lines with 0,0 and 1,1 and the faults have been fixed.
@ Vulcan, thanks for the heads up and info bud. I dont really understand why Auran does things like that sometimes, so I might look into issues like that myself to get some more info on these matters.


-Josh
 
Back
Top