• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Help with special light effect....

Messages
36
Country
czechrepublic
Hi to all,
I would like to create this light effect...

eff.jpg


so I created this effect file :

[Library Effect]
Lifetime=5
Version=2.00
Display Name=Light Eff
Radius=200
Priority=0

[Properties]
Cockpit=1
VirtualCockpit=1
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=0.50, 0.50
Delay=0.00, 0.00
Bounce=0.00
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Rotation=0.00, 0.00
Y Rotation=0.00, 0.00
Z Rotation=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Pitch=0.00, 0.00
Bank=0.00, 0.00
Heading=0.00, 0.00

[Particle.0]
Lifetime=0.00, 0.00
Type=19
X Scale=5.00, 5.00
Y Scale=5.00, 5.00
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 1.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Shade=0
Static=1
Face=1, 1, 1

[ParticleAttributes.0]
Blend Mode=2
Texture=svetlo.bmp
Bounce=0.00
Color Start=75, 75, 75, 100
Color End=75, 75, 75, 170
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.50
uv2=0.50, 1.00
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00

This is svetlo.bmp source :

eff2.jpg


I compiled the effect into .bgl and the result is :

eff1.jpg


This effect is only 2D and it turns to me from all positions around... How to change this effect (effect source code) into 3D effect what I want (picture on top) ?

Thank you. Milan
 
Last edited:
Looks good...

How about an object, with 4 linked effects, all at different angles and positions?
 
Hi Milan.

I believe effects are actually sprites ( bitmaps stampings on the screen ). If so, then they would be 2-dimensional in nature.

Dick
 
Yes... but I am thinking the only way to do this is using the LIGHT_LAND tag. (Didn't you get that working dick in the code?) Then you will have a cone in low light.... low vis.

That is unless, Dick, you have also figured the way to get the cone to show in full vis :)
 
How about creating the shine as an object consisting of four rectangles (I think you will have to make it "twosided"). The texture file should consist of one white rectangle which you assing to every poly and then control the shine via the alpha channel (black means that there is no shine, white means full shine).

In that way no effect is needed - I tend to get into a bad mood, when I think about the effects of my airport not working, when arriving there (other tread) :mad:
 
you can try to edit the fx_lightbeam to create your effect....this is a ray of light. The way you have it wont work for what you desire reason is your bmp is 2D..not 3D.

Dave
 
Back
Top