Zopmod - www.geocities.com/geozop/zopmod.html - geozop@hotmail.com

How to use the stuff (clients):

The connect message will tell you that there are a few impulses you should know. They should have been listed in the console. (Death messages will scroll them upwards). They are:

 200: (while dead) observer mode
- back to the connect screen
 88: turn off message
- turn of connect message
 93: view config
- show the server deathmatch and teamplay settings
 94: other commands
- show other useful impulses
- and
  1: join game


If you are in observer mode impulse 94 will show:
"vote-exit" or "vote-exit, vote-runes, vote-arena" or "vote-runes or vote-arena"
- the voting config will show what vote options are available
"Impulse 89- show votes"
- this will show if voting is enabled
"Imp 2-random teleport"
- random teleport in level for observer (sometimes in walls)
"Imp 3-starting spot teleport"
- random starting spawn point teleport for observer

Otherwise, in play it will show:
- the same vote options messages
"Rune impulses:98-remove, 99-show, 100-use"
- this will show if runes are turned on
"Bind a key with +hook to use hookshot"
- this will show if the freehand hookshot is turned on
"Imp 88-toggle rune descrips
     95-powerup times left"
- rune descrips are messages shown at the top of screen to tell new players what the new rune does
- powerup times will show how many seconds of each powerup you have remaining


 
-Freehand Hookshot
 The hookshot command must be bound to a key. To do this, type at the console: bind s +hook This will make the 's' key be the key that will use the hook. Obviously, change the s to any other letter or symbol for another key. Press it to fire the hook, hold it down to keep it out, and for it to drag you to where ever it has hit. Let go of the key, and the hookshot will disappear, and you'll be left with gravity to deal with again.

-Weapon hookshot
 Press 1 twice (or impulse 1 twice) to toggle the secondary weapon on the axe, which is the hookshot. Attack, but not hold, to release hookshot. Attack again to release hookshot.

-Runes
 Once they're turned on, you have to get one first. If you sit around for a few seconds, they're likely to appear in front of you, or around a corner. They make 'tink' noises when the hit a wall or floor. When you get one, it'll say what rune it is in the middle of the screen, and, if you have the description option on, it'll say at the top what the runes does. So, find one and walk on it to get it. There are three options for the runes:
 Drop it
 -impulse 98
 See what the rune is (again)
 -impulse 99
 Activate it
 -impulse 100
 At the console, type in impulse 98. When you start playing again, it'll say 'Rune removed' in the middle of the screen (Unless you're on top of another rune, then you'll just get that one). Of course, you can only have one rune at one time. To bind to a key one of these commands, open the console again and type: bind w "impulse 98" (you do need to have the quotes). Now, every time you press the w key, it'll remove the rune you have. Again, you can change what key you want the command to be bound to.
 
All player command impulses:
88 - show rune and new weapon descrip
89 - show current vote count (simple majority or 2 out of 2 wins vote)*
90 - vote to change runes on/off (also vote-runes)*
91 - vote to chnage RA style on/off (also vote-arena)*
92 - vote to exit (also vote-exit for multiplayer)*
93 - show server settings
94 - show available commands
95 - show times left on own powerups
96 - stop hook (-hook)*
97 - start hook (+hook)*
98 - drop rune*
99 - see rune*
100- use rune*
* - unless disabled by server



Server stuff:

 The two variables, deathmatch and teamplay, have been changed so that they affect gameplay and other settings. Add the values of the wanted settings together and set the variable corresponding to those settings to the number.
 For example, if you wanted infinite ammo, all weapons, and no health in levels, you would set deathmatch to 515 (1 + 2 + 512).

Deathmatch settings:
   1 Infinite ammo
   2 All weapons on spawn*
   4 Freehand hookshot
   8 Items in level switch places
  16 Runes on*
  32 Rune removal waiting time*
  64 Start with Rocket Launcher
 128 Start with a bit of Pent*
 256 Start with a bit of Quad*
 512 No health in levels
1024 No pentagram in level
2048 Everyone keeps one rune*
4096 Weapons reset to new on new level
8192 Weapon leave on pickup
* This setting is further customizable by editing the _settings.qc (text) file.

Teamplay settings:
  1 Same level
  2 Random level
  4 Exit kills on touch (unexitable)
  8 Exit does nothing on touch (unexitable)
 16 Level exitable after fraglimit reached by that player
 32 Level exitable after timelimit reached
If any of the next four settings are used, teamplay effects will be on.
 64 Teammates killable
128 Teammate armor protection
256 Self protection
512 Just turn teamplay on
    (Team protect, but not armor or self protection)

Unfortuneatly, any teanplay setting will make QW think that teamplay is on and show scores accordingly.

 There are many other settings that can be changed in the _setting.qc file. I would recommend making a backup of this .qc file.
 To have these changes work, run proqcc.exe in the same folder as the mod and all the other .qc files. This will make a progs.dat file (unless an error occured, then you'll need to start over with the backup (or if you're good, you can debug the problem yourself)). Then rename the file to qwprogs.dat manually or running qwprog.bat in that folder. However, the server will need to be restarted (or change to a new map) before the changes affect.
 If you run a mac, you will need to find a quakec compiler and run that instead of proqcc.exe if you want to edit the variables in the _setting.qc file.


Client-side admin:

 To get admin privelidges, you need to do the three impulses, in order, that have been set (by you) at the end of the _setting.qc file. It should say "admin on" on success. Then you can do these commands:

Impulse:
83 View settings
80 Kick player 
78 change deathmatch
77 change teamplay
76 change fraglimit
75 change timelimit
74 change maxspeed
73 change gravity (yet, does it work? rumored not to work with QW)
72 change current max runes (if runes are set on)
70 Force next level

 Each impulse will give help on use. Usually, you will need to give more impulses to give each setting what value you want.
 For example:

 You:   Impulse 77                         --change teamplay
 Quake: Changing teamplay, (0)             --the zero is the current value of teamplay
        impulse xx for last two digits in teamplay, impulse 100 for 00
 You:   "What teamplay did I want?"
        "I want: exit kills on touch, but exitable after timelimit reached" (4 + 32 = 36)
        Impulse 36                         --last two digits of wanted teamplay number
 Quake: Next, impulse 100 for +zero, or impulse ## for +##36
 You:   "Uh, that's it..."
        Impulse 100                        --no more digits, don't add anything
 Quake: teamplay changed to: 36
 You:   "...and, did it work?"
        Impulse 83                         --check the settings
 Quake: These settings are on:
        ...(other options set by deathmatch)...
        Exit kills on touch
        Exitable after timelimit reached
 You:   "I wonder what the timelimit is..."
        Impulse 75                         --change timelimit
 Quake: Resetting timelimit, (0)           --timelimit is zero... no good
	impulse xxx for timelimit, impulse 255 for none
 You:   Impulse 20                         --20 minutes
 Quake: Timelimit changed to 20

