]> icculus.org git repositories - divverent/nexuiz.git/blob - data/shotorigin_adjuster.cfg
remove debug prints from rcon2irc
[divverent/nexuiz.git] / data / shotorigin_adjuster.cfg
1 echo "Use HOME, DEL, END, PGDN like arrow keys to move the shot origin."
2 echo "Move the shot origin forward/backward using INS and PGUP keys."
3 echo "Move the shot origin forward/backward without changing its position in the view using NUM + and - keys."
4 echo "Move it to the default shot origin using the NUM * key."
5 echo "Write it down and press NUM / when done."
6
7 cl_cmd shotorg_move "0 0 0" // init
8
9 bind HOME "cl_cmd shotorg_move \"0 0 0.5\""
10 bind DEL "cl_cmd shotorg_move \"0 -0.5 0\""
11 bind END "cl_cmd shotorg_move \"0 0 -0.5\""
12 bind PGDN "cl_cmd shotorg_move \"0 0.5 0\""
13
14 bind INS "cl_cmd shotorg_move \"-1 0 0\""
15 bind PGUP "cl_cmd shotorg_move \"1 0 0\""
16
17 bind KP_PLUS "cl_cmd shotorg_movez 1"
18 bind KP_MINUS "cl_cmd shotorg_movez -1"
19 bind KP_MULTIPLY "cl_cmd shotorg_set \"25 8 -8\""
20
21 bind KP_DIVIDE "cl_cmd shotorg_end"
22
23 bind KP_ENTER "commandmode _load_shotorigin_from_bone"
24
25 alias _load_shotorigin_from_bone "sv_cmd gettaginfo w 0 $1 \"cl_cmd shotorg_set \\\"\" \"\\\"\""
26
27 prvm_edictset server 1 alpha 0.8