Sections in this article.
There is a more visual way to move objects around the screen and save their positions. If you have HL2 / Day of Defeat Source you already have a tool built-in. It’s called the VGUI Build Mode editor.
Its a bit strange to get used to but very handy for a rough layout when you are starting a new screen.You can use it to get the basic positions of items and tidy it up with a text editor. It does have a few quirks and is a bit of a head scratch when you start using it.
Normally when you want to start on an area, you extract a standard file from VALVe’s VPK or loose files and edit it. When using the editor, you don't have to. Say you want to edit the Teamselect screen.
You start up the game, bring up the teamselect screen, this stops the game (as far as that screen is concerned) and puts the game in an “edit mode”.
Press “SHIFT+CTRL+ALT+B”... the editor will pop-up. Click on an item, like a button or an image, move it around with the mouse.
Say you want to make the button bigger, press the “~” key this will escape into the Game Options/Console area of the game. Have a look at all the settings in the box, you can edit these and save the file.
A new file called teammenu.res will be created in the dod/resource/UI/ folder.
Note: If you open this file with Windows notepad... it will look like a bit of a mess... get WordPad or higher to view the file the VGUI Build Mode editor makes.
Maps can help a lot! That's right, a map. The size of a map is very important... the bigger the map the more time and system resources it will use. If you are editing a file and you refresh the resolutions to show the changes... a small map can mean a time difference of 20 seconds..or more!
For DoD:S, to speed up editing, use these two dod maps the two have "Capture The Flag" and "Detonation" modes, load very quickly and do not use much of your PC's resources.
Use Allied team only Valve bots to check items. DoD:s ships with a generic dumb bot Allied side only. They cannot do much and you need sv_cheats 1 to run them but we can use that on a dods Listen server, (local and on your PC).
There are some Console Binds we can use, they are better off set in your autoexec.cfg file along with a couple of other helpful binds. Here are the commands for each of the main cvars for adding bots, getting them to mimic your movements, deleting them, reloading a panel while in game and testing the winpanel.
Copy and paste this in your autoecec.cfg (there is also prefab one in the download)...
//INsanes KP binds for HUD tests
// VALVe Bots
bind "KP_HOME" "sv_cheats 1; wait; wait; wait; bot"
bind "KP_PGUP" "kick Bot01; kick Bot02; kick Bot03; kick Bot04; kick Bot05; kick Bot06; kick Bot07; kick Bot08; kick Bot09; kick Bot10"
// Reload hud panels in game
bind "KP_END" "hud_reloadscheme"
//Test the winpanel
bind "KP_PGDN" "sv_cheats 1; dod_test_winpanel"
...then save it. They are all targeted at your Key pad keys and are not default keys. While in game you can ...
Use RCBot2 dods bots to check items. RCBot2 for DoD:S by Cheeseh are full blown bots for dods. Very useful for checking a lot of things like scoreboards, Axis items... just go to that thread and read how to install and what latest version works.