To bind a key to the configs just type this in your console:
bind "key" "exec hltvrecord.cfg"
bind "key" "exec hltvstoprecord.cfg"
Posted below are both configs for your use. You can either copy & paste the text into notepad and save it as a *.cfg file, or you can download them from the provided links. Either way, you will have to edit the configs to match your server identifers, and the passwords for both your game server and your HLTV server. Have Fun!
http://md.nuclearfallout.net/configs/hltvrecord.cfg
http://md.nuclearfallout.net/configs/hltvstoprecord.cfg
Code: Select all
// NuclearFallout HLTV Autorecord Config by metro
// For HLTV and server help, visit #nfo-support on GameSurge
// To use this config, make sure to replace ? with your server identifier,
// change the password entries to match your passwords, and then bind a
// key to "exec hltvrecord.cfg" to execute the config file.
// If you have more than one identifer, be extra careful to use the correct
// ones for your HLTV and for your game server.
// Begin HLTV Autorecord config
alias "wait10" "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait"
rcon_address ?.hltv.nuclearfallout.net
wait10;wait10;wait10;wait10
rcon_port 27020
wait10;wait10;wait10;wait10
rcon_password "hltvpassword"
wait10;wait10;wait10;wait10
rcon record HLTV
wait10;wait10;wait10;wait10
rcon_address ?.nuclearfallout.net
wait10;wait10;wait10;wait10
rcon_port 27015
wait10;wait10;wait10;wait10
rcon_password "gameserverpassword"
wait10;wait10;wait10;wait10
rcon say Now recording HLTV demo.
Code: Select all
// NuclearFallout HLTV Stop Autorecord Config by metro
// For HLTV and server help, visit #nfo-support on GameSurge
// To use this config, make sure to replace ? with your server identifier,
// change the password entries to match your passwords, and then bind a
// key to "exec hltvstoprecord.cfg" to execute the config file.
// If you have more than one identifer, be extra careful to use the correct
// ones for your HLTV and for your game server.
// Begin HLTV Stop Autorecord config
alias "wait10" "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait"
rcon_address ?.hltv.nuclearfallout.net
wait10;wait10;wait10;wait10
rcon_port 27020
wait10;wait10;wait10;wait10
rcon_password "hltvpassword"
wait10;wait10;wait10;wait10
rcon stoprecording
wait10;wait10;wait10;wait10
rcon_address ?.nuclearfallout.net
wait10;wait10;wait10;wait10
rcon_port 27015
wait10;wait10;wait10;wait10
rcon_password "gameserverpassword"
wait10;wait10;wait10;wait10
rcon say HLTV demo recording stopped.