README.TXT


SpiterBot Duel Mod v0.5 for Quake III Arena
Copyright (C) 2001-2002 SpiterBot team
http://www.progamer.ru


-------------------------------------------
           Table Of Contents 
-------------------------------------------

1. Basics
  * Introduction
  * Installation
  * Quick start
2. Configuration
  * Server variables
  * Client variables
  * Commands
  * Other settings
3. Credits
  * SpiterBot team



1. Basics
===================
* Introduction
-------------------

SpiterBot is a duel bot modification for Quake III Arena. Bot have a highly 
advanced gameplay and unique AI kind of thing. It requires from you some 
special duel tricks, such as properly armor- and megahealth-counting, 
high skill shooting from all kind of weapons as well as fast speed-running 
in order to be lauded as the winner. For a bit of background, this Mod 
is focuses on providing a convenient environment for duel self-training 
and improvement of items counting, competition, flexible and fun. The Mod 
supports both standard Quake III Arena physics as well as Challenge Pro Mode.

 Complete list of SpiterBot features:

 * Well-known tricks such as human-like rocketjump,
   strafejump movement around the level
 * Dodging capabilities from all kind of enemy projectile weapons
 * Smart predicted shots on invisible, but distinct audible enemies
 * Great shooting accuracy, which can be adjusted by changing their skill
 * Bot makes all gameplay decisions depending on their health, 
   enemy distance, all type of sounds, internal items counter
   and other AI tweaks
 * He checks around map the by control rockets and grenades
 * All the BEST of OSP features, such as highly configurable
   client-side, extensive in-game player statistics, flexible 
   overtime mode capabilities, well-known variables and so on
 * Unique duel match statistics, including spawn-frags, midair-frags,
   blind-frags, average armor and health counting and much more
 * g_midair mode for testing rocket launcher's aiming and just for fun
 * Perfect gameplay on the all type of duel championship maps,
   such as ztn, t2, t4 and dm6

Note: This modification have absolutely been no changes to the core 
gameplay of "vanilla" Quake III Arena and its dynamics.

Additional note: this version have midair mode only.


* Installation
-------------------
The latest version is always available at ftp://ftp.progamer.ru/bots/q3/spiter/
Please note that SpiterBot requires Quake III Arena point release 1.32

1) Extract the .zip into your Quake III Arena directory. Make sure 
   that "extract with path names" is turned on. A subdirectory 
   called "spiterbot" should be created.
2) The mod can then be loaded from the Quake III Arena menu, 
   in the Mods panel. SpiterBot can also be run from the command line 
   with these parameters:   quake3.exe +set fs_game spiterbot



* Quick start
-------------------

1) Start your Quake III Arena game, load spiterbot modification
   and choose the map (map ztn3tourney1 for example).
2) Press Esc key while in game to pull up a brief menu 
   of important game options and select there "add smart bots" 
   yellow menu item. This pulls up client cgame menu for 
   SpiterBot-specific tweaks.
3) Now you can select bot character and optionally their skill 
   if you not wish play with highly hardcore bot.
4) Hit "Add" button right now and you both should be 
   entered into warmup period before actual gamplay begins.
5) Once you feel great and ready to competition, type "\ready" in 
   console and after 10-sec countdown, duel match will be started.
   It is recommended that you bind this "ready" command.



2. Configuration
===================
Once you are in game, these variables and commands are accessible 
by bringing down the console (use the ` key). All commands typed 
into the Quake III Arena console must be preceded by a \. 
This simply lets Quake III Arena know you are typing in a command 
instead of trying to say something.


* Server variables
-------------------
At any time during play advanced users can adjust 
the following variables and restart the map.

\g_blinkImpact [0-1] (default: 1)
    Sets enemy model blinking on every hits and splashes
    0 - off (no blink at all)
    1 - on  (blink enabled)

\g_debugprint [0-1] (default: 0)
    Print debug info in the file and screen
    0 - off (no print at all bot events)
    1 - on  (print enabled)

\g_midair [value] (default: 3)
    Midair: Sets up the vertical knockout multiplier by rocket's
    direct-hit. It is calculated by multiplying so: 24 * 2 * g_midair
    1 - reduplication of standard value (24 * 2 * 1)

\g_midair_splash [0-1] (default: 0)
    Midair: if this is set to "1", midair splash damage will be 
    enabled. Otherwise only rocket's direct-hit can damage enemy
    0 - off (no splash damage)
    1 - on  (midair splash damage enabled)

\g_midair_power [0-1] (default: 1)
   Only Midair: 
    0 - powerup disable 
    1 - powerup enable 

\g_midair_mega [0-4] (default: 1)
   Only Midair: 
    0 - MH disable 
    1 - MH relpace to Quad 
    2 - MH relpace to BS 
    3 - MH relpace to Haste
    4 - MH relpace to Regeneration
    
\g_nosuicide (0-1) (default 0)
  0 - score suicide 
  1 - dont score suicide
  
\g_rj_new (0-1) (default 1)
 frequency bot rocketjump
 
\g_rl_damadge (1-999) (default 100)
  RocketLauncher damadge
  
\g_rl_speed (1-16535) (default 900)
 RocketLauncher speed. if g_cpm set to "1"
 RocketLauncher speed =  g_rl_speed + 100.
    

\g_delagHitscan [0-1] (default: 1)
    Unlagged variable: Total server-side lag compensation 
    for hitscan weapons (machinegun, shotgun, lightning gun, railgun)
    0 - off (no hitscan compensation, but still uses another 
            lag compensations, as outlined in unlagged documentation)
    1 - on (hitscan compensation enabled)

\g_truePing [0-1] (default: 1)
    Unlagged variable: Shows and uses the real delay between 
    client and server
    0 - off (standard ping definition)
    1 - on  ("true" ping definition)

\g_lightningDamage [0-8] (default: 8)
    Unlagged variable: Sets up the lightning gun's damage
    You may want to try lowering the damage, at least to better 
    lag compensation

\bot_dwl_debug [0-1] (default: 0)
    DEBUG: bot only goes under the direction of GOTO console commands
    0 - off (normal bots movement)
    1 - on  (debug movement enabled)

\g_cpm [0-1] (default: 0)
    Switches VQ3/CPM physics
    0 - off (VQ3 physics)
    1 - on  (CPM physics)

\g_bloodMarks [0-1] (default: 0)
    Shows blood footsteps on the floor from wounded players
    (when their health is less than 25 %)
    0 - off (no blood on the floor)
    1 - on  (shows blood)

\g_bloodBody [0-1] (default: 0)
    Be a bloodstained if you trod on the gibs
    0 - off (no blood on the body)
    1 - on  (shows blood)

\start_health [value] (default: 125)
    Specifies starting health for a player

\start_armor [value] (default: 0)
    Specifies starting armor for a player

\weapon_deaddrop [0-1] (default: 1)
    Self explainable variable, drop the weapon when 
    death event have occurred
    0 - off (no drop the weapon)
    1 - on  (dropping enabled)

\powerup_disable [bitmask] (default: 0)
    Describes all powerups to be removed from each map. Note, 
    this value is a sum of all the powerups to be disabled, 
    as listed below:

    * 0   - No powerups disabled
      1   - Quad Damage
      2   - Battlesuit
      4   - Haste
      8   - Regeneration
      16  - Invisibility
      32  - Flight
      64  - Teleporter
      128 - Medkit

    Example: power_disable value of 127 effectively
    removes all powerups from the map except for
    the holdable medkit

\item_disable [bitmask] (default: 0)
    Describes all items (excluding powerups) to be removed from each
    map. Note, this value is a sum of all the items to be disabled,
    as listed below:

    * 0   - No items disabled
      1   - All armor
      2   - All health
      4   - BFG
      8   - Machinegun
      16  - Shotgun
      32  - GrenadeLauncher
      64  - RocketLauncher
      128 - LightningGun
      256 - PlasmaGun
      512 - RailGun

      ---> Note, when a weapon is disabled, its associated
           ammo is also removed

      Example: item_disable value of 511 effectively
      removes all items from the map except for
      the railgun and its ammo (slugs)

\pmove_acc (0-320) (default 0.5)
fix framerate-dependent behavior by [AF]-Haste

* Client variables
-------------------

\cg_cmdTimeNudge [value] (default: 0)
    Set this to the number of milliseconds you would like 
    the server to "nudge" the time of your instant-hit attacks. 
    For example, if you feel that the server overcompensates 
    for your ping, you might try setting it to 25.  That will 
    effectively add 25ms of lag

\cg_screenshot [bitmask] (default: 0)
    Effectively shots the screen after each frag by specified weapons.
    The parameter for this setting is a bitmask:
    0   - Do not shot the screen after frags
    1   - Gauntlet
    2   - Machinegun
    4   - Shotgun
    8   - Grenade launcher
    16  - Rocket launcher
    32  - Lightning gun
    64  - Rail gun
    128 - Plasma gun
    256 - Big fucking gun

\cg_crosshairPulse [0-1] (default: 1)
    Sets up crosshair pulse when picking up items
    0 - off (no pulse)
    1 - on  (pulse crosshair)

\cg_ColorWeaponName [0-1] (default: 0)
    Allows each weapon, its bullets and HUD messages (ie switched
    weapon name) have its own weapon color
    0 - off (no color)
    1 - on  (colorize each weapon)

\cg_nochatbeep [0-1] (default: 0)
    Allows client to supress "beeps" heard during normal chat
    messages
    0 - off (normal chat beeps enabled)
    1 - on  (disable chat beeps)

\cg_altTimer [0-1] (default: 0)
    Timer style
    0 - off (normal increasing timer)
    1 - on  (decreasing timer)

\cg_bloodMarks [0-1] (default: 0) *server-depended*
    Shows blood footsteps on the floor from wounded players
    (when their health is less than 25 %)
    0 - off (no blood on the floor, this requires g_bloodMarks = 1)
    1 - on  (shows blood)

\cg_bloodBody [0-1] (default: 0) *server-depended*
    Be a bloodstained if you trod on the gibs
    0 - off (no blood on the body, this requires g_bloodBody = 1)
    1 - on  (shows blood)

\cg_deadBodyFilter [0-1] (default: 0)
    Filter dead body on the map
    0 - off (shows dead body)
    1 - on  (no dead body around the map)

\cg_3WaveFont [0-1] (default: 0)
    Toggles the use of the 3Wave font for all client game 
    graphics (e.g. scoreboard, teamoverlay, etc.)
    0 - off (baseq3 font)
    1 - on  (3Wave font)

\cg_enemyModel [model/skin] (default: keel/pm)
    Setting this will force all players on the enemy players
    to appear to have this model.

\cg_nomip [bitmask] (default: 0)
    Allows changing graphics to picmip 1 setting, regardless of
    current r_picmip setting. The parameter for this setting
    is a bitmask:
    0    - all gfx follows r_picmip
    1    - LightningGun shaft
    2    - PlasmaGun bolt
    4    - Rocket Launcher explosions
    8    - Grenade Launcher explosions
    16   - Bullets (machinegun and shotgun)
    32   - Railgun
    64   - BFG
    128  - Blood marks
    256  - Smoke puffs
    512  - Items
    1024 - Players

    Please note: if you use marks, the marks for each weapon are
                 also set to picmip level 0

\cg_muzzleFlash [0-1] (default: 1)
    Specifies if there is a muzzle flash when cg_drawGun 
    is not set to 0
    0 - off (no longer flash)
    1 - on  (muzzle flash)

\cg_enemyColors (default: 000ff00)
    Values like [RHSL]    is for cg_enemyColorsOSPStyle "1"
    Values like [rRRGGBB] is for cg_enemyColorsOSPStyle "0"
    Color skin support for rail, head, body and legs. All these 
    can be different! 10 colors available for each section.
    R = rail color (for cg_teamrails 2, not using yet)
    H = head/helmet color
    S = shirt color
    L = legs color

    Please note: values of the "char" for each of the "RHSL"
    parameters can be from 0-9, a-z.

\cg_enemyColorsOSPStyle [0-1] (default: 1)
    Specifies which color style is used
    0 - off (RGB color style)
    1 - on  (OSP color style)

\cg_CrosshairNamesOSPStyle [0-1] (default: 0)
    Drawing of player names when pointing at them, 
    and fade them after player is out of reach.
    0 - off (standard fading)
    1 - on  (fade names with their reduction)

\cg_enemyRailTrailTime [value] (default: 400)
    Sets time-delay of enemy's rail trail

\cg_Sounds [model] (default: "")
    Specifies your model sound
    Example: xaero

\cg_enemySounds [model] (default: "")
    Specifies enemy model sound
    Example: keel

\cg_simpleItemsMask [bitmask] (default: 0)
    Allows changing the items to be they simple.
    The parameter for this setting is a bitmask:
    0  - All items are simple shows as 2d-icons
    1  - Weapon
    2  - Ammo
    4  - Health
    8  - Armor
    16 - Powerup

\cg_muteWeapons [bitmask] (default: 0)
    Allows mute several weapons shot sound.
    These are the important values:
    0   - Nothing to mute
    1   - Gauntlet
    2   - Machinegun
    4   - Shotgun
    8   - Grenade launcher
    16  - Rocket launcher
    32  - Lightning gun
    64  - Rail gun
    128 - Plasma gun
    256 - Big fucking gun

\cg_damageKick [0-1] (default: 0)
    Toggles if, when hit, you viewangle "shakes".
    Client-side can be configured himself (ie server-independent)
    0 - off (no kick the screen at all)
    1 - on  (kick the screen when damage occurs)

\cg_enhancedHUD [0-1] (default: 0)
    Sets the effectively enhanced HUD
    0 - off (standard HUD)
    1 - on  (enhanced HUD)

\cg_blinkImpact [0-1] (default: 1)
    Sets skin blinking under the action of every weapon hits
    0 - off (no blink at all)
    1 - on  (blink enabled)

\cg_lightningImpact [0-1] (default: 1)
    Sets skin blinking under the action of lightning gun hits
    0 - off (no blink at all)
    1 - on  (blink enabled)

\cg_delag [bitmask] (default: 1)
    Unlagged option: if this is set to "1", your lag with all 
    instant-hit weapons will be compensated for.  You can also 
    set it for individual weapons.
    These are the important values:
    1  - Everything
    2  - Shotgun
    4  - Machinegun
    8  - Lightning Gun
    16 - Railgun

\cg_projectileNudge [value] (default: 0)
    Unlagged option: if you choose to use this feature, set 
    this variable to your average ping on the server you're
    currently on.  That will advance the projectiles to the
    position they'll be in by the time your movement reaches 
    the server, making them easier to dodge

\cg_optimizePrediction [0-1] (default: 1)
    Unlagged option: a CPMA-based optimization of enemy's extrapolation 
    under action of each drawing
    0 - off (standard enemy's draw)
    1 - on  (effectively drawing with prediction)

\cg_latentSnaps [0-1] (default: 0)
    Lag simulation: specifies how far back the client game will go for
    snapshots
    0 - off (normal snaps)
    1 - on  (client will effectively receive every snapshot one snapshot
             late. If server run at 20 sv_fps, this will probably add 50ms
             to your ping)

\cg_latentCmds [0-1] (default: 0)
    Lag simulation: specifies how far back the server game will go for
    commands
    0 - off (normal cmds)
    1 - on  (server will effectively receive every command one
             command late. How much this affects your ping depends on what your 
             framerate is. If you run at 125 fps, each increment of one will 
             add about 8ms to your ping)

\cg_plOut [value] (default: 0)
    Unlagged option: specifies what percentage of commands to drop.
    For example, setting it to 50 will drop half of all your commands.

\cg_debugDelag [value] (default: 0) *cheat-protected*
    Unlagged option: setting this variable to "1" will cause 
    both the client and server to spew a bunch of debug 
    information at you when you use the railgun

\cg_drawBBox [value] (default: 0) *cheat-protected*
    Unlagged option: setting this variable to "1" will cause 
    the client game to draw players' bounding boxes around them.
    (A bounding box is basically the hit zone)

\s_ambient [0-1] (default: 1)
    0 - off (disables looping ambient sounds of the current map)
    1 - on (enables looping ambient sounds of the current map)

    Please note: if this value is changed while connected, 
    you will automatically vid_restart to enable this option.



* Commands
-------------------
Most people will want to look through this section as well.

\smart_[bot] [skill]   This can be used to add various bot through
                       console. The "bot" definition here is his name 
                       and can take following words:
                       - spite
                       - dante
                       - python
                       - o4kapuk
                       - 2pizza
                       Your favorite Tab key can also be used.
                       Skill value is optional, default value is 100. 
                       It can be choosed from [1-100] range, 
                       where 100 - really hard skill. For example:

                       \smart_spite 90

                       will add bot named "spite" with 90 skill of
                       gameplay. Simple, huh? But enough hard to play :)

\callvote [command]    Calls a vote. Here is list of available commands.
                       Almost all of this commands list are self-explainable:

                       - map_restart        - nextmap
                       - map <mapname>      - gametype <n>
                       - kick <player>      - clientkick <clientnum>
                       - kickbots           - promode
                       - timelimit <time>   - fraglimit <frags>
                       - pmove              - smooth
                       - delag              - trueping
                       - start_armor        - start_health
                       - rl_damadge         - rl_speed
                       - 2pizza             - o4kapuk
                       - dante              - python
                       - spite              - midair <value>
                       - msplash            - nosuicide
                       -mpower             -mmega

\goto                  Read only command for debugging mode when 
                       bot_dwl_debug is "1"

\area                  Shows area info, in which you are standing. 
                       Used for writing a tricks together with 
                       debugging mode.


 * Other settings
-------------------
Please note: if you use the enhanced client-side support and 
options under OSP Tourney such as:

 ch_* - stuff related to client HUD settings
 cf_* - stuff for client font (size) settings

so there is no reason to worry. SpiterBot have all default OSP 
variables in this regard, and you can still use them without 
any changes (for a complete list of these variables, check out 
OSP web-site http://www.OrangeSmoothie.org)



3. Credits
===================
* SpiterBot team
-------------------

Lead Programming / Artificial Intelligence:
     Dmitry "Qrealka" Loginov (guga@hippo.ru)

Additional programming / Bots Movement / HUD:
     Marcello "Diamant" Albertone (diamant@dd.vaz.tlt.ru)

Testing / Map making / Ideas:
     donka (beastas@omen.ru)

Documentation:
     Alexey Shishkin (sh@novotec.ru)

Thanks to arQon and the promode team for providing CPM physics code.
And to Neil "Haste" Toronto for unlagged and great network tweaking.

Big thanks to a lot of great people from progamer's forum who 
tested and helped develop SpiterBot. Very much appreciate 
the help, technical questions, comments, bugs, feature-requests and 
tons of correspondence you all have provided.


  Enjoy and have fun. Merry Christmas and happy new year to you all!

