Setting default ground colors for a route

Discussion about RailWorks route design.

Setting default ground colors for a route

Unread postby MadMike1024 » Tue Aug 17, 2010 10:42 am

How do you set the initital ground colors for a route? I just downloaded Great Northerner's Bighorn Route V2 and the default ground colors are exactly what I need for a project I'm doing. I'm guessing here, but does it go in the TemplateRoutes/Routename.xml file? And, if so what variables do I change?
MM
MadMike1024
Global Mod
 
Posts: 1730
Joined: Fri Jul 30, 2010 8:11 pm
Location: Vancouver, WA

Re: Setting default ground colors for a route

Unread postby artimrj » Tue Aug 17, 2010 11:44 am

Strangely enough I was exploring this yesterday. I went over to the other place and did a search and what I find aggravated me. From what I see you need to set this up first before you start painting terrain. There is a file called texturing.bin. It is in Environment/terrain. In it are all the textures available to the route to paint with. One of them is the default. Then the texturing.bin is called by the routeproperties.xml/.bin.

So if you want to use the Great Northerner texturing.bin. You need that texturing.bin file and then have to edit your route's file to point to it. I assume you will have this under your developer's folder structure. Once set up, you use the browser filter to turn on your folder and away you go.

If you allready painted terrain and change, then you could be all messed up as your using different textures and they will be replaced with something out of your new file that you might not expect it to be or it will be black. The textures are numbered and Railworks goes by that number, so when you replacing textures, the numbers may allready be in use and you are changing it's texture.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4721
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: Setting default ground colors for a route

Unread postby Toripony » Thu Aug 19, 2010 12:40 pm

Mike, do you need any more help on this topic? You probably already figured this out, but it's a good topic so I'll answer anyway. I've created several custom texturing.bin files; it's actually one of the easier things to do in routebuilding if you have a little time for it.

Make yourself a developer folder and a subfolder, then duplicate the folder location of the Kuju default texturing.bin in your own folder and copy the Kuju one over. It will still refer to the original Kuju ground textures but now you can add one (or more) yourself for keeps. Make the appropriate category subfolder (Grass, Banks, etc) to put your new textures in.

Then edit your texturing.bin; AT THE BOTTOM OF THE LIST copy/paste an xml section from above (copy from "<cMixTexDescriptor" to "</cMixTexDescriptor") and change it to point to your new texture. Give it a new Display Name, too. Putting you new texture at the BOTTOM of the list will prevent throwing all the other numbers off and messing up the textures already present in your route.

Now you have to count all of the textures listed (easier to do in the "XML" screen of RWTools) to find out the number for your new texture you added to the end of the list. Use that number in the "LowGroundTexture", "MidGroundTexture" and "HighGroundTexture" entries at the bottom of the texturing.bin file (if you are building in the mountains, you might want to mix it up with some others).

Finally, go to the RouteProperties xml for the route you are editing and change the pointer to the texturing.bin from Kuju's folder to yours.

Tori
User avatar
Toripony
 
Posts: 1083
Joined: Thu Jun 04, 2009 3:13 am

Re: Setting default ground colors for a route

Unread postby MadMike1024 » Thu Aug 19, 2010 12:55 pm

Thanks! I am planning to do some custom textures, so that is very helpful.
MadMike1024
Global Mod
 
Posts: 1730
Joined: Fri Jul 30, 2010 8:11 pm
Location: Vancouver, WA

Re: Setting default ground colors for a route

Unread postby Trainguy76 » Sun Aug 22, 2010 2:09 am

For a how to custom textures, have a look here.

http://forums.uktrainsim.com/viewtopic.php?f=304&t=106824
User avatar
Trainguy76
 
Posts: 630
Joined: Mon Feb 15, 2010 12:46 am
Location: San Bernardino, California

Re: Setting default ground colors for a route

Unread postby artimrj » Sun Aug 22, 2010 8:48 am

I made my own texturing.bin by joining US & UK together. I was coming back to explain what I did but I see Tori allready beat me to it. She also stated one other thing I didnt know. Counting them all and changeing the numbers at the bottom. I didnt change them, but everything seems to be working just fine. I also did not have to make folders and copy the textures to them I just let them point to the Kuju folders. I did put the texturing.bin in my developer folders so it wont get changed by an update. I better go change them numbers to be safe.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4721
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania


Return to Route Design

Who is online

Users browsing this forum: No registered users and 6 guests