Jump to content

Archived

This topic is now archived and is closed to further replies.

billn53

UTX : Duplicate texture IDs in terrain.cfg -- Is this a problem?

Recommended Posts

Going through my terrain.cfg file I discovered something that looks strange. Can anyone tell me if the following is a problem or not?

 

I have a number of UTX entries in my terrain.cfg that have the same texture ID numbers. For example, I have:

 

[Texture.398]

Name=UT_ROAD_2_B_URBAN

guid={200F151C-1600-428d-868A-483E906C0A42}

Textures=UTCU2A.BMP,UTCU2A.BMP,UTCU2A.BMP,UTCU2A.BMP,UTCU2A.BMP,UTCU2AL_LM.BMP

Layout=3_PLUS_4

StripWidthMeters=25

FlattenMode=flat

FlattenPriority=21000

LandClassRemapType=none

ExcludeAutogen=Yes

RenderToTexture=Yes

RenderPriority=103250

Water=No

ObjectSize=250

 

...then a bunch of other entries related to Orbx, followed by more UTX entries, including this one:

 

[Texture.398]

Name=UT_ROAD_3_B_URBAN

guid={300F151C-1600-428d-868A-483E906C0A42}

Textures=UTAU3A.BMP,UTAU3A.BMP,UTAU3A.BMP,UTAU3A.BMP,UTAU3A.BMP,UTCU3AL_LM.BMP

Layout=3_PLUS_4

StripWidthMeters=31

FlattenMode=flat

FlattenPriority=21000

LandClassRemapType=none

ExcludeAutogen=Yes

RenderToTexture=Yes

RenderPriority=104250

Water=No

 

 

Note the ID number (398) is duplicated but the Name and other details are different!

 

Is this a problem? If so, should I renumber to eliminate the dups?

Share this post


Link to post
Share on other sites

About all I can say is that you are not supposed to have more than one of each texture. However, it appears that your second texture is numbered incorrectly. The second one is calling a texture named UT_ROAD_3_B_URBAN the first one is calling UT_ROAD_2_B_URBAN "3" vs "2". Each named textures uses a set of various textures in the sim as listed under the TEXTURES= command line.

 

Mine cfg reads the same as your first one except I don't have object size line.

[Texture.409]

Name=UT_ROAD_2_B_URBAN

guid={200F151C-1600-428d-868A-483E906C0A42}

Textures=UTAU2A.BMP,UTAU2A.BMP,UTAU2A.BMP,UTAU2A.BMP,UTAU2A.BMP,UTCU2AL_LM.BMP

Layout=3_PLUS_4

StripWidthMeters=25

FlattenMode=flat

FlattenPriority=21000

LandClassRemapType=none

ExcludeAutogen=Yes

RenderToTexture=Yes

RenderPriority=103250

Water=No

 

And your second listing is the same as mine except mine is a different texture number meaning mine are not numbered the same and nor should they be.

 

 

 

[Texture.403]

Name=UT_ROAD_3_B_URBAN

guid={300F151C-1600-428d-868A-483E906C0A42}

Textures=UTAU3A.BMP,UTAU3A.BMP,UTAU3A.BMP,UTAU3A.BMP,UTAU3A.BMP,UTCU3AL_LM.BMP

Layout=3_PLUS_4

StripWidthMeters=31

FlattenMode=flat

FlattenPriority=21000

LandClassRemapType=none

ExcludeAutogen=Yes

RenderToTexture=Yes

RenderPriority=104250

Water=No

 

I am just not familiar enough with how the UT install works or I would just say to you to change the texture.### to a number not currently in your terrain.cfg file. However, I am sure that the use of and install of textures are controlled by various scripts related to your specific install and changing numbers would or could screw up your later installs, uninstalls, other programs use of specific textures.


Bryan Wallis aka "fltsimguy"

Maple Bay, British Columbia

Near CAM3

Share this post


Link to post
Share on other sites

Thanks, Bryan, for taking the time to check your entries against mine. Maybe this is a case of "if it ain't broke, don't fix it". I haven't noticed anything weird going on with my textures (or, maybe I don't know enough to know I have a problem) and, based on what what you wrote, re-numbering might cause problems I don't need.

Share this post


Link to post
Share on other sites

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    28%
    $7,075.00 of $25,000.00 Donate Now
×
×
  • Create New...