Merge branch 'master' of git+ssh://wrburdick@repo.or.cz/srv/git/SauerbratenRemote
[SauerbratenRemote.git] / SauerbratenRemote / scratch / test.sauercfg
blob9903d76d85ad7d3b90286d93ee4e08ea2260b12c
1 appmouse 1
2 map fal
3 remoteallow localhost 9090
4 remoteconnect
5 hidehud 1
6 hudgun 0
8 ////// HOOKS //////
9 changeweaponhook = [echo current weapon is now (currentweapon)]
12 ////// OVERRIDES //////
13 override weapon _weapon [
14         _weapon  $arg1 $arg2 $arg3
15         changeweaponhook        
17 override setweapon _setweapon [
18         _setweapon $arg1
19         changeweaponhook        
21 override nextweapon _nextweapon [
22         _nextweapon
23         changeweaponhook        
25 mainmaps = [@mainmaps wake6]
26 exec particlemenus.cfg
27 //onrayhit [echo RAY HIT BY: (hit.shooter)]
28 onrayhit defaulthit
29 //onprojectilehit [echo PROJECTILE HIT BY: (hit.shooter)]
30 onprojectilehit defaulthit
31 //watch p0 [echo (ent.x p0)]
32 watch p0 [remotesend position (ent.x p0) (ent.y p0) (ent.z p0)]