Replacing Assets with a "Null" Asset

gkutcher

New member
I would like to know if it possible to delete assets from a route.

I am modifing a route that has thousands and thousands of trees. I know how to just replace one asset with another. I don't want to do this. Deleting them by hand would take to long, therefore it is not an option. I just want to get rid of them but I can't seem to be able to figure out how to delete them all in one operation using the "replace asset" command.

I did a search on the CM for a "null" asset but nothing looked like it would work.

Thanks in advance.

George.
 
In TrainzObjectz, a utility similar to C. M. for users of TRS2004 and earlier (Duh!! I said "later"!! :o), you can replace an asset in a map with a non-existant KUID, so that you can then go in to the map in Surveyor and use the "Delete Missing Assets" function to finish the job. :cool: ;) I do not know how you would accomplish a similar function in TS2010, how ever. :confused:

Regards.
 
Last edited:
Delete the items from Content manager and use the delete missing assets function in surveyor. Unless they are built in, in which case replace with something that isn't and delete that from Content manager then use delete missing assets.

Don't forget to backup the items you are deleting from CM if you ever intend to use them again and they were not from the DLS
 
There's an easier way than that Clam, without deleting the trees from your sim. Just open the route in explorer and then the config file and then delete the kuid numbers of the trees or other items you don't want on the route from the kuid table. Hint, use the find feature under edit to find the kuid number. And don't leave any spaces between the lines. And don't worry about the number sequences being out of order when you're done.
Edit: If the trees are still there when you open your route then it's coming in from memory of the database and you'll need to do a database repair.

If there's a way to do this with the replace tool I'm not aware of it although this would be a good feature to have in the next version Chris, if you're monetering.
 
Last edited:
There's an easier way than that Clam, without deleting the trees from your sim. Just open the route in explorer and then the config file and then delete the kuid numbers of the trees or other items you don't want on the route from the kuid table. Hint, use the find feature under edit to find the kuid number. And don't leave any spaces between the lines. And don't worry about the number sequences being out of order when you're done.
Edit: If the trees are still there when you open your route then it's coming in from memory of the database and you'll need to do a database repair.

If there's a way to do this with the replace tool I'm not aware of it although this would be a good feature to have in the next version Chris, if you're monetering.

Just as a side note, I do not think that that works in TRS2004. The kuid-table is only there to define the list of assets that the map requires, so that the DLS can know what the dependencies are if you upload it to the DLS. Changing a KUID in the kuid-table will not replace the asset, as the assets used in the map are apparently also defined in the binary map files (the .obj, .trk, etc. files) directly. Of course, this is what I think that it is in TRS2004, but N3V might possibly have given the kuid-table a few more functions in TS2010, :eek: :confused: so try bnsf50's suggestion, gkutcher. ;)

Regards.
 
As I read the post, you are wanting to just "thin out" the trees. Is that correct"

If so, then clear out a small patch (say 100M x 100M) but just leave a few trees in the area. Then use the copy/paste tools to replicate that sparsely-populated region over the whole route. Do not choose anything but Paste Content. You can clean up the edges of area where you don't want to slap down your square because it will eliminate ALL content under it.

Bill
 
Just as a side note, I do not think that that works in TRS2004. The kuid-table is only there to define the list of assets that the map requires, so that the DLS can know what the dependencies are if you upload it to the DLS. Changing a KUID in the kuid-table will not replace the asset, as the assets used in the map are apparently also defined in the binary map files (the .obj, .trk, etc. files) directly. Of course, this is what I think that it is in TRS2004, but N3V might possibly have given the kuid-table a few more functions in TS2010, :eek: :confused: so try bnsf50's suggestion, gkutcher. ;)

Regards.

It will work in 06 through 10 I've used many times before. I don't know why it wouldn't work in 04 as well. The kuid table is where all of the assets for a route are stored.
 
The idea of having something like this in a GUI format, from within Surveyor is a great idea. Not everyone is up to editing config.txt files and fixing things by hand.

John
 
It will work in 06 through 10 I've used many times before. I don't know why it wouldn't work in 04 as well. The kuid table is where all of the assets for a route are stored.

Simply deleting entriests from the kuid table won't stop them appearing in a route. The quick proof of this is simply create a quick route, open it for edit, delete the total content of the kuid table (leave the 'container'), then re-load the route. It will load exactly as it should with all assets present.

The exact function of the kuid table is a bit of a mystery, but I suspect it is little more than a 'quick reference' for the program to check route assets against available assets.

Back to the OP question - the only fixes I know in 10 to delete all the trees are already mentioned - easiest is probably replace them all with a single non-built-in tree then delete that asset from CM...

Andy ;)
 
Simply deleting entriests from the kuid table won't stop them appearing in a route. The quick proof of this is simply create a quick route, open it for edit, delete the total content of the kuid table (leave the 'container'), then re-load the route. It will load exactly as it should with all assets present.

The exact function of the kuid table is a bit of a mystery, but I suspect it is little more than a 'quick reference' for the program to check route assets against available assets.

Back to the OP question - the only fixes I know in 10 to delete all the trees are already mentioned - easiest is probably replace them all with a single non-built-in tree then delete that asset from CM...

Andy ;)

I have found the same to be true, Andy, and you beat me to the post here!

When I need to delete whole areas of assets in TS2010, I will select an area of the terrain with no objects, set the copy region. For pasting, I will then uncheck everything but the objects, and paste the "blank" area where I want to delete the objects.

John
 
Yes you guys are right and I'm wrong, sorry for the confusion. I must have been dreaming when I said it works. After all I've built complete routes in my dreams and everything works perfect.:hehe:

This is the apologizing side of bnsf50:o
 
Moin,

Open the asset that you want remove from the route in editor.
Copy the folder to desktop.
Back in CM, delete the asset.
Then edit the kuid table of the rout and remove the kuid.
Open the route in surveyor and use "Delete missing assets".
That should clear your route from this asset, so save it.
After reinstall the asset using "Import content" from desktop, it should´nt do comes up once more in the kuid table and the route himself.

Edit: If you want use the replace tool, i´ll suggest you the following, created by GP_38-2:

brcef8v077iqp6sqc.jpg
 
Last edited:
Back
Top