Hi,
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">
gunnerhasoptics=1;
gunnerOpticsModel = "\UKFLRGPMG\km_fnmagoptics.p3d" ;
class Turret
{
gunAxis = "OsaHlavne";
turretAxis = "OsaVeze";
soundServo[]={};
gunBeg = "usti hlavne";
gunEnd = "konec hlavne";
minElev=-15; maxElev=+40;
minTurn=-60; maxTurn=+60;
body = "OtocVez";
gun = "OtocHlaven";
};
[/QUOTE]
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) .
Cheers
DLM
HOME
Reply With Quote



