]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - shotorigin_adjuster.cfg
Merge remote-tracking branch 'origin/master' into Mario/classname_checks
[xonotic/xonotic-data.pk3dir.git] / 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 "Temporarily hide the shot origin using the NUM INS/0 key."
6 echo "Write it down and press NUM / when done."
7
8 cl_cmd shotorg_move "0 0 0" // init
9
10 bind HOME "cl_cmd shotorg_move \"0 0 0.5\""
11 bind DEL "cl_cmd shotorg_move \"0 -0.5 0\""
12 bind END "cl_cmd shotorg_move \"0 0 -0.5\""
13 bind PGDN "cl_cmd shotorg_move \"0 0.5 0\""
14
15 bind INS "cl_cmd shotorg_move \"-1 0 0\""
16 bind PGUP "cl_cmd shotorg_move \"1 0 0\""
17
18 bind KP_PLUS "cl_cmd shotorg_movez 1"
19 bind KP_MINUS "cl_cmd shotorg_movez -1"
20 bind KP_MULTIPLY "cl_cmd shotorg_set \"25 8 -8\""
21
22 bind KP_DIVIDE "cl_cmd shotorg_end"
23
24 bind KP_ENTER "commandmode _load_shotorigin_from_bone"
25
26 bind KP_INS "cl_cmd shotorg_toggle_hide"
27
28 alias _load_shotorigin_from_bone "sv_cmd gettaginfo w 0 $1 \"cl_cmd shotorg_set \\\"\" \"\\\"\""
29
30 prvm_edictset server 1 alpha 0.8