Download Minimalistic HUD

Synista

Member
The beauty of customization: You can do it yourself. Really, it's no rocket science! Especially when it's "just" about moving HUD elements around on your screen. Have a look at the files, compare them to the original ones, everything should become clear.
 

WildFire

Warrior of Linux
The beauty of customization: You can do it yourself. Really, it's no rocket science! Especially when it's "just" about moving HUD elements around on your screen. Have a look at the files, compare them to the original ones, everything should become clear.

It's really nice to see that more and more people get into modifying the vanilla files. It shows that those people care, and are willing to contribute something. It would be sad if that would lead to more "requests" for basic things that everyone could and can do. Instead it should lead to even more people understanding what they're doing. If it doesn't fit your needs or aesthetic preferences, make it fit!

Did I quote this part of his post specifically? I have no problem with this, and I completely agree with it! Doesn't mean I want to do it though, and I was just mentioning to Arch that he would probably get more downloads by not making people do extra work.
 

Gheist

King of all Goblins
I actually agree with you here. A HUD without the chat window caters to a very small subset of the community. But, and that's my point, I doubt that Arch wanted to please as many people as possible. He wanted to create a very minimalistic HUD, he did it (flawlessly I might add), and then he shared it so that others can use (and/or modify and build on) it. This isn't a popularity contest, or a way to see who can get the most downloads.
 

Synista

Member
I think the fade for the chat has something to do with this code, but I don't know how to minipulate it :)
Code:
function SetTopMessage( %text )
{
  HudOverlay.setHudElementText($HudElement::TopMessageText, %text, ImportantMessageProfile, true);
}

function FadeInTopMessage( )
{
  $TopPrintActive = true;
  HudOverlay.AnimateHudElementAlpha($HudElement::TopMessageText, 255, 0.2);
}

function FadeOutTopMessage( )
{
  $TopPrintActive = false;
  HudOverlay.AnimateHudElementAlpha($HudElement::TopMessageText, 0, 0.5);
}

function SetCenterMessage( %text )
{
  HudOverlay.setHudElementText($HudElement::CenterMessageText, %text, ImportantMessageProfile, true);
}

function FadeInCenterMessage( )
{
  $CenterPrintActive = true;
  HudOverlay.AnimateHudElementAlpha($HudElement::CenterMessageText, 255, 0.2);
}

function FadeOutCenterMessage( )
{
  $CenterPrintActive = false;
  HudOverlay.AnimateHudElementAlpha($HudElement::CenterMessageText, 0, 0.5);
}

function SetBottomMessage( %text )
{
  HudOverlay.setHudElementText($HudElement::BottomMessageText, %text, ImportantMessageProfile, true);
}

function FadeInBottomMessage( )
{
  $BottomPrintActive = true;
  HudOverlay.AnimateHudElementAlpha($HudElement::BottomMessageText, 255, 0.2);
}

function FadeOutBottomMessage( )
{
  $BottomPrintActive = false;
  HudOverlay.AnimateHudElementAlpha($HudElement::BottomMessageText, 0, 0.5);
}
 

Arch

Legions Developer
I think the fade for the chat has something to do with this code, but I don't know how to minipulate it :)
Code:
function SetTopMessage( %text )
{
  HudOverlay.setHudElementText($HudElement::TopMessageText, %text, ImportantMessageProfile, true);
}

function FadeInTopMessage( )
{
  $TopPrintActive = true;
  HudOverlay.AnimateHudElementAlpha($HudElement::TopMessageText, 255, 0.2);
}

function FadeOutTopMessage( )
{
  $TopPrintActive = false;
  HudOverlay.AnimateHudElementAlpha($HudElement::TopMessageText, 0, 0.5);
}

function SetCenterMessage( %text )
{
  HudOverlay.setHudElementText($HudElement::CenterMessageText, %text, ImportantMessageProfile, true);
}

function FadeInCenterMessage( )
{
  $CenterPrintActive = true;
  HudOverlay.AnimateHudElementAlpha($HudElement::CenterMessageText, 255, 0.2);
}

function FadeOutCenterMessage( )
{
  $CenterPrintActive = false;
  HudOverlay.AnimateHudElementAlpha($HudElement::CenterMessageText, 0, 0.5);
}

function SetBottomMessage( %text )
{
  HudOverlay.setHudElementText($HudElement::BottomMessageText, %text, ImportantMessageProfile, true);
}

function FadeInBottomMessage( )
{
  $BottomPrintActive = true;
  HudOverlay.AnimateHudElementAlpha($HudElement::BottomMessageText, 255, 0.2);
}

function FadeOutBottomMessage( )
{
  $BottomPrintActive = false;
  HudOverlay.AnimateHudElementAlpha($HudElement::BottomMessageText, 0, 0.5);
}
Nah. The TopMessageText, CenterMessageText, and BottomMessageText have nothing to do with the chat. They are the "Fire to Respawn", "Need More Players..." and the flag actions texts.

I do know how to make it fade with the chat but the panel comes out looking crappy. It causes the panel to be re-sized and takes it from being pixel perfect to being not so pixel perfect. I need to find a way to make it show the whole image when a message is entered and not re-size it.
 

Synista

Member
Nah. The TopMessageText, CenterMessageText, and BottomMessageText have nothing to do with the chat. They are the "Fire to Respawn", "Need More Players..." and the flag actions texts.

I do know how to make it fade with the chat but the panel comes out looking crappy. It causes the panel to be re-sized and takes it from being pixel perfect to being not so pixel perfect. I need to find a way to make it show the whole image when a message is entered and not re-size it.
Yea.. I dunno about that. I thought you meant to fade it in and out. So I thought this
Code:
function FadeOut/InWhatever( )
{
  $whatever = false;
  HudOverlay.AnimateHudElementAlpha($HudElement::ChatBackground, 255, 0.5);
}
Would be it, or atleast close to it... :D
 

Arch

Legions Developer
Yea.. I dunno about that. I thought you meant to fade it in and out. So I thought this
Code:
function FadeOut/InWhatever( )
{
  $whatever = false;
  HudOverlay.AnimateHudElementAlpha($HudElement::ChatBackground, 255, 0.5);
}
Would be it, or atleast close to it... :D
Hmm
 

Arch

Legions Developer
Could you tell me how to remove the tracktor mod?
I don't really need it and I feel that it's more clutter to my HUD.
Easy. Open MinimalistHud.cs and find this chunk of text. (Ctrl+F "TrackTor Container")
Code:
// TrackTor Container
%index = %this.addHudElement();
%this.setHudElementPosition(%index, 0, 275);
%this.setHudElementBaseTextureSize(%index, 70, 140);
%this.setHudElementParent(%index, $HudElement::BaseContainer);
%this.setHudElementPositionAnchor(%index, "Left", "VCenter");
%this.setHudElementRenderWhenFollowing(%index, true);
%this.setHudElementRenderWhenDead(%index, true);
$HudElement::TrackTorC = %index;
Change this line...
Code:
%this.setHudElementPosition(%index, 0, 275);
To something alone this line...
Code:
%this.setHudElementPosition(%index, -1000, 275);
 

Arch

Legions Developer
that line says font size. im talking about the time before the message dissapears.
Dur, sorry. By the time you read it, it wasn't the last post. Look a few up from the last. It was Rockey's post.
 
Top