Special Aircraft Service

Please login or register.

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

Author Topic: *.mat editing~SOLVED  (Read 3687 times)

0 Members and 1 Guest are viewing this topic.

I/JG1_Adler

  • member
  • Offline Offline
  • Posts: 19
*.mat editing~SOLVED
« on: January 24, 2010, 12:01:50 PM »

I want change the Mixture Effect Smoke in my game, but i dont know, which number is transparency for the smoke. Can anybody explain the lines in this mat file? Which line must i edit to become a shorter and more transparent smoke effect by mixture?

[ClassInfo]
  ClassName TMaterial

[General]
  tfDoubleSide 0
  tfShouldSort 1
  tfGameTimer 1
  tfDropShadow 0
  tfMotionBlur 0
[LightParams]
  Ambient 1.00
  Diffuse 1.00
  Specular 0.0
  SpecularPow 0
  Shine 0.0
[Layer0]
  TextureName PlaneDamageSmoke.tga
  PaletteName
  Frame 0.0
  VisibleDistanceNear 0.0
  VisibleDistanceFar 12000.0
  TextureCoordScale 0.0 0.0 1.0 1.0
  ColorScale 1.0 1.0 1.0 1.0
  tfWrapX 1
  tfWrapY 1
  tfMinLinear 1
  tfMagLinear 1
  tfMipMap 0
  tfBlend 1
  tfBlendAdd 0
  tfTestA 1
  tfTestZ 1
  tfNoWriteZ 1
  tfUpDateClear 0
  tfModulate 1
  tfNoTexture 0
  tfAnimatePalette 1
  tfAnimateSkippedFrames 1
  tfImageResident 0
  SubPictures 0
  tfCompressMajorAlpha      1
  tfNoCompress16Bit         1

THX for any help ...
Logged

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: *.mat editing
« Reply #1 on: January 24, 2010, 12:23:29 PM »

...should be easy enough to do, but i'm having a bit of a brain-fade at the mo.... :D :P
I'll get you a smoke expert to give the definitive advice, HG or Potenz can probably solve this for you with their eyes closed.... ;D
Logged
.....taking fun seriously since 1968.....  8)

I/JG1_Adler

  • member
  • Offline Offline
  • Posts: 19
Re: *.mat editing
« Reply #2 on: January 24, 2010, 07:04:38 PM »

I solved my issiue, sorry for spam 8)  :P You can delete this topic. THX
Logged

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: *.mat editing
« Reply #3 on: January 24, 2010, 09:52:04 PM »

no - once you've posted, we hope that you can post the solution, to help those that have similar questions. Its the whole point of tech help section.  ;)
So, please let us know, and I'll just mark the thread as solved.
Thanks mate  :)
Logged
.....taking fun seriously since 1968.....  8)

santobr

  • Modder
  • member
  • Offline Offline
  • Posts: 1349
  • Senta a Pua!
    • F
Re: *.mat editing
« Reply #4 on: January 25, 2010, 04:48:54 AM »

This is not the correct way to do that.
To change a specific smoke effect you need to modify the specific effect file (.eff) for that effect.
Because, if you change a .mat file, all effects that use the file will be changed.
And you can't modify the lenght of the effect in the .mat file.

Take a look at this effects file (.eff) example:
Color0 0.6 0 0 0.27            // R G B Alpha start
Color1 0.6 0.3 0.3 0.018     // R G B Alpha end
LiveTime 27.0                   // time in seconds of each particle

santobr.
Logged

SAS~HolyGrail

  • Modder f*ck*r =)
  • SAS Team
  • member
  • Offline Offline
  • Posts: 874
  • A little mod in the making !
Re: *.mat editing
« Reply #5 on: January 25, 2010, 07:13:29 AM »

Agree 100% with Santobr , nothing else to say  :-* .

@ SAS~Malone
 
I solved my issiue, sorry for spam    You can delete this topic. THX
I hear ya man , what an overwhelming response L.O.L.  ;D


S! HG  :)
Logged
Dignified silence is worth more than a thousand insults...

I/JG1_Adler

  • member
  • Offline Offline
  • Posts: 19
Re: *.mat editing~SOLVED
« Reply #6 on: January 25, 2010, 08:00:12 AM »

 ;) OK, my problem was the mixture effect, when i have openable cockpit for P-40E/F etc. ... others can see the smoke effect ... i use for hosting CRT=2, so all players must have same install (in UP2.0m), i removed the mixture effect for all planes in my little addon and so i removed the problem with openable pits in online fights. Of course, it works only when CheckRuntime is set 2 in conf.ini, because all have same files. I know, that my solution is not very ok, but it works fine and i need P-40 for campaign.

I do simply this ... VisibleDistanceFar 12000.0 changet to 0.0 :D and done.

But very thanks to santobr, for effects moding explanation !!!  ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.04 seconds with 27 queries.