I'm having trouble getting the gun sight to work on my armed land rover.
I can get the sight to be displayed and it will move left and right with the gun but it does not move up or down with the gun.
In the memory lod I have the gunnerview vertex defined to also be part of the OtocHlaven and OtocVez selections and the turret section of the config looks like this:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
gunnerOpticsModel = "\UKFLRGPMG\km_fnmagoptics.p3d" ;
gunAxis = "OsaHlavne";
turretAxis = "OsaVeze";
gunBeg = "usti hlavne";
gunEnd = "konec hlavne";
body = "OtocVez";
gun = "OtocHlaven";
I've noticed that the gunnerview vertex doesn't seem to have any effect in game either, when I switch to the gun sights the sights appear but not at the point where the gunnerview vertex is positioned, instead they seem to appear at the same point of view as in the normal 1st person view.
Does anyone have any ideas as to what the problem is?
I expect it's something simple I've overlooked (it usually is) .
AFAIK, you've just reached another of OFP's annoying limitations...
I believe that that is all the support the wheeled class gives to gunner sights, hence why the BIS M2 Jeep simply has the view looking down the barrel.
Originally Posted by ***LeGeNDK1LLER***
It seems to work for the FDF Patria though, unless they've defined it as something else in the config, hmmm.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> gunnerHasOptics=true;[/QUOTE]
into the config, and see if that helps.
what if you put your optic texture on the main display LOD ?
If you put it at the right distance from the gunner view, it might work...?