I've been using Loco's to fill spaces in yards etc
Could you please post the steps to change these to rail cars / scenery items
I wouldn't know where to start.
It is all done by editing the config.txt files of the selected locos.
The first (and most important) step is to
clone the original asset and then only work on the clone.
Open the clone's config.txt file for editing - you can do this by right mouse clicking on the clone, select
Open and then select
Edit Config File Text.
You will need to edit a few items and delete quite a few more.
A note of caution, each loco could be different with different tags in the config.txt file so it is important that you work only on the clone. The following segments show what worked for me on the loco that I selected.
Original config.txt file:
Code:
username "Original Name Here"
kind "traincar"
trainz-build 3.7
engine 1
enginespec <kuid2:126323:51253:1>
enginesound <kuid:126323:53253>
hornsound <kuid:126323:54253>
interior <kuid:523:55540>
script "steamloco_acs"
class "Steamloco"
Edited Clone config.txt file:
Code:
username "New name here (inactive)"
kind "traincar"
trainz-build 3.7
engine 0
enginespec <kuid2:126323:51253:1>
interior <kuid:523:55540>
I deleted the
enginesound,
hornsound,
script and
class tags but left (for some reason) the
enginespec and
interior tags. I changed the
engine tag to 0. I added the text "(inactive)" to the assets name so that I would know that this is not a working loco.
Further down the clone's config.txt file, I:-
- deleted all smoke tags as the inactive loco would not be producing any - there may be 9 or more smoke tags.
- deleted the queue tag (if it is present) - in some locos this could be fuel, etc, which it will not need and removing the queue stops the product level indicators appearing above the loco.
I left the
kuid-table tag alone even though it contained items ("products") that were in the queue tag and had therefore been deleted.
When finished, and you can find nothing further to edit/delete, save the config.txt file and commit the asset. Then test it and see what happens. More editing may be needed and if it has been completely "stuffed up" then delete the new asset and start again.
Best of luck - it will be a trial and error process.