Results 1 to 5 of 5

Thread: Wheeled vehicle gunner optics

  1. #1
    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 = &#34;&#92;UKFLRGPMG&#92;km_fnmagoptics.p3d&#34; ;

    class Turret
    {
    gunAxis = &#34;OsaHlavne&#34;;
    turretAxis = &#34;OsaVeze&#34;;
    soundServo&#91;&#93;={};

    gunBeg = &#34;usti hlavne&#34;;
    gunEnd = &#34;konec hlavne&#34;;

    minElev=-15; maxElev=+40;
    minTurn=-60; maxTurn=+60;

    body = &#34;OtocVez&#34;;
    gun = &#34;OtocHlaven&#34;;
    };
    [/QUOTE]

    I&#39;ve noticed that the gunnerview vertex doesn&#39;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&#39;s something simple I&#39;ve overlooked (it usually is) .
    Cheers
    DLM

  2. #2
    Major DM's Avatar
    Join Date
    Aug 6 2002
    Location
    Somewhere in the world
    Posts
    7,637
    AFAIK, you&#39;ve just reached another of OFP&#39;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.
    Quote Originally Posted by ***LeGeNDK1LLER*** View Post
    well you are 1 of the greatest examples that pressing the reply button doesn't mean necessarily answering.

  3. #3
    It seems to work for the FDF Patria though, unless they&#39;ve defined it as something else in the config, hmmm.

  4. #4
    Major DM's Avatar
    Join Date
    Aug 6 2002
    Location
    Somewhere in the world
    Posts
    7,637
    hmm...

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

  5. #5
    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...?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •