WildFire
Warrior of Linux
Blah Blah Blah This:
Want the chat back?: No problem. Delete the files/folder named "TopChat" and the Chat, Timer, and Speed Meter will return back to normal.
had chat in the normal place to begin with,
Blah Blah Blah This:
Want the chat back?: No problem. Delete the files/folder named "TopChat" and the Chat, Timer, and Speed Meter will return back to normal.
had chat in the normal place to begin with,
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.
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!
This isn't a popularity contest, or a way to see who can get the most downloads.
I think the fade for the chat has something to do with this code, but I don't know how to minipulate itUpdated
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);
}
Updated
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 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); }
Yea.. I dunno about that. I thought you meant to fade it in and out. So I thought thisNah. 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.
function FadeOut/InWhatever( )
{
$whatever = false;
HudOverlay.AnimateHudElementAlpha($HudElement::ChatBackground, 255, 0.5);
}
HmmYea.. I dunno about that. I thought you meant to fade it in and out. So I thought this
Would be it, or atleast close to it...Code:function FadeOut/InWhatever( ) { $whatever = false; HudOverlay.AnimateHudElementAlpha($HudElement::ChatBackground, 255, 0.5); }
![]()
Easy. Open MinimalistHud.cs and find this chunk of text. (Ctrl+F "TrackTor Container")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.
// 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;
%this.setHudElementPosition(%index, 0, 275);
%this.setHudElementPosition(%index, -1000, 275);
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.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.
Annoying, rite?
Change the value on that to some high number, say... 600 (will hide the line after 10 minutes)Code:$Pref::Player::ChatAutohideLineTimeout