Jump to content

Recommended Posts

Posted

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

Posted

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=
 

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