17.05.2009, 14:17
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 //