Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Radar

  1. #1
    The thing with the white, green and red boxes. Where's the resource defined. I've combed through resource.cpp twice and no joy. I've seen some addon change the pos.

    I had a brilliant idea that I wanna try out. Make the innermost box the size of the screen, so that the radar blips match your 3D view

  2. #2
    Quote Originally Posted by [b
    Quote[/b] ]The thing with the white, green and red boxes. Where's the resource defined. I've combed through resource.cpp twice and no joy. I've seen some addon change the pos.
    Sorry but i absolutely don't understand what you mean... ***could you be more specific ?

    WW1 ArmA:CWA Mod || Romans and Barbarians ArmA:CWA Mod
    Goodbye W0lle, we'll miss you

  3. #3
    I believe he is refering to the Box which appears at the top centre of the screen, when inside of a vehicle, for instance a helicopter or armoured vehicle, white represents destroyed/off, green represents friendly and red represents enemy.

    to the OP, sorry I can't help you with your original question.

  4. #4
    Master Gunnery Sergeant
    Join Date
    Jun 24 2007
    Posts
    1,228
    Author of the Thread

  5. #5
    Ok ok, i'm not blind !! ***

    You can find this in the config.bin (and not in the resource file), somewhere here :

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgInGameUI
    {
    access=1;
    imageCornerElement=&#34;cornern.paa&#34;;
    colorBackground&#91;&#93;={0,0,0,0.8};
    colorBackgroundCommand&#91;&#93;={0,0,0,0.3};
    colorBackgroundHelp&#91;&#93;={0,0,0,0.2};
    colorText&#91;&#93;={0.8,0.8,0.8,1};

    class SideColors
    {
    colorFriendly&#91;&#93;={0.0,0.6,0.0,1};
    colorEnemy&#91;&#93;={0.7,0.1,0.0,1};
    colorNeutral&#91;&#93;={0.8,0.8,0.8,1};
    colorCivilian&#91;&#93;={0.8,0.8,0.8,1};
    colorUnknown&#91;&#93;={0.8,0.6,0.0,1};
    };
    [/QUOTE]

    and a later after here :

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class TacticalDisplay&#58;SideColors
    {
    left=0.24;
    top=0.053;
    width=0.52;
    height=0.1;
    colorCamera&#91;&#93;={0.1,0.1,0.1,0.4};

    class Cursor
    {
    width=0.015;
    height=0.02;
    color&#91;&#93;={0.8,0.8,0.8,1};
    };
    };
    [/QUOTE]

    I guess that&#39;s all, but maybe not.

  6. #6
    Master Gunnery Sergeant
    Join Date
    Jun 24 2007
    Posts
    1,228
    Author of the Thread
    Sweet. I had no idea there&#39;s UI defined in config.cpp too, was loosing my mind searching for that and a few other things. Thank you, good sir

  7. #7
    Master Gunnery Sergeant
    Join Date
    Jun 24 2007
    Posts
    1,228
    Author of the Thread
    Just as I suspected, it is indeed quite neat (download for xvid quality).

    It&#39;s reasonably accurate but doesn&#39;t scale with zoom. Still does give a better situational awareness. Here&#39;s the settings I used:
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    class TacticalDisplay
    {
    colorFriendly&#91;&#93; = {White, 0.4};
    colorEnemy&#91;&#93; = {White, 0.4};
    colorNeutral&#91;&#93; = {White, 0.4};
    colorCivilian&#91;&#93; = {White, 0.4};
    colorUnknown&#91;&#93; = {White, 0.4};

    left = -1.3;
    top = -0.15;
    width = 3.6;
    height = 1.3;
    colorCamera&#91;&#93; = {0, 0, 0, 0.3}; // the innermost box
    class Cursor
    {
    width = 0.0;
    height = 0.0;
    color&#91;&#93; = {White, 0};
    };
    };
    [/QUOTE]

  8. #8
    Master Gunnery Sergeant Zulu1's Avatar
    Join Date
    Feb 19 2006
    Location
    Los Angeles, CA. USA
    Posts
    1,348
    Hey Pulverizer,

    I think you&#39;re on to something with this. The transparency helps not to distract you from game. The fullscreen night vision looks good too, but I suspect that is from running FDF mod?

    The only thing I would do is leave the default target colors insted of making them all the same. I wonder...could you remove all but enemy target blips? That&#39;s all we really need on the radar...right?
    [Abit Fatal1ty + Intel 630 P4 3ghz + 3gb DDR2 ram (PC4200 Dual Channel) + eVga GT240 512mb DDR5 (Overclocked) + Sound Blaster Fatal1ty x-fi

  9. #9

  10. #10
    First Lieutenant CameronMcDonald's Avatar
    Join Date
    Oct 10 2005
    Location
    Sydney, Australia.
    Posts
    5,553
    Heh, quite cool that. I wonder if you can find a way around the problem re: scaling with zoom.

    Everyone tempted to post another inane/useless/whogivesatoss topic in the A3 forum - here.

Page 1 of 2 12 LastLast

Posting Permissions

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