How to set a class system
-------------------------
Well, just execute his ".rc" file. For example
    "exec quake3.rc" will set some Q3 style classes
    "exec wyrm1.rc" will set the Wyrm 1 class sytem
    "exec old.rc" will set the Old q2 class sytem

How to make your own class sytem
--------------------------------
A class system is based on different files:
  -A ".rc" file
  -A ".class" file
  -A ".rws" file
  -One or more ".keys" file/s

The ".rc" is an script file that sets the adecuated Q2 cvars. You may use any
of the included ".rc"s file as a base. For example, you may copy "default.rc"
to "new.rc". Then modify the newly created file to set the most appropiated
valors for the class you want to create.

 -"rwcfgin" is the cvar that says Wyrm the file where the Weapon system is in.
 -"classfile" is the name of the file that defines the class system
 -"enableclass" enables support for multiple classes with a menu. If it isn't
set, it counts as you always have the 0 class.
 -"enableclassvelocity" enables the class speed code... it isn't perfect, but
works.
 -"dropitems": 1 if players are able to drop items, and 0 if they aren't. It is
recommended to set it to 0 if you're using different weapons for differents
classes.
 -"footsteps": enables or disables the footsteps sounds
 -"changeframes": enables or disables the weapon change frames (if disables,
the weapon changes take no time.
 -"autobindkeys": if enabled, it will set the class keys as soon as the player
join in.

 The ".class" file defines the classes characteristics. Take a look onto the
".class" files included in order to see how they work.
The fields are:
-name: the name of the class [string]
-skin: the skin of the class (seted if "setclassskin" is enabled) [string]
-keys: the file that contains the class keys [string]
-speed: the speed of the class  (applied if "enableclassvelocity" is enabled)
          [float]
-power: the basic damage multiplier of the class [float]
-resistance: the resistance of the class (it's value multiplies the damage,
so it may be smaller or equal than 1 [float]
-jump: the jump multiplier [float]
-knockback: the knockback multiplier [float]
-health: the initial health [integer]
-max_health: the max health [integer]
-max_bullets: the max bullets [integer]
-max_shells: the max shells [integer]
-max_rockets: the max rockets [integer]
-max_grenades: the max grenades [integer]
-max_slugs: the max slugs [integer]
-max_cells: the max cells [integer]

you may also define the initial inventory. Just write the item classname, and
the ammount the class begin with. An example:

{
keys wyrm1.keys
speed 1.5
power 1.5
max_shells 50
max_cells 100

weapon_blaster 1        <---\
weapon_pistol 1         <----\
ammo_grenades 3         <-----|- The initial inventory
ammo_bullets 48         <----/
item_armor_jacket 25    <---/
}

You may find the list of the item classnames at "itemlist.txt".

The ".rws" files are self-explained. Go and check them.
The ".keys" files are just normal Q2 config files that bind the player keys to
the adecuated keys regarding to the class they taked.

That's all :) I know that this is a bit complicated to understand, but my
english sucks :P This is why I've programmed the Wyrm Editor, so if you want to
follow my advice, use it. It is a lot more easier.

Have fun modifying/creating the classes.
                Josep del Rio
