]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/shotorigin_adjuster.cfg
Fix a forgotten float that caused a conflict
[voretournament/voretournament.git] / data / shotorigin_adjuster.cfg
1 echo "Use HOME, DEL, END, PGDN like arrow keys to move the shot origin."\r
2 echo "Move the shot origin forward/backward using INS and PGUP keys."\r
3 echo "Move the shot origin forward/backward without changing its position in the view using NUM + and - keys."\r
4 echo "Move it to the default shot origin using the NUM * key."\r
5 echo "Temporarily hide the shot origin using the NUM INS/0 key."\r
6 echo "Write it down and press NUM / when done."\r
7 \r
8 cl_cmd shotorg_move "0 0 0" // init\r
9 \r
10 bind HOME "cl_cmd shotorg_move \"0 0 0.5\""\r
11 bind DEL "cl_cmd shotorg_move \"0 -0.5 0\""\r
12 bind END "cl_cmd shotorg_move \"0 0 -0.5\""\r
13 bind PGDN "cl_cmd shotorg_move \"0 0.5 0\""\r
14 \r
15 bind INS "cl_cmd shotorg_move \"-1 0 0\""\r
16 bind PGUP "cl_cmd shotorg_move \"1 0 0\""\r
17 \r
18 bind KP_PLUS "cl_cmd shotorg_movez 1"\r
19 bind KP_MINUS "cl_cmd shotorg_movez -1"\r
20 bind KP_MULTIPLY "cl_cmd shotorg_set \"25 8 -8\""\r
21 \r
22 bind KP_DIVIDE "cl_cmd shotorg_end"\r
23 \r
24 bind KP_ENTER "commandmode _load_shotorigin_from_bone"\r
25 \r
26 bind KP_INS "cl_cmd shotorg_toggle_hide"\r
27 \r
28 alias _load_shotorigin_from_bone "sv_cmd gettaginfo w 0 $1 \"cl_cmd shotorg_set \\\"\" \"\\\"\""\r
29 \r
30 prvm_edictset server 1 alpha 0.8\r