Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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?

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

  • Author

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.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.