Hi BAT Devs,
As I'm currently testing my Tarpon Mod in latest BAT version (Musketeer) I found an entry related
to a Cockpit Texture reload of the old SAS Avengers.
The Error pops up on all our Avengers who are using the CockpitTBX1.class
[21:07:37] INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
[21:07:38] INTERNAL ERROR: Str2FloatClamp() - Clamped 2e+006 -> 1e+006 (delta = -1e+006) to Range 0..1e+006
[21:07:39] WARNING: ****( Unexpected txr reload (tfNoDegradation): '3DO/Cockpit/TBSAS/fuselage01.tga'
[21:07:45] ERROR file: File users/doe/Icons not found
[21:07:45] Mission: QuickQMBPro/BAT_Solomons/BAT_Solomonsredscramble00.mis is Playing
[21:07:46] Time overflow (0): speed 0.5976096
[27.11.2018 21:08:15] -------------- END log session -------------
As far as I know it's not fatal, but a .mat problem.
add
tfNoDegradation 1
to fuselage01.mat and the Error is solved...
...
[ClassInfo]
ClassName TMaterial
[General]
tfDoubleSide 0
tfShouldSort 0
tfDropShadow 0
tfGameTimer 1
[LightParams]
Ambient 1.0
Diffuse 1.0
Specular 0.1
SpecularPow 16
Shine 0.0
[Layer0]
TextureName fuselage01.tga
PaletteName
Frame 0.0
VisibleDistanceNear 0.0
VisibleDistanceFar 10000.0
TextureCoordScale 0.0 0.0 1.0 1.0
ColorScale 1.0 1.0 1.0 1.0
tfNoDegradation 1
tfWrapX 1
tfWrapY 1
tfMinLinear 1
tfMagLinear 1
tfMipMap 1
tfBlend 0
tfBlendAdd 0
tfTestA 0
tfTestZ 1
tfUpDateClear 0
tfModulate 1
tfNoTexture 0
tfAnimatePalette 0
tfAnimateSkippedFrames 0
TBM/TBF ~ the Avengers!!!! v2.0https://www.sas1946.com/main/index.php/topic,901.0.htmlBest wishes
Tobias