Results 1 to 2 of 2

  Click here to go to the first Developer post in this thread.  

Thread: The vertex named "zamreny" in memory lod

  1. #1

    Post

    Hi

    Just wondered what the vertex "zamerny" in mem lod is good for and I have thought of this: Since most configfiles have this:

    class ViewOptics: ViewOpticsBase
    {
    initAngleX=0; minAngleX=-170; maxAngleX=+20;
    initAngleY=90; minAngleY=+20; maxAngleY=+170;
    initFov=0.7; minFov=0.42; maxFov=0.85;

    };
    class ViewGunner
    {
    initAngleX=0; minAngleX=-170; maxAngleX=+20;
    initAngleY=90; minAngleY=+20; maxAngleY=+170;
    initFov=0.7; minFov=0.42; maxFov=0.85;
    };
    class ViewPilot
    {
    initAngleX=5; minAngleX=-20; maxAngleX=35;
    initAngleY=0; minAngleY=-90; maxAngleY=90;
    initFov=0.7; minFov=0.42; maxFov=0.85;
    };
    class ViewCargo
    {
    initAngleX=5; minAngleX=-30; maxAngleX=30;
    initAngleY=0; minAngleY=-180; maxAngleY=180;
    initFov=0.7; minFov=0.42; maxFov=0.85;
    };

    Then my guess is that all these coordinates are relative to the point zamerny in mem lod. if this true? Or am I wrong here (like the coord. being relative to the model origo or center of gravity). Anyone?

    Brsseb (ofp.info/brsseb)

  2.   This is the last Developer post in this thread.   #2
    BI Developer Suma's Avatar
    Join Date
    Jun 27 2001
    Location
    Czech Republic
    Posts
    3,708
    </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (brsseb @ Nov. 06 2002,15:47)</td></tr><tr><td id="QUOTE">Just wondered what the vertex "zamerny" in mem lod is good for and I have thought of this: Since most configfiles have this:[/QUOTE]<span id='postcolor'>
    "zamerny" could be translated as "where to aim". It is the position AI units aim at when aiming.

    </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Then my guess is that all these coordinates are relative to the point zamerny in mem lod. if this true? Or am I wrong here (like the coord. being relative to the model origo or center of gravity). Anyone?
    [/QUOTE]<span id='postcolor'>

    All those coordinates are angles relative to given viewer position.
    Ondrej Spanel, BIS Lead Programmer

Posting Permissions

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