Message Boards

Topic: Useful Info To Make Life Easier  (Read 10764 times)

Offline Hekksy

  • Doomin' since '96
  • Administrator
  • Posts: 153
    • View Profile
Useful Info To Make Life Easier
« on: May 12, 2012, 21:24:40 »
Hi!!! I thought I would share some useful info to make managing Odamex easier. Many people get kinda turned off when they hear Odamex does not use the traditional "-iwad / -file / -deh" method of launching. However, that does not make our system worse!

This command is used to automatically load your wad files! Now me, I personally keep my iwads and pwads seperate, so I use a ; to seperate the paths (note that it uses : for the seperator on Linux, and possibly other non-windows OSs as well)

For example, my iwads are all in c:\users\hex\doom\iwads

My pwads, however are in c:\users\hex\doom\pwads

So how would I add the paths? Easy!

waddirs "c:\users\hex\doom\pwads;c:\users\hex\doom\iwads"

cl_waddownloaddir "c:\users\hex\doom\pwads" tells Odamex where you want wads downloaded by the server to be saved at.

Additionally, here is some other useful stuff!

cl_autorecord 1
This cvar will automatically record a netdemo when you join a server

cl_splitnetdemos 1
This will stop the previous netdemo and start a new one after a map change. Handy!

This is how screenshots will be written for viewing later. You can use tokens to name your screenshots automatically! Here they are:

// Default screenshot name.  Parses the following tokens:
// %d: date in YYYYMMDD format
// %t: time in HHMMSS format
// %n: player name
// %g: gametype
// %w: WAD file loaded; either the first PWAD or the IWAD
// %m: Map lump
// %%: Literal percent sign

I recommend:
set cl_screenshotname "screenshots\Odamex_%g_%d_%t_%n_%w_%m"
NOTE: The addition of "screenshots\" will not create the directory! You must create the directory manually or else Odamex will fail to save screenshots! I hate a messy source port directory myself :)

Same thing as screenshotname but for netdemos! Uses the same tokens as mentioned above.

Once again I recommend:
set cl_netdemoname "demos\Odamex_%g_%d_%t_%n_%w_%m"
NOTE: The addition of "demos\" will not create the directory! You must create the directory manually or else Odamex will fail to save demos!

netrecord and stopnetdemo

One interesting thing Odamex can do that no other port can is the ability to start a netdemo midgame without having to reconnect to the server. The command netrecord will start a demo instantly, and stopnetdemo will stop it and save whenever you choose.

I actually have stopped using autorecord for duels, and just start and stop whenever the game starts and ends to cut dead time. Whenever you start a demo, it automatically starts a demo based on the format you use for cl_netdemoname as mentioned above. Here are my binds:
bind kp7 "netrecord"
bind kp9 "stopnetdemo"

If you do not want to edit these in-game, you can edit them in odamex.cfg if you so choose.

Playing back Demos

There are 3 ways:

1) Use IDE or Doomseeker versions that support the playback of Netdemos.

2) Type out "netplay myctfdemo" in the console, and odamex will load it if it can find it.

3) On Windows, associate .odd files with the Odamex client. When you double click the demos, Odamex will automatically load them and start playing. Odamex will load the necessary wads if they can be found (via waddirs).

Controlling a Demo
Here are the default demo controls:
Up arrow: Previous map/ restart map
Down arrow: skip to next map
left key: skip back 30 seconds
right key: skip forward 30 seconds


alias "+sr50l" "+strafe\;+left\;"
alias "+sr50r" "+strafe\;+right\;"
alias "-sr50l" "-strafe\;-left\;"
alias "-sr50r" "-strafe\;-right\;"

bind "e" "+sr50l"
bind "q" "+sr50r"

Now when using W + D to SR40, press and hold Q to enable SR50. Same for W + A with E

Also here is my config for smooth sailing when it comes to comfort:
Code: [Select]
set "cl_movebob" "0" // turns off bobbing while running
set "mouse_type" "1" //sets mouse to ZDOOM type
set "hud_timer" "1" //displays the HUD timer
set "hud_transparency" "0.3" //Makes the fullscreen hud partially transparent
set "snd_musicsystem" "0" //turns off music
set "r_drawplayersprites" "0.2" //makes the weapon sprites partially transparent
set "r_painintensity" "0.1" //makes the red "blood" when you take damage almost nothing
bind "backspace" "toggle vid_displayfps"
bind "tab" "+showscores"
bind "enter" "messagemode"
bind "space" "+jump"
bind "-" "sizedown"
bind "/" "toggle vid_displayfps"
bind "1" "impulse 1"
bind "2" "impulse 2"
bind "3" "impulse 3"
bind "4" "impulse 4"
bind "5" "impulse 5"
bind "6" "impulse 6"
bind "7" "impulse 7"
bind "8" "impulse 8"
bind "=" "sizeup"
bind "\\" "togglemap"
bind "]" "step"
bind "grave" "toggleconsole"
bind "a" "+moveleft"
bind "c" "+movedown"
bind "d" "+moveright"
bind "e" "+use"
bind "m" "changeteams"
bind "r" "+moveup"
bind "s" "+back"
bind "v" "+movedown"
bind "w" "+forward"
bind "y" "messagemode2"
bind "kp0" "toggle vid_32bpp"
bind "kp7" "netrecord"
bind "kp8" "stopnetdemo"
bind "kp." "flagnext"
bind "kp-" "toggle vid_320x200"
bind "kp+" "toggle vid_640x400"
bind "kpenter" "toggle vid_widescreen"
bind "uparrow" "+forward"
bind "downarrow" "+back"
bind "rightarrow" "+right"
bind "leftarrow" "+left"
bind "ins" "ready"
bind "home" "spectate"
bind "pgup" "vote_yes"
bind "pgdn" "vote_no"
bind "f1" "menu_help"
bind "f2" "menu_save"
bind "f3" "menu_load"
bind "f4" "menu_options"
bind "f7" "menu_endgame"
bind "f8" "togglemessages"
bind "f9" "callvote restart"
bind "f10" "callvote coinflip"
bind "f11" "bumpgamma"
bind "f12" "spynext"
bind "leftshift" "centerview\; toggle cl_mouselook"
bind "print" "screenshot"
bind "mouse1" "+attack"
bind "mouse2" "+strafe"
bind "mouse3" "centerview\; toggle cl_mouselook"
bind "mouse4" "cl_switchweapon 2"
bind "mwheelup" "weapprev"
bind "mwheeldown" "weapnext"
bind "joy2" "weapnext"
bind "joy4" "weapprev"
bind "joy8" "menu_main"
bind "mouse5" "cl_switchweapon 1\; impulse 1"
doublebind "g" "say gg"

« Last Edit: August 06, 2019, 14:08:11 by Hekksy »
Join the Odamex Steam group!
Check out the Odamex Discord as well: