Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: SAS Avengers Cockpit Error  (Read 236 times)

0 Members and 1 Guest are viewing this topic.

Knochenlutscher

  • "Klaatu... verata... n... Necktie. Nectar. Nickel. Noodle."
  • Modder
  • member
  • Offline Offline
  • Posts: 1882
  • aka Segfej
SAS Avengers Cockpit Error
« on: November 27, 2018, 02:33:21 PM »

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

Code: [Select]
[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
Code: [Select]
  tfNoDegradation 1 to fuselage01.mat and the Error is solved...

...
Code: [Select]
[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.0
https://www.sas1946.com/main/index.php/topic,901.0.html

Best wishes
Tobias
Logged
Wiseman: Did you speak the exact words? Ash: Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah.

SAS~Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 7579
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: SAS Avengers Cockpit Error
« Reply #1 on: November 27, 2018, 04:12:24 PM »

I often encounter this kind of error in many Mods.  ;)
Logged
A bove ante, ab asino retro, a stulto undique caveto.

SAS~vampire_pilot

  • SAS Team
  • member
  • Offline Offline
  • Posts: 4683
  • The man of a million fixes
Re: SAS Avengers Cockpit Error
« Reply #2 on: November 27, 2018, 10:22:06 PM »

Thanks for this find and fix!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 27 queries.