Special Aircraft Service

Please login or register.

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

Author Topic: Modifying effects in BAT?  (Read 936 times)

0 Members and 1 Guest are viewing this topic.

AlfreS

  • member
  • Offline Offline
  • Posts: 31
Modifying effects in BAT?
« on: April 23, 2018, 04:56:56 PM »

Hello

I wonder if it is possible to modify somehow the effects in BAT (smoke, fires, etc... Parameters such as duration, color, shape, etc.). I know that in previous effects packages, such thing is achieved by modifying .eff files. Is something similar possible in BAT?

Sorry for my bad English

Thanks in advance!
Logged

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6652
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: Modifying effects in BAT?
« Reply #1 on: April 23, 2018, 08:13:54 PM »

You should be able to extract most effects with the SFS extractor utility.
https://www.sas1946.com/main/index.php?topic=16581.0

eff file structure:

Quote
[ClassInfo]
  ClassName TParticlesSystemParams           //class name and type of effect
[General]
  MatName ../../TEXTURES/Smoke.mat           //material file for the texture
  Color0 1.0 1.0 1.0 0.2           //initial color RGBA (emission)
  Color1 1.0 1.0 1.0 0.0           //final color RGBA (LiveTime)
  nParticles 32           //maximum number of particles showing at the same time (maximum is 512 for each effects object)
  FinishTime -1            //time in seconds for the finish of emission of particles (-1 is forever)
  TranspTransitionTime 1.0f           //time of the alpha channel transition (only for TSmokeTrailParams class)
  MaxR 0.0           //Maximum radial emission (maybe in meters, starts with zero until the MaxR)
  PhiN 8.0           //Radial velocity (I think it is only for TSmokeSpiralParams class, the particle will move in a spiral determinated by MaxR)
  PsiN 1.0           //Spin velocity in turns per Livetime (we see the texture spinning)
  LiveTime 3.0           //Time in seconds for each particle be destroyed (maximum is 128)
  EmitVelocity 2.0 3.0           //Initial velocity of each particle can be a random number in meters per second between the two numbers
  EmitFrq 10.0           //Frequency of emission in particles per second
  Wind 0.0           //Influence of wind (it is different for each class of effects)
  Size 7.0 12.0           //Initial and final size (maybe in meters of a side of the particle)
  GasResist 0.1           //Resistence of the ar (the particle will slow down until the velocity is zero and then the GasResist will be ignored and the particle is free)
  VertAccel -0.5           //Vertical acceleration in meters per second squared
  Rnd 0.5           //Influences the level of randomic numbers of the EmitVelocity and the EmitTheta (maximum of 1.9, but it can be less for some effects)
  EmitTheta 0.0 10.0           //angle of emission in degrees is a cone in the direction of the hook, can be a random angle between the two numbers.

AlfreS

  • member
  • Offline Offline
  • Posts: 31
Re: Modifying effects in BAT?
« Reply #2 on: April 24, 2018, 04:38:28 AM »

Nice! Thank you very much Vpmedia! You're very kind
Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1530
Re: Modifying effects in BAT?
« Reply #3 on: April 25, 2018, 01:30:12 AM »

You can also download an editor here stainlessbeer.weebly.com/downloads.html.

I haven't worked on it for ages, but it did work last I checked.
Logged

AlfreS

  • member
  • Offline Offline
  • Posts: 31
Re: Modifying effects in BAT?
« Reply #4 on: April 26, 2018, 07:19:42 AM »

Great! Thanks Stainless.
Logged
Pages: [1]   Go Up
 

Page created in 0.089 seconds with 24 queries.