Upvote Upvoted 0 Downvote Downvoted
Rayshud Text Box Editing
posted in Customization
1
#1
0 Frags +

I'm currently using the Rayshud textbox (that is, small and in the left upper corner) but I really dislike that extra ugly gray background without any text in it. I have tried editing the width of the BaseChat.res, and then the whole chat just disappears (really annoying, and before you ask, yes, I have done hud_reloadscheme). I just want to restore it to the original width of the default hud. Any help?
This is what my text box looks like:
https://docs.google.com/drawings/d/1KV61v6CCOGq1PZiDiv8_8gZslcVdx926BTxNYAHaYg0/edit?usp=sharing
Here's my current Basechat.res:

"Resource/UI/BaseChat.res"
{
"HudChat"
{
"ControlName" "EditablePanel"
"fieldName" "HudChat"
"visible" "1"
"enabled" "1"
"xpos" "3"
"ypos" “25”
"wide" "235"
"tall" "120"
"PaintBackgroundType" “2”
}

ChatInputLine
{
"ControlName" "EditablePanel"
"fieldName" ChatInputLine
"visible" "1"
"enabled" "1"
"xpos" "10"
"ypos" "395"
"wide" "185"
"tall" "2"
"font" "Cerbetica10"
"PaintBackgroundType" "0"
}

"ChatFiltersButton"
{
"ControlName" "Button"
"fieldName" "ChatFiltersButton"
"xpos" "150"
"ypos" "2"
"wide" "45"
"tall" "15"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#chat_filterbutton"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
}

"HudChatHistory"
{
"ControlName" "RichText"
"fieldName" "HudChatHistory"
"xpos" "10"
"ypos" "17"
"wide" "185"
"tall" "400"
"wrap" "1"
"autoResize" "1"
"pinCorner" "1"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "south-west"
"font" "Cerbetica10"
"maxchars" "-1"
}
}

I'm currently using the Rayshud textbox (that is, small and in the left upper corner) but I really dislike that extra ugly gray background without any text in it. I have tried editing the width of the BaseChat.res, and then the whole chat just disappears (really annoying, and before you ask, yes, I have done hud_reloadscheme). I just want to restore it to the original width of the default hud. Any help?
This is what my text box looks like:
https://docs.google.com/drawings/d/1KV61v6CCOGq1PZiDiv8_8gZslcVdx926BTxNYAHaYg0/edit?usp=sharing
Here's my current Basechat.res:

"Resource/UI/BaseChat.res"
{
"HudChat"
{
"ControlName" "EditablePanel"
"fieldName" "HudChat"
"visible" "1"
"enabled" "1"
"xpos" "3"
"ypos" “25”
"wide" "235"
"tall" "120"
"PaintBackgroundType" “2”
}

ChatInputLine
{
"ControlName" "EditablePanel"
"fieldName" ChatInputLine
"visible" "1"
"enabled" "1"
"xpos" "10"
"ypos" "395"
"wide" "185"
"tall" "2"
"font" "Cerbetica10"
"PaintBackgroundType" "0"
}

"ChatFiltersButton"
{
"ControlName" "Button"
"fieldName" "ChatFiltersButton"
"xpos" "150"
"ypos" "2"
"wide" "45"
"tall" "15"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#chat_filterbutton"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Default" "0"
}

"HudChatHistory"
{
"ControlName" "RichText"
"fieldName" "HudChatHistory"
"xpos" "10"
"ypos" "17"
"wide" "185"
"tall" "400"
"wrap" "1"
"autoResize" "1"
"pinCorner" "1"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "south-west"
"font" "Cerbetica10"
"maxchars" "-1"
}
}
2
#2
6 Frags +

http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers

http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers
3
#3
-7 Frags +
Joltzhttp://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers

thats not a short question at all

[quote=Joltz]http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers[/quote]
thats not a short question at all
4
#4
0 Frags +

you could just delete the entire file

you could just delete the entire file
5
#5
whitelist.tf
1 Frags +

Go on a local server and do the following in console

sv_pausable 1; pause

Now your game is paused, you can open chat and when you hud_reloadscheme you'll see the changes made to BaseChat.res

To actually change the colors for the chatbox you need to edit 'resource/chatscheme.res', which isn't modified by rays, so you'd have to extract that file and modify it yourself.

The original Chat Window file can be found in /hl2/resource/ui/basechat.res or on the actual RaysHUD repo...

Go on a local server and do the following in console
[code]sv_pausable 1; pause[/code]
Now your game is paused, you can open chat and when you [i]hud_reloadscheme[/i] you'll see the changes made to BaseChat.res

To actually change the colors for the chatbox you need to edit 'resource/chatscheme.res', which isn't modified by rays, so you'd have to extract that file and modify it yourself.

The original [i]Chat Window[/i] file can be found in /hl2/resource/ui/basechat.res or on the [url=https://github.com/raysfire/rayshud/blob/master/resource/ui/BaseChat.res]actual RaysHUD repo[/url]...
6
#6
1 Frags +
WholegrainJoltzhttp://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answersthats not a short question at all

"hey i want the default chat box position"
its short as hell if you read it

[quote=Wholegrain][quote=Joltz]http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers[/quote]
thats not a short question at all[/quote]
"hey i want the default chat box position"
its short as hell if you read it
Please sign in through STEAM to post a comment.