Editing Industry scripts

RJPugh

V-Gauge pioneer
Greetings. I want to take a "stock" industry and modify the script such that it delivers a different products. For example, I want to take the grain silo complex and set it to deliver corn instead of generic "grain."

Can this be done without breaking a limb? Is it covered in a manual or FAQ somewhere? If so, where can I find it?

I'm hoping to use a similar process to program the embedded tracks with some of the "unprogramed" industries available on the download station.

Thanks in advance,

RJPugh
 
Hey!

I think you have to swap the product kuid in the config of the grain complex.
For example:

generic grain = wxy
corn = 123

Look inside the config, maybe you will find a tab with the name "product", followed by a kuid, in this case (generic grain) wxy.
Swap the wxy with (corn) 123.
Maybe the is no such tab, but when you have the kuid, you can locate its.

If that does not work, you can trick a bit.
Set the high of the complex ab -0.10 and the place a multi industry new above it.
Be sure to connect the MIN before you place it!

That all I can say, deeper knowledge is not accessable.
:hehe:
 
I've done this with a script called coaltower. That is change it from handling coal to gold. Basically you have to change the word "coal" to "gold" everywhere you find it in both the config and script files and change the product kuid in the config file. Keep in mind coaltower is a relativly simple script (single product). A multiple product script might be a bit more difficult.

Also keep on mind its a zero-defects process. No booboos allowed, lol.

As a caution save both the original config and script files somewhere safe in case you mess them up so badly you ned to start over.

Ben
 
I've done this with a script called coaltower. That is change it from handling coal to gold. Basically you have to change the word "coal" to "gold" everywhere you find it in both the config and script files and change the product kuid in the config file. Keep in mind coaltower is a relativly simple script (single product). A multiple product script might be a bit more difficult.

Also keep on mind its a zero-defects process. No booboos allowed, lol.

As a caution save both the original config and script files somewhere safe in case you mess them up so badly you ned to start over.

Ben

I would take this a step further, and say that cloning the original asset, and working off the clone, is the way to go.
I have been experimenting little with config editing myself; and working off a cloned asset makes it a little easier to recover from any major errors: just delete the offending clone, and try again.

Matt.
 
Back
Top