How to stop "auto fill" of new baseboards

HiBaller

19 Years of Trainz
Running build 116678 of TS2019. New baseboards I place now come completely covered with texture. I read in a thread somewhere, which I cannot locate again, that this is caused by the Region itself or, perhaps, "defaultTexture" within the Region. I don't remember. Is there a way to change this back to the plain baseboard with no textures at all by downloading a plain texture and altering the config parameter?

Alternatively, maybe someone can give me a link to the discussion.

Bill
 
@Hiballer. Yes there is a fix. Here is the discussion:
I think I now have it sorted. At least this works.

You will need to add the following two tags to the config.txt file of any region asset where you want to use the standard baseboard grid and not the "overgrown lawn" that will appear instead.

default-texture <kuid of texture to be used as grid>
trainz-build 4.8

Obviously, you substitute in the actual kuid of a real (PBR) texture grid - the one used in TRS19 is <kuid:-25:1180> which will have to be added to the kuid-table as well. The default-texture tag is only valid in region assets with a Trainz build number of 4.8 and above so the trainz-build tag must be included as well and set to 4.8 (at least).

In experimenting on this I used the built-in Australia region. Once you modify this region asset to include the above changes and then submit it to CM you will get two errors. There is a tag in the file, "asset-filename" (about halfway down) that should not be there - I don't know what it does, I suspect a typing error. Delete it. The second error is the missing thumbnail - a built-in asset can get away without one but a modified asset cannot.


Code:
thumbnails
 {
     default
     {
            image                                                     "thumbnail.jpg"
            width                                                      240
            height                                                     180
     }
 }
I will upload my modified Australia region asset to the DLS. It has the fixes (the normal TRS19 grid) and a thumbnail.

Peter

Peter has uploaded US and European regions with the bare grid as default. Or you can follow his fix on any regions that you may want to fix . The discussion starts on page 5 of the SP5 release post:https://forums.auran.com/trainz/showthread.php?167110-TRS19-SP5-Official-Release
 
hi just Pick texture then bulk asset replace with grid

That may be true, but what if you want to add ten boards? You'd have to do that to each individual board to keep the asset replace from stomping all over every board already in place. If you forget, just one, to limit the replacement to the current board, then you've messed up.

Bill
 
Just so it's out there, Bulk replace with Grid will provide inconsistent results based upon rotation and scale of existing textures.

For those not ready to edit config files, you can also just download and use <kuid2:661281:120000:1> Grid Region
 
I actually believe this is a good feature but the default choice of texture is not the best. I think that in the future the user should be able to pick this texture in the settings dialogue. I would be very happy having a bare ground surface of dirt and rocks much like what you see when the sod is stripped off. Then I can build up layers using other textures here and there to give a true random appearance.
 
Good point, Wreeder. Let us choose. I have mentioned the new Grid region in another thread. The only objection is that it does not have traffic associated with it. So one must swap and change every time new baseboards are added, then back to a region that has traffic. All this mucking about when what we had previously was a region that had bare grids and traffic. So simple. Same goes for that horrible compass. Yes it is pretty and oh so nice to look at, but useless in the functionality department. (I and many others have switched it off). Others want it? Fine, but please give us the option to set our own preferences as defaults....Fair to everyone.
 
Last edited:
I just made a grid region with carz on it and uploaded it to the DLS, should be available in about 48 hours.

<kuid:647907:102143> CDE USA Grid Region

This region uses the standard Grid texture as a default. Uses 'defaultjunction' <kuid2:39134:102368:1> Switch Machine US & S, and carz cars for traffic. If you clone and edit the config.txt file of this asset to substitute cars, make sure in the car lists below that you change both lists.
 
I just made a grid region with carz on it and uploaded it to the DLS, should be available in about 48 hours.

<kuid:647907:102143> CDE USA Grid Region

This region uses the standard Grid texture as a default. Uses 'defaultjunction' <kuid2:39134:102368:1> Switch Machine US & S, and carz cars for traffic. If you clone and edit the config.txt file of this asset to substitute cars, make sure in the car lists below that you change both lists.

Just downloaded your CDE USA Grid Region, and selected on one of my small Test Routes, it works perfectly and has standard Plain Grid.....Easy peazy, thank you Sir......

;)
 
Back
Top