Thanks Uncle Tgt for helping me to create this process. You can add a VC gunsight to any aircraft by using these three simple steps.
Step 1: paint you favorite gunsight in a 256 X 256 bitmap file and save it in the Extended 16bit 555 format or Extended 32 bit 888-8 format by using DXTBMP. Put this file in the CFS2\Texture folder. See the attached image. In this example, save your bitmap as fx_gunsight_KI44.bmp
Step 2: copy the following lines of code into a file using notepad. You can use any names. I named mine as FX_GUNSIGHT_KI44.fx. Put this file into the CFS2\Effects folder.
Step 3: add the following lines into the DP file using notepad. I put these lines just above the [GUNSTATIONS] section. This FX uses a bitmap file called fx_gunsight_KI44.bmp (which you had just painted).
[EXTRA.0]
location=0.00, 1.1, 25
effect=fx_gunsight_Ki44
[GUNSTATIONS]
Thats it! You can mount the gunsight by adjusting these numbers (location=0.00, 1.1, 25)
The first number adjust it inboard/outboard, 2nd number adjust it up/down, and the third number adjust it forward/backward. You can edit the eye point in the aircraft.cfg to align the bullets with this gunsight
[Views]
eyepoint=-4.8,0.0,2.7 (adjust the third number 2.7, + move the bullets up, - move the bullets down)
There is a strange effect in CFS2. If you put this fx effect inside the VC, you can only see it in the Free Flight mode. This is the reason that I put it at 25 ft in front of the aircraft. It seems to work for all the aircraft.
Attached are two screen shots of the VC (Wolfi's KI-44 and the AH Hurricane). Both of thes eaircraft do not have any gunsight in the VC. If you want to fly in VC mode. You need to add a gunsight.
Save the following line in a file called FX_GUNSIGHT_KI44.fx
[Library Effect]
Lifetime=5
Version=1.00
[Properties]
Cockpit=0
VirtualCockpit=1
Spot=0
Tower=0
Map=0
[Emitter.0]
Lifetime=0.0, 0.0
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=400.0,400.0
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 Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
[Particle.0]
Lifetime=0.00, 0.0
Type=19
X Scale=0.0, 0.0
Y Scale=0.0, 0.0
Z Scale=0.00, 0.00
X Scale Rate=0.0, 0.0
Y Scale Rate=0.0, 0.0
Z Scale Rate=0.0, 0.0
Drag=0.00, 0.00
Color Rate=0.17, 0.18
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Face=1, 1, 1
[ParticleAttributes.0]
Blend Mode=2
Texture=fx_gunsight_KI44.bmp
Bounce=0.00
Color Start=255,255,0, 255
Color End=255,255,0, 255
Jitter Distance=0.00
Jitter Time=0.00
TempK=107.00
TempRate=0.00
uv1=0.00, 0.00
uv2=1.00, 1.00
X Scale Goal=3.00
Y Scale Goal=3.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00
[Emitter.1]
Lifetime=0.00, 0.00
Delay=0.00, 0.00
Bounce=0.00
No Interpolate=1
Rate=400.0,400.0
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 Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
[Particle.1]
Lifetime=0.007, 0.007
Type=19
X Scale=1.2,1.2
Y Scale=1.2,1.2
Z Scale=0.00, 0.00
X Scale Rate=0.0, 0.0
Y Scale Rate=0.0, 0.0
Z Scale Rate=0.0, 0.0
Drag=0.00, 0.00
Color Rate=0.17, 0.18
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Rotation=0.00, 0.00
Face=1, 1, 1
[ParticleAttributes.1]
Blend Mode=2
Texture=fx_gunsight_KI44.bmp
Bounce=0.00
Color Start=255,255,0, 255
Color End=255,255,0, 255
Jitter Distance=0.00
Jitter Time=0.00
TempK=107.00
TempRate=0.00
uv1=0.00, 0.00
uv2=1.00, 1.00
X Scale Goal=3.00
Y Scale Goal=3.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00
Bookmarks