Results 1 to 2 of 2

Thread: My radar spinning around....my entire model!

  1. #1
    Hi

    Made a small ship (class derived SmallShip) and wantet to have a radar. Made teh osa_radar in Memory LOD (two vertices) and a rectangular block in main lod named "radar". But once ingame it wont spin around its axis, but instead it seems to orbit the entire ship like a small satelitt or an anoying bug flying around in circles.

    Is the osa_radar axis name wrong? Or is the answer in the configfile?

    brsseb

  2. #2
    Master Gunnery Sergeant
    Join Date
    Jan 7 2002
    Location
    New Zealand
    Posts
    1,088
    Hi brsseb

    It seems the radar class for ships is different from the tank class. Here is the code I used in the tiger gunboats:
    class IndicatorRadar
    {
    selection = "radar";
    axis = "osa radaru"; // this is the axis point you need to change
    angle = -360;
    min = 0;
    max = 1;
    };
    By the way check that you have 2 axis points for the axis, otherwise some strange animations happen.
    Cheers
    Klink



    We are now fully operational - that is, we are in a constant flap instead of having isolated confused situations.

    D.I.L.L.I.G.A.F.: Rebel Without a Pause

Posting Permissions

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