Two Custom HUD's to try...


INsane_dod
07-02-2006, 06:52 AM
I updated my MOH style HUD yesterday and now I have updated the smaller HUD.

The small HUD is the same as my old VER 5 but fixed for the new gameplay.

Please treat both of these as Beta's please, not a lot of testing has been done yet on both of them.

Small Hud Version 6... It is just reworked Ver 5 winpanels and the rest of the changes are related to the new timers and tnt panels. I also reworded the radio messages, they are now shorter.

Pictures...

Colmar cap out (http://www.dodbits.com/downloads/HUD/pics/Hud_dod_colmar.jpg)
Jagd capout (http://www.dodbits.com/downloads/HUD/pics/Hud_dod_jagd.jpg)
Flag cap (http://www.dodbits.com/downloads/HUD/pics/Hud1.jpg)

Download INsanes_Small_HUD_Ver_6.zip (http://www.dodbits.com/downloads/HUD/INsanes_Small_HUD_Ver_6.zip)

The MOH hud is no where near finished but quite OK to use. It also has reworked parts of the hud to match the new gameplay.

Pictures...

Axis win (http://www.dodbits.com/downloads/HUD/pics/Axis_win.jpg)
Jagd allied win (http://www.dodbits.com/downloads/HUD/pics/dod_jagd_allied_win.jpg)

Download MOH_VER_2.zip (http://www.dodbits.com/downloads/HUD/MOH_VER_2.zip)

Editor321
07-02-2006, 10:21 AM
looking nice, good job

LJFSP
07-02-2006, 11:12 AM
Wow that was fast, thank you I love your HUDs. Great work.

Rifle_King
07-02-2006, 11:24 AM
I have got to try one of those out

Volvulus
07-02-2006, 12:08 PM
Yay I get my hud back! Thats right MY HUD!:D

dragy2j
07-02-2006, 01:59 PM
these look good gona go try one out right now thanks

Sproily
07-02-2006, 02:16 PM
what "colmar?"

Rifle_King
07-02-2006, 03:28 PM
these are really great in game, keeping them for now.

Volvulus
07-02-2006, 03:33 PM
Originally posted by Sproily
what "colmar?"

Colmar the new map i guess.

NotAgOat
07-02-2006, 11:20 PM
Yay! I knew you had to come back around after they jacked up the hud. Thanks a ton man.

Guyver
07-03-2006, 12:22 AM
sweet!! Trying version six.,,thanks.

FireShorts
07-03-2006, 04:48 AM
Is there a way I can install just the "end of map summary" part of the MoH Hud? I love that part, but I'm not too crazy about the health/ammo/stuff part.

INsane_dod
07-03-2006, 05:30 AM
There is a way but it is a fair amount of work.

The end-of-the-round panels used in that hud are made from quite a few graphics files and ...

dod\resource\UI\Win_Allies.res
dod\resource\UI\Win_Axis.res

There is also a part of the dod\scripts\HudLayout.res file that controls the panels...
==========================================
}

WinPanel_Allies
{
"fieldName" "WinPanel_Allies"
"visible" "1"
"enabled" "1"
"xpos" "5"
"ypos" "80"
"wide" "300"
"tall" "210"
"PaintBackgroundType" "2"
"PaintBackground" "0"

"icon_ypos" "4"
"icon_xpos_left" "4"
"icon_xpos_right" "264"
"icon_w" "0"
"icon_h" "0"

"icon_stat_size" "12"
"icon_left_stat_x" "120"
"icon_left_stat_y1" "100"
"icon_left_stat_y2" "110"
"icon_left_stat_y3" "120"
"icon_right_stat_x" "120"
"icon_right_stat_y1" "170"
"icon_right_stat_y2" "180"
"icon_right_stat_y3" "190"
}

WinPanel_Axis
{
"fieldName" "WinPanel_Axis"
"visible" "1"
"enabled" "1"
"xpos" "5"
"ypos" "80"
"wide" "300"
"tall" "210"
"PaintBackgroundType" "2"
"PaintBackground" "0"

"icon_ypos" "4"
"icon_xpos_left" "4"
"icon_xpos_right" "264"
"icon_w" "0"
"icon_h" "0"

"icon_stat_size" "12"
"icon_left_stat_x" "120"
"icon_left_stat_y1" "100"
"icon_left_stat_y2" "110"
"icon_left_stat_y3" "120"
"icon_right_stat_x" "120"
"icon_right_stat_y1" "170"
"icon_right_stat_y2" "180"
"icon_right_stat_y3" "190"
}

===================================
To convert....


1. Install the two files in the dod\resource\UI\ folder...Win_Allies.res and Win_Axis.res

2. Then cut and paste the two sections above in the dod\scripts\HudLayout.res file.

3. Install all the graphics needed in the dod\materials\vgui Folder...

dod\materials\vgui\Army_Distinguished_Service.vmt
dod\materials\vgui\Army_Distinguished_Service.vtf
dod\materials\vgui\Knight's_Cross.vmt
dod\materials\vgui\Knight's_Cross.vtf
dod\materials\vgui\Medal_of_Honor.vmt
dod\materials\vgui\Medal_of_Honor.vtf
dod\materials\vgui\Merit_Cross_1st_Class.vmt
dod\materials\vgui\Merit_Cross_1st_Class.vtf
dod\materials\vgui\Merit_Cross_2nd_Class.vmt
dod\materials\vgui\Merit_Cross_2nd_Class.vtf
dod\materials\vgui\silver_star.vmt
dod\materials\vgui\silver_star.vtf


That *may* work OK... told you it was a " fair amount of work" :D

Zulu!!!
07-03-2006, 07:28 AM
the first one is great and working fine :) no bugs to report :)

Kev_M
07-03-2006, 08:30 AM
Hmmm, Does this also shrink the size of the "kill/death" reports on the right side of the screen??

i.e Soldier A rifles Soldier B
Soldier B nades Soldier A

etc

Its annoying that some names are so large the text almost goes to the centre of the screen.

odin318
07-03-2006, 08:36 AM
love the HUD, thansk a lot

MrKermit
07-03-2006, 10:15 AM
Cheers insane, another fine piece of work :D

Lerning
07-03-2006, 10:17 AM
dunno bout the 2nd, but the 1st one shrinks the text.
Though it does leave the spacing in the deathmessages as though it was still the original sized text. Its a bit easier to see through, cos of the gaps, but doesnt really give you any extra room.

yeah, very nice hud. (I was hoping the gun select boxes would stay up, but they're just how the new hud_fastswitch "0" boxes look. - not a complaint, cos that's how the games wired. Just sayin.)

Nice Job!

odin318
07-03-2006, 02:51 PM
is there any way to disable the kill messages entirely?

how about moving the capture icon to the default spot?

thansk!

FireShorts
07-03-2006, 06:30 PM
:eek:

Thanks for taking the time to do the huge instructions post for me. I'm gonna try it out later and see what happens :cool:

INsane_dod
07-04-2006, 05:58 AM
Originally posted by odin318
is there any way to disable the kill messages entirely?

how about moving the capture icon to the default spot?

thansk!

You can disable them with commands, have a read in this post. (http://www.dayofdefeat.net/forums/showthread.php?s=&postid=951627#post951627)

The capture bar "group" you mean? It has icons inside it... flag, and teammate and text below it. The HudLayout.res file moves a few Groups like this around the screen. Win panels are another group.

This should work for both huds...

You can move it around as a whole group by...

1. Open the "dod/scripts/HudLayout.res" file.

2. The section you need to edit is the second from the top, "HudCapturePanel". Make the changes like this....

}
HudCapturePanel
{
"fieldName" "HudCapturePanel"
"xpos" "c-75" Change this to "C-75"
"ypos" "c80" Change this to "C-80"
"wide" "150"
"tall" "90"
"visible" "1"
"enabled" "1"
"icon_space" "2"
}

3. Save the file and it should be in the centre/ just lower than centre now. (Default Position)

ENTI
07-04-2006, 06:06 AM
insane you new hud seems to crash me on jagd and colmar maybe its just my computer but check it out i like ur HUDS

INsane_dod
07-04-2006, 06:21 AM
Originally posted by ENTI
insane you new hud seems to crash me on jagd and colmar maybe its just my computer but check it out i like ur HUDS

The crash could be anything... just in case they are a problem, depends on what hud you installed. Here are all the files used...


MOH hud files. (http://www.dodbits.com/downloads/random/Files_used_in_MOH_hud_v2_BETA.txt)
Small hud files. (http://www.dodbits.com/downloads/random/Files_used_in_INsanes_Small_HUD_Ver_6_BETA.txt)

Zulu!!!
07-04-2006, 06:41 AM
found 1 little bug with the 1st one.

when on Colmar, it gives the +2:00 bonus when a target is destroyed twice, yet you dont get time bonus' in Colmar

ENTI
07-04-2006, 07:43 AM
could be anything like you siad insaine i just fixed it by removing the hud an i could play colamr and jagd again lots of people have been crashing coz of hud maybe thats the problem but im not 100% sure on this

keep up the good work insaine i like ur heads up stuff :)

INsane_dod
07-04-2006, 01:46 PM
Originally posted by ENTI
could be anything like you siad insaine i just fixed it by removing the hud an i could play colamr and jagd again lots of people have been crashing coz of hud maybe thats the problem but im not 100% sure on this

keep up the good work insaine i like ur heads up stuff :)

Got anymore info ENTI?

When does it crash, at what point, on the load of the map, while capping?

What hud is it?

Where did you get it... if it is a really old one it could cause a crash... version 3 may do that.

I have not seen any crashes yet ... just mucked up hud items.

Thanks.

INsane_dod
07-04-2006, 01:49 PM
Originally posted by Zulu!!!
found 1 little bug with the 1st one.

when on Colmar, it gives the +2:00 bonus when a target is destroyed twice, yet you dont get time bonus' in Colmar

"the 1st one" ... is the MOH hud?

Thanks, I'll look into that :D

INsane_dod
07-04-2006, 02:01 PM
Originally posted by Lerning
dunno bout the 2nd, but the 1st one shrinks the text.
Though it does leave the spacing in the deathmessages as though it was still the original sized text. Its a bit easier to see through, cos of the gaps, but doesnt really give you any extra room.

yeah, very nice hud. (I was hoping the gun select boxes would stay up, but they're just how the new hud_fastswitch "0" boxes look. - not a complaint, cos that's how the games wired. Just sayin.)

Nice Job!

The gun select boxes when you have hud_fastswitch "0" enabled, do you want it more like the old version of dod... like further up, on the right side, smaller icons, no background?

It's something that I am thinking of doing.

There is a way make sure the kills and deaths only make it 1/4 of the way over the screen... it will cut off info.

You can open the "dod/scripts/HudLayout.res" file and find this section...


}
HudDeathNotice
{
"fieldName" "HudDeathNotice"
"visible" "1"
"enabled" "1"
"xpos" "r640"
"wide" "640"
"tall" "480"

"MaxDeathNotices" "4"
"LineHeight" "19"
"RightJustify" "1" // If 1, draw notices from the right

"TextFont" "ChatFont"
"CTTextColor" "CT_Blue"
"TerroristTextColor" "T_Red"

"BackgroundColor" "0 0 0 0"
"ActiveBackgroundColor" "0 0 0 90"
}

Play around with... "wide" "640" ... adjust to say "350" it cuts off the left side of the background and text, but if thats what you want... :D

I'll look into the text as well.

Lerning
07-04-2006, 03:23 PM
Hrmmm, yea, i think, with the smaller text, if i can tinker with the spacing, i might boost it to a limit of 6 or perhaps even 8 death-messages.

As for teh gun select, where they are is fine (good actually), they could possibly go a little bit smaller, but it doesnt fuss me.
What would be really good though, if you could leave 'em always up, even with hud_fastswitch "1" (not sure if this is possible, 'cos they're coded to only be up when changing weapons). What i envisaged when i saw your first screenshot featuring the boxes, was having the number corresponding to each weapon, for whichever class you were ('cos different classes have their weapons in different slots, for some strange reason), always visible, and also, the scroll order for whichever weapon you want to select next, always visible as well.


Now you've gotten me curious, and I think I might have a bit of a tinker later, and see if I can toggle those wonderful weapons boxes of yours to always stay visible.



edit:---

Oh, and i think when people are referring to "the 1st HUD" and "the 2nd HUD", they're referring to them in post order. Ie, 1st is the smalltext HUD (which I'm using), and 2nd is the MOH HUD. (If that helps at all).

Zulu!!!
07-04-2006, 04:07 PM
Originally posted by INsane_dod
"the 1st one" ... is the MOH hud?

Thanks, I'll look into that :D

the non-MOH one.

it doesn't seem to happen every time.. which is just wierd... could that be something serverside thats mucking it up then??

INsane_dod
07-05-2006, 08:25 AM
Just wanted to show how you could reduce the Kills / Deaths stuff a bit more.

First, the icons. Do it the easy way with console commands.

Kills / Deaths icon size Height and Width...


Off... "cl_deathicon_height 0; cl_deathicon_width 0"

small.... "cl_deathicon_height 6; cl_deathicon_width 19"

medium.... "cl_deathicon_height 12; cl_deathicon_width 38"

large... (default) "cl_deathicon_height 18; cl_deathicon_width 57"



Now we will fix the fonts...



Say you like the standard font in all other parts of the hud... but the Kills, deaths, caps area.

You can reduce the font in that area with out affecting or changing other areas...

1. Open the "dod/scripts/HudLayout.res" file and find this...

}
HudDeathNotice
{
"fieldName" "HudDeathNotice"
"visible" "1"
"enabled" "1"
"xpos" "r640"
"wide" "640"
"tall" "480"

"MaxDeathNotices" "4"
"LineHeight" "19"
"RightJustify" "1"

"TextFont" "ChatFont"
"CTTextColor" "CT_Blue"
"TerroristTextColor" "T_Red"

"BackgroundColor" "0 0 0 0"
"ActiveBackgroundColor" "0 0 0 90"
}


See this line... "TextFont" "ChatFont"

..this is where you can change it, "ChatFont" refers back to the ClientScheme.res file and thekills deaths area uses the same font as the chat area.

The only problem is the font in that area is already the smallest, best choice for the Kills/deaths area... so, make another, new group of fonts in the ClientScheme.res file!


2. Before we move on, Change the "ChatFont" to "KDFont" .... you will see why in the next step...save the file after you have changed it.



3. Open the "dod/resource/ClientScheme.res" file and find the "ChatFont" section, paste this just below it...

}
"KDFont"
{
"1"
{
"name" "Microsoft Sans Serif"
"tall" "11"
"weight" "200"
"yres" "480 599"
"dropshadow" "1"
"additive" "0"
}
"2"
{
"name" "Microsoft Sans Serif"
"tall" "12"
"weight" "200"
"yres" "600 767"
"dropshadow" "1"
"additive" "0"
}
"3"
{
"name" "Microsoft Sans Serif"
"tall" "13"
"weight" "200"
"yres" "768 1023"
"dropshadow" "1"
"additive" "0"
}
"4"
{
"name" "Microsoft Sans Serif"
"tall" "15"
"weight" "200"
"yres" "1024 1199"
"dropshadow" "1"
"additive" "0"
}
"5"
{
"name" "Microsoft Sans Serif"
"tall" "20
"weight" "200"
"yres" "1200 10000"
"dropshadow" "1"
"additive" "0"
}
}


Now when you play you will have a small font in the Kills/Deaths/caps area and it doesn't matter what res' you play in... it will always be smaller than the chat text size.

You can play with the background colors, make the fonts lighter by using "additive" "1" in the "KDFont" section, adjust the size of the fonts... there are so many combinations.

This helps isolate the kills / deaths area away from other items so it can be customized with out affecting other areas of the hud.

Cheers

INsane

lordroy
07-07-2006, 09:42 PM
Originally posted by INsane_dod
The small HUD is the same as my old VER 5 but fixed for the new gameplay.

Please treat both of these as Beta's please, not a lot of testing has been done yet on both of them.

Small Hud Version 6... It is just reworked Ver 5 winpanels and the rest of the changes are related to the new timers and tnt panels. I also reworded the radio messages, they are now shorter.

Pictures...

Colmar cap out (http://www.dodbits.com/downloads/HUD/pics/Hud_dod_colmar.jpg)
Jagd capout (http://www.dodbits.com/downloads/HUD/pics/Hud_dod_jagd.jpg)
Flag cap (http://www.dodbits.com/downloads/HUD/pics/Hud1.jpg)

Download INsanes_Small_HUD_Ver_6.zip (http://www.dodbits.com/downloads/HUD/INsanes_Small_HUD_Ver_6.zip)

I did notice this:

Hud element 'CHudHDRDemo' doesn't have an entry 'HudHDRDemo' in scripts/HudLayout.res
Hud element 'CHudFilmDemo' doesn't have an entry 'HudHDRDemo' in scripts/HudLayout.res

in console when running this... is it normal?

-=R=-

INsane_dod
07-08-2006, 12:07 AM
Yeah, I get that too no matter what HUD I have :)

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.