View Single Post
Old 03-01-09, 07:42 PM   #188
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Graf Paper
I just wonder how the type 1 directional light of searchlights is attenuated (assuming it's not some weird implementation of type 2 light).
wpn_Searchlight.wpn_Searchlight Render Controller...beam....Visual beam object.

Visual beam object is usually the type:

SearchLightEffect...SH3 SearchLightEffect Render Controller. Works only on water surface....Angle...Cone angle, in degrees..Light color.Light range (meters)....Atenuation..Light intensity = 1 / (A + B*<distance>)....A...A factor....B...B factor....HaloSize....Halo size (fraction from camera X size).....0....7...7...7......(9.."9...9...\Search LightEffect.cpp

look in \data\Library\Search_Lights.dat to see examples.
TheDarkWraith is offline   Reply With Quote