Download KONCEPT

Discussion in 'Modifications' started by Arch, Aug 19, 2011.

  1. Arch

    Arch Legions Developer

    A HUD I've been working on entitled KONCEPT.​

    Full Image (Kinda long and doesn't look good on the forums.)​

    ** Back up your mods folder
    ** Please, if you have any bugs/errors it really helps if you post a screenshot of the problem with a description to follow. Helps me figure out what needs to fixed.

    *Place the png in hud folder "\live\client\gui\images\hud"
    *Place the folder and the .cs files in your mods folder "\live\mods\autoexec"

    This currently will only work on screen sizes that have a width of 1280px. To get it to work on your resolution you will have to edit the script a few places. And it will not work if you width is greater than 3000 pixels. (PM me if you do have a res >3000 px)​

    To get it to work right...​

    Open up Koncept.cs and find...​
    Code:
    // chat upper container
    %index = %this.addChatContainerHudElement();
    %this.setHudElementPosition(%index, 1500, 71);
    %this.setHudElementPositionAnchor(%index, "HCenter", "Bottom");
    %this.setHudElementBaseTextureSize(%index, 1280, 96);
    %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
    %this.setHudElementParent(%index, $HudElement::MessageContainer);
    %this.setHudElementRenderWhenDead(%index, true);
    //%this.setHudElementDrawRect(%index, true);
    $HudElement::ChatBorderContainer = %index;
    Change the "1280" to your resolution width in pixels.

    Next find...
    Code:
      // chat container
      %index = %this.addHudElement();
      %this.setHudElementPosition(%index, 640, 8);
      %this.setHudElementPositionAnchor(%index, "HCenter", "Top");
      %this.setHudElementBaseTextureSize(%index, 1280, 80);
      %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
      %this.setHudElementParent(%index, $HudElement::ChatBorderContainer);
      %this.setHudElementRenderWhenDead(%index, true);
      //%this.setHudElementDrawRect(%index, true);
      $HudElement::ChatContainer = %index;
    Divide your resolution width is half and replace the "640" with your divided width. Replace the "1280" with your resolution width again.

    Next find...
    Code:
      // chat display element
      %index = %this.addChatDisplayHudElement();
      %this.setHudElementPosition(%index, 640, 80);
      %this.setHudElementPositionAnchor(%index, "HCenter", "Bottom");
      %this.setHudElementBaseTextureSize(%index, 1270, 0);
      %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom");
      %this.setHudElementParent(%index, $HudElement::ChatContainer);
      %this.setHudElementResponder(%index, $HudElement::ChatBorderContainer);
      %this.setHudElementRenderWhenDead(%index, true);
      //%this.setHudElementDrawRect(%index, true);
      $HudElement::CustomChatInterface= %index;
    Replace the "640" with your divided width again. Subtract 10 pixels from your resolution width and place it where the "1270" is.

    And you should be all set. PM me or Place a comment if you have any questions or problems.

    PSD for the base frame is included. Mod if you want. ;)

    ========= Updates Below Here =========​

    Update 1: Added Velocity/OD warnings. (Thanks to PropKid for the idea)
    Save the images below (the three blocks are the images) to the Koncept folder and add this to the bottom of Koncept.cs before the closed brackets and save it.

    Code:
    //
    // OVERDRIVE & VELOCITY REPLACEMENT
    //
     
    // ODBase Frame
    %index = %this.AddHudElement();
    %this.setHudElementPosition(%index, 975, 548);
    %this.setHudElementTexture(%index, "mods/autoexec/Koncept/VODBG");
    %this.setHudElementParent(%index, $HudElement::BaseContainer);
    %this.setHudElementPositionAnchor(%index, "Right", "Bottom");
    %this.setHudElementRenderWhenDead(%index, true);
    //%this.setHudElementDrawRect(%index, true);
    $HudOverlay::ODBaseFrame = %index;
     
    // Overdrive Warning
    %index = %this.addWarningHudElement();
    %this.setHudElementPosition(%index, 975, 548);
    %this.setHudElementPositionAnchor(%index, "Right", "Bottom");
    %this.setHudElementTexture(%index, "mods/autoexec/Koncept/Vel");
    %this.setOverdriveWarning(%index, OverdriveWarnSound);
    %this.setHudElementParent(%index, $HudElement::BaseContainer);
    $HudElement::OverdriveWarning = %index;
     
    // Overdrive Indicator
    %index = %this.addHudElement();
    %this.setHudElementPosition(%index, 975, 548);
    %this.setHudElementPositionAnchor(%index, "Right", "Bottom");
    %this.setHudElementTexture(%index, "mods/autoexec/Koncept/OD");
    %this.setOverdriveIndicator(%index);
    %this.setHudElementParent(%index, $HudElement::BaseContainer);
    $HudElement::OverdriveIndicator = %index;
    OD.png Vel.png VODBG.png

    Update Two: Since a few people were asking, here's some colored bars.
    Download

    *Rename "BarFill.png" inside the KONCEPT folder to something else
    *Place the 2 pngs in the zip into the folder
    *Open up Koncept.cs and find this chunk.
    Code:
    // Energy Bar
    %index = $HudElement::EnergyBar;
    %this.setHudElementTexture(%index, "mods/autoexec/Koncept/BarFill");
    %this.setHudElementPosition(%index, 1334, 82);
    %this.setHudElementPositionAnchor(%index, "HCenter", "VCenter");
    %this.setHudElementParent(%index, $HudElement::MainContainer);
    %this.setEnergyBar(%index, "mods/autoexec/Koncept/BarEmpty", "Right");
    $HudElement::EnergyBar = %index;
    
    and replace it with this chunk

    Code:
     
    // Energy Bar
    %index = $HudElement::EnergyBar;
    %this.setHudElementTexture(%index, "mods/autoexec/Koncept/BarFill2");
    %this.setHudElementPosition(%index, 1334, 82);
    %this.setHudElementPositionAnchor(%index, "HCenter", "VCenter");
    %this.setHudElementParent(%index, $HudElement::MainContainer);
    %this.setEnergyBar(%index, "mods/autoexec/Koncept/BarEmpty", "Right");
    $HudElement::EnergyBar = %index;
    
    Update 3: A little gradient BG behind the KillPop script. Doesn't sound like much but it was actually quite difficult to figure out how to write it into the script. The BG appears and disappears with the KillPop lines.
    Download

    *Place the KillPop.cs file into "mods\autoexec"
    *Place BG.png into "mods\autoexec\Koncept"

    Should be good to go. Pictures and a short clip (if you want) will be posted soon.

    Update 4: *Saved for when I figure out how to add the BG to the flag actions text*
     
  2. A2

    A2 Member

    Ah looks very interesting!
     
    Arch likes this.
  3. skypredator

    skypredator Member

    Ohmahgawsh. I love it. :)
     
    Arch and FireBlitz like this.
  4. FireBlitz

    FireBlitz Member

    Dude, this is so-- ! *eyegasm*
     
    Arch likes this.
  5. Arch

    Arch Legions Developer

    Download and instructions on how to get it to work properly are above.
     
  6. RedInk

    RedInk Member

    this is pimp. good job
     
    Arch likes this.
  7. Comashift

    Comashift Member

    very organized and sleek!
     
    Arch likes this.
  8. Arch

    Arch Legions Developer

    I wanted to seperate the the two lines of Flaghud and place them on either side of the nade/ammo count but I have no idea how to seperate and move then.
     
  9. Propkid

    Propkid Member

    Really nice. Are you going to update it at all or is this the final version?
     
  10. Arch

    Arch Legions Developer

    I will be updating it. Do you have a suggestion?
     
  11. Dabbleh

    Dabbleh Legions Developer

    SEX.

    Suggestion: Maybe also to go with it change the Velocity/OD images.
    If you need any help with all the images 'n' *chocolate cookies*, hit me up. ^_^
     
  12. Arch

    Arch Legions Developer

    Oo, forgot about those.
     
  13. Propkid

    Propkid Member

    Not using it ATM and I don't know how much can you do with this, but having the health bar turn red when low on hp, and having the bottom-most bar a bit bigger (ie. taller, together with all the health bars and fonts in it). Also, a sick thing you could do is intead of having Velocity Warning/ OD images you could have an indicator in the right bottom corner on the bar that would turn orange for Velocity Warning and red for OD... like a big round LED light that's blue by default... kinda like this guy's eye youknow... Just suggesting ^^'
     
  14. Gravis

    Gravis Member

    Looks like something screwed up, which may be on part the fact that I had the Ultraraptor HUD. In any case, I deleted his HUD and allowed the game to reinstall the original stuff, placed your HUD into the folders (along with CS files in mod folder) and it almost all works...except for the graphics. Everything is in the right place, though there is no health/energy bar there. Don't understand the problem.

    P.S. My res is 1280 x 800.
    P.S.S. - There is no PSD file in the rar. Check rar file again.
     
  15. U8er

    U8er Member

    This is too cool, nice work!
     
  16. Arch

    Arch Legions Developer

    I don't see why there would be a problem. Works fine on mine and I have the same res. First of all, did you put the Koncept folder in the mods folder along with the cs files? If there isn't a folder there the script tries to link to the image that's not there and won't display anything at all. If it is in here, post a picture so I can see what's going on.

    There is a psd, it's in the Koncept folder.

    The height can easily be changed. The indicator idea is very cool and very simple to do. Just a matter of changing the Velocity/OD images to glowing dots and moving them to the corner. I will do this, thanks for the idea.
     
    Propkid likes this.
  17. PureWhoopAss

    PureWhoopAss Legions Developer

    nice work, I think I might make up some mock up interfaces and have you guys interlay them into the game.
     
  18. Arch

    Arch Legions Developer

    Pm me.
     
  19. Abandoned

    Abandoned Member

    I like this, but the need of changes to the scripting discourages me to use it slightly.

    Nevertheless I'll be giving this Koncept a go ASAP. (I think it's better than your Minimalistic HUD) <3
     
  20. Arch

    Arch Legions Developer

    Yeah, way better. I spend more time on it.

    Updated.