[Request] Clouds distance . - Printable Version
+- All-Aircraft-Simulations (
https://allaircraftsimulations.com)
+-- Forum: IL2 MODS Download & Discussion (
https://allaircraftsimulations.com/forumdisplay.php?fid=267)
+--- Forum: IL-2 4.09m (
https://allaircraftsimulations.com/forumdisplay.php?fid=348)
+---- Forum: IL2 MODS Discussion Section 4.09m (
https://allaircraftsimulations.com/forumdisplay.php?fid=292)
+---- Thread: [Request] Clouds distance . (
/showthread.php?tid=61743)
[Request] Clouds distance . - Guest - 17.05.2009
Anybody can increase maximum clouds distance :?:
- panzerkeil - 17.05.2009
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
- Guest - 17.05.2009
tHANK YOU ... FOR EXAMPLE
(The link is inoperative) :wink:
- Harnage - 17.05.2009
Where are the .mat files? I could only find .tga files in my Flushys_cloudmod_v2 folder
- panzerkeil - 17.05.2009
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 //
- Guest - 17.05.2009
Got that files thank you for help . In work :wink:
- Harnage - 17.05.2009
Thanks for the help