Jump to content

Recommended Posts

Posted

Yeah.. i miss smoke.

 

especialy on the Thunderbirds skin.

 

Always loved turning on the wingtip smoke in Sturmovik, before attacking...

 

(hey, who ever said the enemy cant have Death and.. Entertainment)

 

 

PP

Posted

PC- This was a response from Digital Overlord to that very topic I asked about back in January and wing tip smoke Give it a try.

 

D.O. wrote:

 

"Set Wingtip Vortex Emitter to 0.0 G and it will be on the Whole Time Unless you pull -G's

 

HasVortexEmmiter=TRUE

VortexEmmiterName=ContrailEmitter

VortexG=0.0

 

 

Or you Can Just add 2 Dud Engines Under the Engines and Change it to ExhuastEmmiter=ContrailEmmiter.

 

or if you want you can make a TGA and Make your own emmiter and add it to the particle system.INI."

Posted

This is similar to what you are looking for. I made this for Blue Angels/Thunderbirds singgle smoke generator type stuff, but it could be modified to work as wingtip smoke as well.

 

http://skunkworks.free.fr/forum/phpBB2/vie...topic.php?t=628

 

In the aircraft data.ini file you will find these lines in the outer wings

 

VortexEmitterName=WingtipVortexEmitter

VortexPosition=-4.57,-7.13,0.47 //(don't use this line, use the one from the plane you want to add smoke to)

VortexG=2.5

 

If you edit it a little, you can get full time wingtip smoke:

 

VortexEmitterName=AirshowSmokeEmitter

VortexPosition=-4.57,-7.13,0.47

VortexG=1.0

 

I'm curious to see how it turns out, post some screenshots if you can :D

Posted

Thanks guys for the answers and help. I am trying Sal's suggestions now and will let you all know how they turn out. I expect I will have some questions soon... :wink:

Posted

So far fellas, no joy. As per your article in the Skunkworks forum, I changed the particlesystem.ini file in the flight folder to reflect the new values for EmitterType094. I then edited the A4-E data file in the objects directory to reflect the lines you stated in your post for the VortexEmitter. Both files reside in their respective directories. I'd save the files after editing, close them, and restart the game to make sure the changes took effect.

I tried Dueces suggestion too. I even experimented with ingame resolutions to name one different experiment that might somehow have an effect. All the i's are dotted and t's crossed. Made sure the caps are where they should be, etc.

I did not however try the regular engine setup you mentioned in your skunkworks test as it is late and I have to hit the hay. Will try that tommorrow just to make sure the smoke emitter setup in the particlesystem file is correct. Ill let you know how it goes. Thanks again fellas.

Posted

I tried the engine setup, but i moved the exhaust position to the wing tip position. This produced smoke from my starboard wingtip.

This however moves the afterburner to the wings also. NOT GOOD

 

I'll keep you posted as to the progress

Posted
This however moves the afterburner to the wings also. NOT GOOD

 

LOL! That had to look funny, ya oughta post a screenie of that, hehehe.

 

I was wondering while I tinker with this, would it be possible to make a new EmitterType for the particlesystem.ini file for our smoke and keep the ship wake Emitter intact?

Posted

Pcpilot, I copied and pasted the emittertype to the bottom of the list of emitters and put the number in the next numerical order

like so:

[EmitterType314] 

Name=AirshowSmokeEmitter 

EmissionType=POINT_EMITTER 

UpdateType=NON_MOVING 

MaxVisibleDistance=10000.000000 

EmissionRate=0.20000 

ParticleUpdateType=RANDOM_MOVING 

ParticleRenderType=CONNECTED_SPRITE 

ParticleLifeTime=18.000000 

ParticleWeight=0.00000 

ParticleWindFactor=0.5 

ParticleColorTableType=TABLE 

ParticleColor[01].Time=0.000000 

ParticleColor[01].Value=1.000000,1.000000,1.000000,0.00000 

ParticleColor[02].Time=0.009000 

ParticleColor[02].Value=1.000000,1.000000,1.000000,0.900000 

ParticleColor[03].Time=0.750000 

ParticleColor[03].Value=1.000000,1.000000,1.000000,0.100000 

ParticleColor[04].Time=1.000000 

ParticleColor[04].Value=1.000000,1.000000,1.000000,0.000000 

ParticleSizeTableType=TABLE 

ParticleSize[01].Time=0.000000 

ParticleSize[01].Value=0.0080000 

ParticleSize[02].Time=0.020000 

ParticleSize[02].Value=4.800000 

ParticleSize[03].Time=0.850000 

ParticleSize[03].Value=16.000000 

TextureMaterial=SmokeTrailMaterial

Posted

OK guys I got it !!!!

 

open your particlesystem.ini, the first emitter you see( [001] ) is the wing tip vortex emitter. Copy the AirshowSmokeEmitter in its place, but leave the name like this:

WingtipVortexEmitter

And leave the emitter number [001]

EXAMPLE:

[EmitterType001]

Name=WingtipVortexEmitter 

EmissionType=POINT_EMITTER 

UpdateType=NON_MOVING 

MaxVisibleDistance=10000.000000 

EmissionRate=0.20000 

ParticleUpdateType=RANDOM_MOVING 

ParticleRenderType=CONNECTED_SPRITE 

ParticleLifeTime=18.000000 

ParticleWeight=0.00000 

ParticleWindFactor=0.5 

ParticleColorTableType=TABLE 

ParticleColor[01].Time=0.000000 

ParticleColor[01].Value=1.000000,1.000000,1.000000,0.00000 

ParticleColor[02].Time=0.009000 

ParticleColor[02].Value=1.000000,1.000000,1.000000,0.900000 

ParticleColor[03].Time=0.750000 

ParticleColor[03].Value=1.000000,1.000000,1.000000,0.100000 

ParticleColor[04].Time=1.000000 

ParticleColor[04].Value=1.000000,1.000000,1.000000,0.000000 

ParticleSizeTableType=TABLE 

ParticleSize[01].Time=0.000000 

ParticleSize[01].Value=0.0080000 

ParticleSize[02].Time=0.020000 

ParticleSize[02].Value=4.800000 

ParticleSize[03].Time=0.850000 

ParticleSize[03].Value=16.000000 

TextureMaterial=SmokeTrailMaterial

 

I also did this for the ContrailEmitter

 

 

Next, open the folder of the aircraft you want to apply smoke to.

open the data.ini and paste this into the left and right outer wing entries:

VortexG=-7.5.-7.0,-6.5,-6.0,-5.5,-5.0,-4.5,-4.0,-3.5,-3.0,-2.5,-2.0,-1.5,-1.00.0,0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0,4.5,5.0,5.0,6.0,6.5,7.0,7.5

EXAMPLE (from the F-4B_data.ini):

[LeftOuterWing]

ParentComponentName=LeftWing

ModelNodeName=wing_left_outer

DestroyedNodeName=DAM_wing_left_outer

ShowFromCockpit=TRUE

DetachWhenDestroyed=TRUE

DamageRating=DISABLED

MassFraction=0.029

HasAeroCoefficients=TRUE

LiftSurface=TRUE

CL0=0.0248

CLa=0.6532

CD0=0.0008

CDL=0.0037

Cmq=-0.2457

Cmad=-0.2229

Clb=0.0137

Clp=-0.0335

Clr=0.0296

Cnb=0.0424

Cnp=0.0011

Cnr=-0.0019

CL0MachTableNumData=7

CL0MachTableDeltaX=0.40

CL0MachTableStartX=0.00

CL0MachTableData=0.976,1.000,1.087,1.212,0.858,0.692,0.577

CLaMachTableNumData=7

CLaMachTableDeltaX=0.40

CLaMachTableStartX=0.00

CLaMachTableData=0.961,1.000,1.147,1.168,0.698,0.491,0.350

CD0MachTableNumData=7

CD0MachTableDeltaX=0.40

CD0MachTableStartX=0.00

CD0MachTableData=1.778,1.000,1.060,2.750,3.389,3.659,3.868

CDLAlphaTableNumData=15

CDLAlphaTableDeltaX=4.00

CDLAlphaTableStartX=-28.00

CDLAlphaTableData=17.871,12.716,8.431,5.017,2.473,0.799,-0.004,0.063,1.000,2.808,5.485,9.034,13.452,18.741,24.900

CmqMachTableNumData=7

CmqMachTableDeltaX=0.40

CmqMachTableStartX=0.00

CmqMachTableData=0.886,1.000,1.773,6.920,1.494,0.690,0.672

ClbAlphaTableNumData=15

ClbAlphaTableDeltaX=4.00

ClbAlphaTableStartX=-28.00

ClbAlphaTableData=-0.384,-0.211,-0.038,0.135,0.308,0.481,0.654,0.827,1.000,1.173,1.346,1.519,1.692,1.865,2.038

ClpAlphaTableNumData=15

ClpAlphaTableDeltaX=4.00

ClpAlphaTableStartX=-28.00

ClpAlphaTableData=9.060,6.741,4.796,3.226,2.031,1.211,0.766,0.696,1.000,1.679,2.733,4.162,5.966,8.145,10.698

ClrAlphaTableNumData=15

ClrAlphaTableDeltaX=4.00

ClrAlphaTableStartX=-28.00

ClrAlphaTableData=-4.134,-3.492,-2.850,-2.208,-1.567,-0.925,-0.283,0.358,1.000,1.642,2.283,2.925,3.567,4.209,4.850

CnpAlphaTableNumData=15

CnpAlphaTableDeltaX=4.00

CnpAlphaTableStartX=-28.00

CnpAlphaTableData=-176.345,-108.703,-62.204,-32.111,-14.361,-5.362,-1.841,-0.718,1.000,6.315,18.344,40.422,76.232,129.967,206.535

CnrAlphaTableNumData=15

CnrAlphaTableDeltaX=4.00

CnrAlphaTableStartX=-28.00

CnrAlphaTableData=-13.125,-10.360,-7.882,-5.688,-3.780,-2.157,-0.819,0.233,1.000,1.482,1.678,1.589,1.215,0.555,-0.390

XacMachTableNumData=7

XacMachTableDeltaX=0.40

XacMachTableStartX=0.00

XacMachTableData=-0.520,-0.533,-0.610,-1.236,-1.411,-1.582,-1.666

CheckStall=TRUE

CLmax=0.6427

AlphaStall=23.36

AlphaMax=35.95

AlphaDepart=37.90

Ymac=-3.67

MinExtentPosition=  -5.88,-2.83,-0.68

MaxExtentPosition=  -4.04,-0.19,-0.44

CollisionPoint[001]=-5.88,-1.69,-0.37

CollisionPoint[002]=-5.88,-3.02,-0.37

HasVortexEmitter=TRUE

VortexEmitterName=WingtipVortexEmitter

VortexPosition=5.84,-1.75,-0.34

VortexG=0.0,0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0,4.5,5.0,5.0,6.0,6.5,7.0,7.5

SystemName[001]=LeftOuterSlat

SystemName[002]=LeftPositionLight





[RightOuterWing]

ParentComponentName=RightWing

ModelNodeName=wing_right_outer

DestroyedNodeName=DAM_wing_right_outer

ShowFromCockpit=TRUE

DetachWhenDestroyed=TRUE

DamageRating=DISABLED

MassFraction=0.029

HasAeroCoefficients=TRUE

LiftSurface=TRUE

CL0=0.0248

CLa=0.6532

CD0=0.0008

CDL=0.0037

Cmq=-0.2457

Cmad=-0.2229

Clb=0.0137

Clp=-0.0335

Clr=0.0296

Cnb=0.0424

Cnp=0.0011

Cnr=-0.0019

CL0MachTableNumData=7

CL0MachTableDeltaX=0.40

CL0MachTableStartX=0.00

CL0MachTableData=0.976,1.000,1.087,1.212,0.858,0.692,0.577

CLaMachTableNumData=7

CLaMachTableDeltaX=0.40

CLaMachTableStartX=0.00

CLaMachTableData=0.961,1.000,1.147,1.168,0.698,0.491,0.350

CD0MachTableNumData=7

CD0MachTableDeltaX=0.40

CD0MachTableStartX=0.00

CD0MachTableData=1.778,1.000,1.060,2.750,3.389,3.659,3.868

CDLAlphaTableNumData=15

CDLAlphaTableDeltaX=4.00

CDLAlphaTableStartX=-28.00

CDLAlphaTableData=17.871,12.716,8.431,5.017,2.473,0.799,-0.004,0.063,1.000,2.808,5.485,9.034,13.452,18.741,24.900

CmqMachTableNumData=7

CmqMachTableDeltaX=0.40

CmqMachTableStartX=0.00

CmqMachTableData=0.886,1.000,1.773,6.920,1.494,0.690,0.672

ClbAlphaTableNumData=15

ClbAlphaTableDeltaX=4.00

ClbAlphaTableStartX=-28.00

ClbAlphaTableData=-0.384,-0.211,-0.038,0.135,0.308,0.481,0.654,0.827,1.000,1.173,1.346,1.519,1.692,1.865,2.038

ClpAlphaTableNumData=15

ClpAlphaTableDeltaX=4.00

ClpAlphaTableStartX=-28.00

ClpAlphaTableData=9.060,6.741,4.796,3.226,2.031,1.211,0.766,0.696,1.000,1.679,2.733,4.162,5.966,8.145,10.698

ClrAlphaTableNumData=15

ClrAlphaTableDeltaX=4.00

ClrAlphaTableStartX=-28.00

ClrAlphaTableData=-4.134,-3.492,-2.850,-2.208,-1.567,-0.925,-0.283,0.358,1.000,1.642,2.283,2.925,3.567,4.209,4.850

CnpAlphaTableNumData=15

CnpAlphaTableDeltaX=4.00

CnpAlphaTableStartX=-28.00

CnpAlphaTableData=-176.345,-108.703,-62.204,-32.111,-14.361,-5.362,-1.841,-0.718,1.000,6.315,18.344,40.422,76.232,129.967,206.535

CnrAlphaTableNumData=15

CnrAlphaTableDeltaX=4.00

CnrAlphaTableStartX=-28.00

CnrAlphaTableData=-13.125,-10.360,-7.882,-5.688,-3.780,-2.157,-0.819,0.233,1.000,1.482,1.678,1.589,1.215,0.555,-0.390

XacMachTableNumData=7

XacMachTableDeltaX=0.40

XacMachTableStartX=0.00

XacMachTableData=-0.520,-0.533,-0.610,-1.236,-1.411,-1.582,-1.666

CheckStall=TRUE

CLmax=0.6427

AlphaStall=23.36

AlphaMax=35.95

AlphaDepart=37.90

Ymac=3.67

MinExtentPosition=   5.88,-2.83,-0.68

MaxExtentPosition=   4.04,-0.19,-0.44

CollisionPoint[001]= 5.88,-1.69,-0.37

CollisionPoint[002]= 5.88,-3.02,-0.37

HasVortexEmitter=TRUE

VortexEmitterName=WingtipVortexEmitter

VortexPosition=-5.84,-1.75,-0.34

VortexG=0.0,0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0,4.5,5.0,5.0,6.0,6.5,7.0,7.5

SystemName[001]=RightOuterSlat

SystemName[002]=RightPositionLight

Posted

Eagle...we stand in awe...I havent had a chance yet today to fool with this anymore, but will try this in a little while and see what it does. Do you think there is a way to make the smoke thinner? Maybe something to do with the particle size under emitter type?

 

Also, I see there is a color code. Is there a way to change the colors say to red and green? I dont know squat about those codes showing under particle color.

 

Again...WOW! :shock: :D

Posted

O.K. here's the latest findings.

After writing a somewhat lengthy tutorial on using the smoke, I found it simpler than I first thought.

 

the first entry in your particlesystem.ini should read as follows:

[EmitterType001]

Name=WingtipVortexEmitter

EmissionType=POINT_EMITTER

UpdateType=NON_MOVING

MaxVisibleDistance=10000.000000

EmissionRate=0.20000

ParticleUpdateType=RANDOM_MOVING

ParticleRenderType=CONNECTED_SPRITE

ParticleLifeTime=18.000000

ParticleWeight=0.00000

ParticleWindFactor=0.5

ParticleColorTableType=TABLE

ParticleColor[01].Time=0.000000

ParticleColor[01].Value=0.300000,0.400000,0.500000,0.00000

ParticleColor[02].Time=0.009000

ParticleColor[02].Value=0.300000,0.500000,0.300000,0.400000

ParticleColor[03].Time=0.750000

ParticleColor[03].Value=0.300000,0.400000,0.000000,0.500000

ParticleColor[04].Time=1.000000

ParticleColor[04].Value=0.500000,0.400000,0.300000,0.000000

ParticleSizeTableType=TABLE

ParticleSize[01].Time=0.000000

ParticleSize[01].Value=0.0250000

ParticleSize[02].Time=0.500000

ParticleSize[02].Value=3.600000

ParticleSize[03].Time=1.000000

ParticleSize[03].Value=6.000000

TextureMaterial=SmokeTrailMaterial

 

The ParticleSize values that are bold reflect the biggest noticable difference in size.

 

The entry for the ContrailEmitter should read as follows:

[EmitterType004]

Name=ContrailEmitter 

EmissionType=POINT_EMITTER 

UpdateType=NON_MOVING 

MaxVisibleDistance=10000.000000 

EmissionRate=0.20000 

ParticleUpdateType=RANDOM_MOVING 

ParticleRenderType=CONNECTED_SPRITE 

ParticleLifeTime=18.000000 

ParticleWeight=0.00000 

ParticleWindFactor=0.5  

ParticleColorTableType=TABLE 

ParticleColor[01].Time=0.000000 

ParticleColor[01].Value=0.300000,0.400000,0.500000,0.00000 

ParticleColor[02].Time=0.009000 

ParticleColor[02].Value=0.300000,0.500000,0.300000,0.400000 

ParticleColor[03].Time=0.750000 

ParticleColor[03].Value=0.300000,0.400000,0.000000,0.500000 

ParticleColor[04].Time=1.000000 

ParticleColor[04].Value=0.500000,0.400000,0.300000,0.000000

ParticleSizeTableType=TABLE

ParticleSize[01].Time=0.000000

ParticleSize[01].Value=0.800000

ParticleSize[02].Time=0.01000

ParticleSize[02].Value=0.800000

ParticleSize[03].Time=0.500000

ParticleSize[03].Value=50.000000

ParticleSize[04].Time=1.000000

ParticleSize[04].Value=100.000000

TextureMaterial=SmokeTrailMaterial

 

The colors are a matter of tweaking numbers. I don't know the relation between numbers and colors but the one thing I noticed is that if the value starts with 1.xxxxx it will be white no matter what.

Starting with 0.xxx I have been able to change the smoke shades.

I will highlight this as well.

 

Enjoy

Posted

Great Job! I figured that someone could take my basic work and make it happen. But I don't see why you can't add the emitter to the end of the list that way. The number I had originally 094, was for the pre-patch particlesystem.ini file.

 

The color works like this: Red,Green,Blue,Opacity and the values are between 0-100% with 1.0 being 100%

Posted

Dang! You are the MAN! :D Thank you for the time and effort Eagle, this is outstanding. Somebody give this man an Achievement Medal!

Posted

The size is set for various points in the life of the particle. The time parameter is between 0 and 1 with 0 being the size when born and the 1 is the size of the particle when it dies. Points in between 0-1 set the size at that percentage of its life.

 

For example:

 

ParticleSize[01].Time=0.000000

ParticleSize[01].Value=0.800000

ParticleSize[02].Time=0.01000

ParticleSize[02].Value=0.800000

 

 

The partcile starts at size .8 and stays that way through 1% of its life

 

ParticleSize[03].Time=0.500000

ParticleSize[03].Value=50.000000

 

It then grows to size 50 by the halfway point in its life

 

ParticleSize[04].Time=1.000000

ParticleSize[04].Value=100.000000

 

And finally in the last half, it grows to size 100. At this point the particle is also becoming more transparent.

Posted

Thanks Sal, I had a feeling the numbers were related to size, just didnt know what the correlation was with size to numbers. Still not sure about the colors, gonna hafta experiment there.

 

Now Eagle, are we still changing the vortexG values to what you stated above?

ie; VortexG=-7.5.-7.0,-6.5,-6.0,-5.5,-5.0,-4.5,-4.0,-3.5,-3.0,-2.5,-2.0,-1.5,-1.00.0,0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0,4.5,5.0,5.0,6.0,6.5,7.0,7.5

 

By the way Eagle, could you please email me your tutorial? pcpilot@cox.net

 

Thanks...

Posted

Not sure why there are so many numbers in the VortexG parameter, all you need is -4.0 and any G value above that will trigger the smoke on.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..