Jump to content

Recommended Posts

Hello all,

I am just trying to iluminate some strategic targets a little bit

and need to make one specific effect

light cone for the lamp

finished effect should look like this minus the animated fire

post-255-0-16399100-1409391485_thumb.jpg

is it possible? (just now the lightcone is part of the models LOD but I believe that it could be effect only)

Monty CZ

Share this post


Link to post
Share on other sites

...Monty.......like the light's in the airport's.....in the parking...area....maybe...?

Share this post


Link to post
Share on other sites

I don't know too much about it, but there are some floodlights in the modern Timor terrain, but only at airfields, not at other places.

 

The lights are placed on the map by the Targets.INI file, like this:

Target[150].Type=Floodlight12m
Target[150].Offset=640,9
Target[150].Heading=90
Target[151].Type=Floodlight12m
Target[151].Offset=493,-260
Target[151].Heading=270

... etc

 

And then in the relevant Airfield.INI file there is this:
// Floodlights ------------

[LightSet007]
LightOn=0.65
Color=1.0,0.96,0.44
Material=LightMaterial2
Height=11.4500
Size=1.0000
Directional=FALSE
Direction=360
Prefix=ESPoint
ESPoint001=640,9
ESPoint002=493,-260

....etc etc

 

The Airfield.INI also defines LightMaterial2, as:

[LightMaterial2]
DepthBufferCheck=TRUE
DepthBufferWrite=FALSE
RenderedInOrder=FALSE
AlphaTestEnabled=TRUE
CullMode=NO_CULL
LightEnabled=FALSE
UseLightLevel=FALSE
SpecularEnabled=FALSE
EmissiveEnabled=FALSE
FogEnabled=FALSE
AmbientColor=1.000000,1.000000,1.000000,1.000000
DiffuseColor=1.000000,1.000000,1.000000,1.000000
ZBufferOffset=0.000000
PriorityLevel=3
BlendOp=BLEND_SRC_ALPHA_ADD_DST
NumTextureStages=1
TextureStage[01].TextureName=light2.tga
TextureStage[01].MipMap=TRUE
TextureStage[01].FilterEnabled=TRUE
TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE
TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

 

But it looks like you have figured it out very nicely, those lights look very realistic.

I'm guessing that you have set Directional=TRUE rather than FALSE, but I'm not sure how you define Direction=
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

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..