Download KONCEPT

Arch

Legions Developer
Cant see my chatbox (barely) and my it took my Killpopups doesnt show :( -BossRoss
Did you follow the instructions I posted? If so, post a screenshot.

This should only affect the font size of the Killpopups mod. It will not make them disappear.
 

Armageddon

Teapot
I just installed and noticed no death messages are showing up in the chatbox like "%Killer shattered %Victim" besides that it's nice. Also no join messages or anything other then chat messages.
 

Propkid

Member
Installed it, played for a while without changing the resolution so it fits my screen, then I did so and the game itself didn't want to launch; it just quit right after the screen turned black for the game to start. Moved the mod files out of \live, will experiment later...
How can a HUD mod make the game not work? o.0
 

Arch

Legions Developer
I just installed and noticed no death messages are showing up in the chatbox like "%Killer shattered %Victim" besides that it's nice. Also no join messages or anything other then chat messages.
What is your screen res. width?
Copy everything you have after
Code:
//
// CHAT FRAME EDIT
//
in the code and paste it on here.

Installed it, played for a while without changing the resolution so it fits my screen, then I did so and the game itself didn't want to launch; it just quit right after the screen turned black for the game to start. Moved the mod files out of \live, will experiment later...
How can a HUD mod make the game not work? o.0
Do the same as above please.
 

Armageddon

Teapot
1920x1200 Res

Code:
    // Message Container
    %index = %this.addHudElement();
    %this.setHudElementPosition(%index, 1500, 3);
    %this.setHudElementPositionAnchor(%index, "HCenter", "Top");
    %this.setHudElementBaseTextureSize(%index, 2000, 73);
    %this.setHudElementScreenAnchor(%index, "Top");
    %this.setHudElementParent(%index, $HudElement::MainContainer);
    %this.setHudElementRenderWhenDead(%index, true);
    //%this.setHudElementDrawRect(%index, true);
    $HudElement::MessageContainer = %index;

    // chat upper container
    %index = %this.addChatContainerHudElement();
    %this.setHudElementPosition(%index, 1000, 71);
    %this.setHudElementPositionAnchor(%index, "HCenter", "Bottom");
    %this.setHudElementBaseTextureSize(%index, 1920, 96);
    %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
    %this.setHudElementParent(%index, $HudElement::MessageContainer);
    %this.setHudElementRenderWhenDead(%index, true);
    //%this.setHudElementDrawRect(%index, true);
    $HudElement::ChatBorderContainer = %index;

  // fill
  %index = %this.addHudElement();
  %this.setHudElementPosition(%index, 6, 6);
  %this.setHudElementPositionAnchor(%index, "Top", "Left");
  %this.setHudElementTexture(%index, "live/mods/autoexec/MiniHud/ChatFill");
  %this.setHudElementBaseTextureSize(%index, 2000, 84);
  %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
  %this.setHudElementParent(%index, $HudElement::ChatBorderContainer);
  %this.setHudElementRenderWhenDead(%index, true);
  //%this.setHudElementDrawRect(%index, true);

  // chat container
  %index = %this.addHudElement();
  %this.setHudElementPosition(%index, 640, 8);
  %this.setHudElementPositionAnchor(%index, "HCenter", "Top");
  %this.setHudElementBaseTextureSize(%index, 960, 80);
  %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
  %this.setHudElementParent(%index, $HudElement::ChatBorderContainer);
  %this.setHudElementRenderWhenDead(%index, true);
  //%this.setHudElementDrawRect(%index, true);
  $HudElement::ChatContainer = %index;

  // chat display element
  %index = %this.addChatDisplayHudElement();
  %this.setHudElementPosition(%index, 960, 80);
  %this.setHudElementPositionAnchor(%index, "HCenter", "Bottom");
  %this.setHudElementBaseTextureSize(%index, 1910, 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;

  /// This is the bottom window where player chat is entered ///
  // chat text entry container

  %index = %this.addHudElement();
  %this.setHudElementPosition(%index, 0, 63);
  %this.setHudElementPositionAnchor(%index, "Left", "Bottom");
  %this.setHudElementTexture(%index, "client/gui/images/hud/ChatEntryRule");
  %this.setHudElementBaseTextureSize(%index, 960, 2);
  %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom");
  %this.setHudElementParent(%index, $HudElement::ChatContainer);
  %this.setHudElementRenderWhenDead(%index, true);
  %this.setHudElementVisible(%index, false);
  $HudElement::ChatEntryRule = %index;

  // chat text entry
  %index = %this.addTextEntryHudElement();
  %this.setHudElementPosition(%index, 0, 80);
  %this.setHudElementPositionAnchor(%index, "Bottom", "Left");
  %this.setHudElementBaseTextureSize(%index, 960, 16);
  %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom");
  %this.setHudElementParent(%index, $HudElement::ChatContainer);
  %this.setHudElementRenderWhenDead(%index, true);
  $HudElement::ChatTextEntry = %index;
 

Propkid

Member
Code:
    //
    // CHAT FRAME EDIT
    //

    // Message Container
    %index = %this.addHudElement();
    %this.setHudElementPosition(%index, 1500, 3);
    %this.setHudElementPositionAnchor(%index, "HCenter", "Top");
    %this.setHudElementBaseTextureSize(%index, 2000, 73);
    %this.setHudElementScreenAnchor(%index, "Top");
    %this.setHudElementParent(%index, $HudElement::MainContainer);
    %this.setHudElementRenderWhenDead(%index, true);
    //%this.setHudElementDrawRect(%index, true);
    $HudElement::MessageContainer = %index;

    // chat upper container
    %index = %this.addChatContainerHudElement();
    %this.setHudElementPosition(%index, 1500, 71);
    %this.setHudElementPositionAnchor(%index, "HCenter", "Bottom");
    %this.setHudElementBaseTextureSize(%index, 1680, 96);
    %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
    %this.setHudElementParent(%index, $HudElement::MessageContainer);
    %this.setHudElementRenderWhenDead(%index, true);
    //%this.setHudElementDrawRect(%index, true);
    $HudElement::ChatBorderContainer = %index;

  // fill
  %index = %this.addHudElement();
  %this.setHudElementPosition(%index, 6, 6);
  %this.setHudElementPositionAnchor(%index, "Top", "Left");
  %this.setHudElementTexture(%index, "live/mods/autoexec/MiniHud/ChatFill");
  %this.setHudElementBaseTextureSize(%index, 2000, 84);
  %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
  %this.setHudElementParent(%index, $HudElement::ChatBorderContainer);
  %this.setHudElementRenderWhenDead(%index, true);
  //%this.setHudElementDrawRect(%index, true);

  // chat container
  %index = %this.addHudElement();
  %this.setHudElementPosition(%index, 550, 8);
  %this.setHudElementPositionAnchor(%index, "HCenter", "Top");
  %this.setHudElementBaseTextureSize(%index, 1680, 80);
  %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
  %this.setHudElementParent(%index, $HudElement::ChatBorderContainer);
  %this.setHudElementRenderWhenDead(%index, true);
  //%this.setHudElementDrawRect(%index, true);
  $HudElement::ChatContainer = %index;

  // chat display element
  %index = %this.addChatDisplayHudElement();
  %this.setHudElementPosition(%index, 550, 80);
  %this.setHudElementPositionAnchor(%index, "HCenter", "Bottom");
  %this.setHudElementBaseTextureSize(%index, 1670, 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;

  /// This is the bottom window where player chat is entered ///
  // chat text entry container

  %index = %this.addHudElement();
  %this.setHudElementPosition(%index, 0, 63);
  %this.setHudElementPositionAnchor(%index, "Left", "Bottom");
  %this.setHudElementTexture(%index, "client/gui/images/hud/ChatEntryRule");
  %this.setHudElementBaseTextureSize(%index, 960, 2);
  %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom");
  %this.setHudElementParent(%index, $HudElement::ChatContainer);
  %this.setHudElementRenderWhenDead(%index, true);
  %this.setHudElementVisible(%index, false);
  $HudElement::ChatEntryRule = %index;

  // chat text entry
  %index = %this.addTextEntryHudElement();
  %this.setHudElementPosition(%index, 0, 80);
  %this.setHudElementPositionAnchor(%index, "Bottom", "Left");
  %this.setHudElementBaseTextureSize(%index, 960, 16);
  %this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom");
  %this.setHudElementParent(%index, $HudElement::ChatContainer);
  %this.setHudElementRenderWhenDead(%index, true);
  $HudElement::ChatTextEntry = %index;

//
// 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;
  }
};
activatePackage(Koncept);

No need to worry too much, I'll experiment myself if you can't be bugged to help.
1680x1050
 

Arch

Legions Developer
@Armageddon

Under "// Chat Container"

Code:
%this.setHudElementPosition(%index, X, 8);
%this.setHudElementPositionAnchor(%index, "HCenter", "Top");
%this.setHudElementBaseTextureSize(%index, Z, 80);

X= Take your screen width and divide in half. Put it in here.
Z= Put your reg screen width here.

If it is still happening, post a screenshot.

@Propkid

Replace "//Chat Upper Container" chunk with this chunk.

Code:
// chat upper container
%index = %this.addChatContainerHudElement();
%this.setHudElementPosition(%index, 1000, 71);
%this.setHudElementPositionAnchor(%index, "HCenter", "Bottom");
%this.setHudElementBaseTextureSize(%index, 1680, 96);
%this.setHudElementScreenAnchor(%index, "Right", "Left", "Bottom", "Top");
%this.setHudElementParent(%index, $HudElement::MessageContainer);
%this.setHudElementRenderWhenDead(%index, true);
//%this.setHudElementDrawRect(%index, true);
$HudElement::ChatBorderContainer = %index;

Under "// Chat Container" replace

Code:
%this.setHudElementPosition(%index, 550, 8);

with this

Code:
%this.setHudElementPosition(%index, 840, 8);

I'm not sure why changing the res values would make the game not even start. What does it say(if it continues of course) when it quits out? Is it involving Main.cs?

Like above, post a screenshot if you get some other errors/bugs.
 

Propkid

Member
Unbelievable, but it still makes the game unplayable.
I turn on the launcher, I press Start. Launching legions/live...
The screen turns black as always when the game is loading, then it disappears and launcher says 'Legions has exited'. No worries, I just take out the KONCEPT files and it works again. I'll experiment with it myself and see what has gone wrong once I have time.
 

Arch

Legions Developer
Unbelievable, but it still makes the game unplayable.
I turn on the launcher, I press Start. Launching legions/live...
The screen turns black as always when the game is loading, then it disappears and launcher says 'Legions has exited'. No worries, I just take out the KONCEPT files and it works again. I'll experiment with it myself and see what has gone wrong once I have time.
Did it work before changing the values the first time?
 

Propkid

Member
Did it work before changing the values the first time?
Yes, but the chatbox was extended outside of the screen and I couldn't see anything from it. I've also changed the file names of the OD indicator images according to what I've read in main.cs. (OD, Vel, VODBG are the names of the red, orange and black rectangles). It all stopped working when I changed the resolution though.
 

Armageddon

Teapot
Worked perfect, Thanks Arch.

Here she is with a few edits, so hawt.
koncept1.png
 

Arch

Legions Developer
Yes, but the chatbox was extended outside of the screen and I couldn't see anything from it. I've also changed the file names of the OD indicator images according to what I've read in main.cs. (OD, Vel, VODBG are the names of the red, orange and black rectangles). It all stopped working when I changed the resolution though.

That's really odd. Changing the values shouldn't cause the game to crash. You may have jumbled up some of the spaces that allow it to be read correctly. And make sure that every line that isn't noted out (has a // in from of it) has a ; at the end.

Worked perfect, Thanks Arch.

Here she is with a few edits, so hawt.
koncept1.png

I need to do a colored version, people have been asking... :confused:
 
Um, for some reason, the bars are off centered for me. I re-read everything in the OP and did exactly what it said.

Res 1024, 768
 
I'm not sure why, but my printscrn button doesn't work, but the initial thing is,

The bars are not aligned to the fill and also, they seem to be longer.
 
Top