Somebody discovered a bug in the way trainsim processes the ESD_Alternative_Texture ( 256 ) when you make an object that has a night texture but no snow texture. These errors are starting to show up in routes now, and the silly game is looking for snow textures in \Global, obviously not finding them there, and returning error messages or crashing.
Best way for all you 3D object designers is to never use ESD 256, if you want a night texture for your object, make a snow texture too and use ESD_Alternative_Texture ( 257 ) instead.
For route developers using the existing add-on objects, there are two ways to fix the ones with the bug. Either edit the SD file to change the ESD_Alternative_Texture ( 256 ) to ESD_Alternative_Texture ( 0 ) and eliminate the night texture, or if you like and want to use the night texture, change it to ESD_Alternative_Texture ( 257 ). That will make it look for a snow texture in the proper place instead of looking for it in the \Global folder, but of course then you need a snow texture. Some objects might look kind of odd walking in a winter wonderland with no snow on them, but the simplest way is to copy the base texture to the \Textures\Snow folder. If you're ambitious and want to use TGAtool2 to make an actual snow texture knock yourself out, but since this bug is pervasive, you pretty much have to think night texture = include snow texture or suffer the errors. Here's a sample batch, copy the text into notepad, or add it to your install batch file at the end, replacing "replaceme.ace" with the actual name of the ace file.
call copy .\textures\replaceme.ace .\textures\snow\replaceme.aceAnother thing that pops up a lot is vegetation, that usually defaults to ESD_Alternative_Texture ( 252 ), and any forest region automatically uses ESD 252. That will look for the ace filename in all the \Textures subfolders except night. If you want to fix one that has 252 and don't include all the seasonal textures, or use one as a forest region object, copying the base texture to \textures\spring\ and \textures\autumn\, then looking for a similar shaped bush or tree and stealing the winter and snow textures from that works OK. Here's an example from the aspen tree, I looked at the winter and snow textures for some of the defaults, and tree7.ace was pretty close to the same shape: call copy .\textures\Aspen-1.ace .\textures\spring\Aspen-1.ace
call copy .\textures\Aspen-1.ace .\textures\autumn\Aspen-1.ace
call copy .\textures\winter\tree7.ace .\textures\winter\Aspen-1.ace
call copy .\textures\wintersnow\tree7.ace .\textures\wintersnow\Aspen-1.ace
call copy .\textures\snow\tree7.ace .\textures\snow\Aspen-1.ace
call copy .\textures\autumnsnow\tree7.ace .\textures\autumnsnow\Aspen-1.ace
call copy .\textures\springsnow\tree7.ace .\textures\springsnow\Aspen-1.aceBasically what that does is makes a new copy of tree7.ace in the seasonal subfolders, giving it a new name of Aspen-1.ace, so I don't have to include it in the zipfile.Terrain textures sometimes get this problem too, there's a default one in \USA2\Terrtex, US2mount1.ace, which has no snow texture and will cause errors if used. US2forest.ace is a pretty close match, so I steal the US2forest.ace texture for US2mount1.ace:call copy .\terrtex\snow\us2forest.ace .\terrtex\snow\us2mount1.aceDiscussions, suggestions, flamewars?
Printer-friendly page | Edit | Reply | Reply With Quote | Top
RE: Add-on objects with night textures., Tree Frog, Aug-01-02, 11:33 AM, (1) RE: Add-on objects with night textures., dvdhoven, Aug-01-02, 12:42 PM, (2) RE: Add-on objects with night textures., sniper297, Aug-01-02, 01:36 PM, (3) RE: Add-on objects with night textures., atsfdude, Aug-01-02, 02:52 PM, (4) RE: Add-on objects with night textures., robertreedy, Aug-01-02, 03:48 PM, (5) RE: Add-on objects with night textures., atsfdude, Aug-01-02, 06:02 PM, (7) RE: Add-on objects with night textures., sniper297, Aug-01-02, 07:17 PM, (9) RE: Add-on objects with night textures., sniper297, Aug-01-02, 04:05 PM, (6) RE: Add-on objects with night textures., robertreedy, Aug-01-02, 06:17 PM, (8) RE: Add-on objects with night textures., sniper297, Aug-01-02, 08:09 PM, (10) RE: Add-on objects with night textures., robertreedy, Aug-01-02, 09:52 PM, (11) RE: Add-on objects with night textures., sniper297, Aug-02-02, 00:57 AM, (12) RE: Add-on objects with night textures., robertreedy, Aug-02-02, 01:28 AM, (13) RE: Add-on objects with night textures., Hobart, Aug-05-02, 00:40 AM, (14)
Conferences | Topics | Previous Topic | Next Topic






