[Request] Clouds distance .
#1

Anybody can increase maximum clouds distance :?:
Reply
#2

You can do this easily yourself: if you have downloaded the cloudmods from this site, just look for the cloud.mat, cloud4x4.mat and clobard.mat in your il2\mods folder

Open these mat files with notepad and look for VisibleDistanceFar
Change whatever value you have there to 70000.0 (I think 70 km is max?)

And voila


It does affect framerates slightly
Reply
#3

tHANK YOU ... FOR EXAMPLE (The link is inoperative) :wink:
Reply
#4

Where are the .mat files? I could only find .tga files in my Flushys_cloudmod_v2 folder
Reply
#5

Harnage Wrote:Where are the .mat files? I could only find .tga files in my Flushys_cloudmod_v2 folder

I don't remember where i got them; maybe i exracted these myself?

Anyway: create anew text file in Whatever il 2 folder\MODS\Effects\clouds and paste this:

[ClassInfo]
ClassName TMaterial
[General]
tfDoubleSide 1
tfShouldSort 0
tfGameTimer 1
tfSpriteLight 1

[LightParams]//Shine only for sprites
Ambient 1.0
Diffuse 1.0
Specular 0.0
SpecularPow 0
Shine 0.0


[Layer0]
TextureName cloudsA.tga
PaletteName
Frame 0.0 // Float 0.0 - first, 1.0 - last
VisibleDistanceNear 0.0
VisibleDistanceFar 70000.0
TextureCoordScale 0.0 0.0 1.0 1.0 // Uo Vo kU kV
ColorScale 1.0 1.0 1.0 1.0 // R G B A

// Wrap Texture Flags (0/1)
tfWrapX 1
tfWrapY 1
// Magnification / Minification (nearest on default)
tfMinLinear 1
tfMagLinear 1
tfMipMap 1
/// BlendModes
tfBlend 1
tfBlendAdd 0
tfTestA 1
tfTestZ 1
tfNoWriteZ 1
tfUpDateClear 0
tfModulate 1
tfNoTexture 0
tfAnimatePalette 0
tfAnimateSkippedFrames 0
tfTranspBorder 1

tfCompressMajorAlpha 1
tfNoCompress16Bit 1
tfNoCompressARB 1

tfNoDegradation 1

// eof


Save as cloud.mat (make sure it's not .txt file and don't mind the windows wisdom about the file type)
Do the same for CloBoard.mat, but copy-paste this:

[ClassInfo]
ClassName TMaterial
[General]
tfDoubleSide 1
tfShouldSort 0
tfGameTimer 1
tfSpriteLight 1

[LightParams]//Shine only for sprites
Ambient 1.0
Diffuse 1.0
Specular 0.0
SpecularPow 0
Shine 0.0


[Layer0]
TextureName cloboard.tga
PaletteName
Frame 0.0 // Float 0.0 - first, 1.0 - last
VisibleDistanceNear 0.0
VisibleDistanceFar 70000.0
TextureCoordScale 0.0 0.0 1.0 1.0 // Uo Vo kU kV
ColorScale 1.0 1.0 1.0 1.0 // R G B A

// Wrap Texture Flags (0/1)
tfWrapX 1
tfWrapY 1
// Magnification / Minification (nearest on default)
tfMinLinear 1
tfMagLinear 1
tfMipMap 1
/// BlendModes
tfBlend 1
tfBlendAdd 0
tfTestA 1
tfTestZ 1
tfNoWriteZ 1
tfUpDateClear 0
tfModulate 1
tfNoTexture 1
tfAnimatePalette 0
tfAnimateSkippedFrames 0
tfTranspBorder 0

tfCompressMajorAlpha 1
tfNoCompress16Bit 1
tfNoCompressARB 1

tfNoDegradation 1
// eof


And for Cloud4x4.mat copy paste this:

[color=darkblue][ClassInfo]
ClassName TMaterial
[General]
tfDoubleSide 1
tfShouldSort 0
tfGameTimer 1
tfSpriteLight 0 //
Reply
#6

Got that files thank you for help . In work :wink:
Reply
#7

Thanks for the help Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)