From df0355da742e665575e0012d90af16588c4ffdad Mon Sep 17 00:00:00 2001 From: richard Date: Sun, 11 Oct 2009 03:18:16 +0200 Subject: [PATCH] Started making HTML-version of user manual. When conversion is done, the plain text file is considered obsolete. --- docs/zr.css | 111 +++++++++ docs/zr_manual.htm | 555 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 666 insertions(+) create mode 100644 docs/zr.css create mode 100644 docs/zr_manual.htm diff --git a/docs/zr.css b/docs/zr.css new file mode 100644 index 0000000..af0c49e --- /dev/null +++ b/docs/zr.css @@ -0,0 +1,111 @@ +h1 +{ + font-family: "Verdana", "Arial", "Times"; + font-size: x-large; +} + +h2 +{ + font-family: "Courier New", "Verdana" "Arial"; + font-size: larger; + color: #900000; + border-bottom-style: solid; + border-bottom-color: #900000; + border-bottom-width: medium; +} + +h3 +{ + font-family: "Verdana", "Arial", "Times"; + font-size: medium; +} + +h4 +{ + font-family: "Verdana", "Arial", "Times"; + font-size: small; +} + +h5 +{ + font-family: "Verdana", "Arial", "Times"; + font-size: x-small; + color: #909090; +} +h6 +{ + font-family: "Verdana", "Arial", "Times"; + font-size: small; + font-weight: bold; + color: #900000; +} + +p, li, td +{ + font-family: "Arial", "Times"; + font-size: small; + color: #404040; +} + +p.headerinfo +{ + font-size: x-small; + color: #909090; +} + +p.code +{ + font-family: "Courier New", "Lucida Console"; + color: #000000; +} + +table +{ + border-style: none; + border-collapse: collapse; + width: 100%; +} + +td +{ + text-align: left; + padding: 3px; +} + +td.commandheader +{ + border-bottom-style: dashed; + border-bottom-width: thin; + font-family: "Courier New", "Lucida Console"; + color: #000000; +} + +td.indent +{ + padding-left: 40px; +} + +th +{ + font-family: "Arial", "Times"; + font-size: small; + font-weight: bold; + color: #900000; + vertical-align: top; + text-align: left; + padding: 3px; + border-bottom-style: solid; + border-bottom-width: medium; +} + +th.namewidth +{ + width: "500px"; +} + +.container +{ + margin-left: 0px; + margin-right: auto; + width: 700px; +} diff --git a/docs/zr_manual.htm b/docs/zr_manual.htm new file mode 100644 index 0000000..bca9c2e --- /dev/null +++ b/docs/zr_manual.htm @@ -0,0 +1,555 @@ + + + + + + + + Front page - Helgeby Network + + + +
+

Zombie:Reloaded User Manual

+ +

Targets plugin version 3.0.0 Beta 2, (not released)
+Written by Richard Helgeby

+

Manual last modified: 2009.10.10

+ +

Index

+ +
    +
  1. + Introduction +
      +
    1. About The Plugin
    2. +
    3. Game Objectives
    4. +
    5. Credits
    6. +
    +
  2. + +
  3. + Installation +
      +
    1. Requirements
    2. +
    3. Plugin Installation
    4. +
    5. Test Run
    6. +
    +
  4. + +
  5. + Configuration +
      +
    1. + Understanding syntax +
        +
      1. Optional Parameters
      2. +
      3. Required Parameters
      4. +
      5. Multiple Options In The Same Parameter
      6. +
      7. Text As Parameters
      8. +
      +
    2. + +
    3. Configuration Files
    4. + +
    5. + Logging +
        +
      1. Log Flags
      2. +
      3. List Of Modules
      4. +
      +
    6. + +
    7. + Custom Map Configuration Files +
        +
      1. Types
      2. +
      +
    8. + +
    9. Model List
    10. +
    11. Download List
    12. + +
    13. + Class Configuration +
        +
      1. Class Types
      2. +
      3. Class Attributes
      4. +
      5. Class Requirements
      6. +
      7. Class Console Variables
      8. +
      9. Modifying Class Attributes
      10. +
      11. Attribute Multipliers
      12. +
      13. Reloading Attributes
      14. +
      15. Dumping Attributes
      16. +
      17. Dumping Multipliers
      18. +
      +
    14. + +
    15. + Weapon Configuration +
        +
      1. Attributes
      2. +
      3. Weapon List
      4. +
      5. Console Commands
      6. +
      +
    16. + +
    17. Hit Group Configuration
    18. +
    19. Infection Module
    20. +
    21. Damage Control Settings
    22. +
    23. Overlay Settings
    24. +
    25. Money Settings
    26. +
    27. Visual Effects Configuration
    28. +
    29. Sound Effects Configuration
    30. +
    31. Respawn Configuration
    32. +
    33. Spawn Command Configuration
    34. +
    35. Spawn Protect Configuration
    36. +
    37. Teleport Configuration
    38. +
    39. HP Display Settings
    40. +
    41. Jump Boost Settings
    42. +
    43. Anti-Stick Configuration
    44. + +
    45. + Volumetric Feature Configuration +
        +
      1. volume Attributes
      2. +
      3. Feature Attributes
      4. +
      5. Anti-Camp Feature
      6. +
      +
    46. +
    +
  6. + +
  7. + How To Play +
      +
    1. Game Rules
    2. +
    3. Chat Commands
    4. +
    5. Using The Menus
    6. +
    7. Teamwork
    8. + +
    9. + Playing As Human +
        +
      1. Finding A Place To Hide
      2. +
      3. Making Barricades
      4. +
      5. Playing Fair
      6. +
      +
    10. + +
    11. + Playing As Zombie +
        +
      1. Chasing Humans
      2. +
      3. Avoiding Knock back
      4. +
      5. Taking Advantage Of Class Skills
      6. +
      +
    12. + +
    13. + Physics Stuff +
        +
      1. Glitching Trough Walls
      2. +
      3. Jumping Through Non-Solid Props
      4. +
      5. Jumping Fast In Small Areas
      6. +
      +
    14. +
    +
  8. + +
  9. + Troubleshooting +
      +
    1. Verifying Requirements
    2. +
    3. Startup
    4. +
    5. Error and Warning Messages
    6. +
    7. Common Problems
    8. +
    +
  10. + +
  11. + Gameplay Guidelines +
      +
    1. Briefing - Map Configuration Files
    2. +
    3. Map Balance
    4. +
    5. Knock Back Settings
    6. +
    7. Map Time
    8. +
    9. Servers With Unlimited Ammo and No Reloading
    10. +
    +
  12. + +
  13. Reporting Bugs and Improvements
  14. +
+ +

1. Introduction

+ +

1.1 About The Plugin

+

Zombie:Reloaded remake of Zombie Mod with a lot of new features and improvements. It's made for +a Counter-Strike: Source server and runs on a powerful scripting platform called SourceMod.

+ +

1.2 Game Objectives

+

The objectives is to change the game into humans versus zombies. Humans try to survive by +camping, barricading and hiding. Zombies try to zombify humans by using their knife.

+ +

At a random time after the round starts, one or more random humans are turned into zombies. +Zombies have certain advantages as running faster and more health points. Humans have huge amounts +of ammo (or unlimited), and their bullets knock back zombies. A lot more attributes can be adjusted +for both zombies and humans in different classes.

+ +

1.3 Credits

+
Concept
+
+ +
Developers and testers
+ + +
Additional testers and contributors
+ + + +

2. Installation

+ +

1. Requirements

+

Zombie: Reloaded requires that the following stuff is installed on the server:

+
    +
  1. Metamod:Source - A simplified API for server plugins. It makes it easier for developers + to make plugins like SourceMod:

    +
  2. + +
  3. SourceMod - A scripting platform:

    +
  4. + +
  5. +

    ZRTools extension (bundled). Provides some extra functions needed by Zombie:Reloaded. + See Plugin Installation (2.2).

    +
  6. +
+ +

2. Plugin Installation

+

Extract the content of the zip file into "cstrike/" on the server.

+ +

This plugin is often confused by Zombie Mod, which is actually ovbious since +Zombie:Reloaded is a SourceMod alternative to Zombie Mod.

+ +

3. Test Run

+

The plugin should work with default configuration. Start the server and join a team. Once the +round starts there sould be some messages at the chat with "[ZR]". Or type "!zmenu" in the chat to +bring up the zombie menu to confirm that the plugin is running.

+ +

Next check error logs from SourceMod and look if there are any entries from "zombiereloaded.smx". +If the plugin doesn't work at all or there are error logs, see Troubleshooting at section 5.0.

+ + +

3. Configuration

+ +

1. Understanding Syntax

+

In this manual commands or paths may be written in a certain style that tells how to use it.

+ +

Note that the style itself is not written, but it's used as an indicator to tell if a parameter +is optional or not.

+ +

Example syntax of a command:

+

zr_class_modify <classname|"zombies"|"humans"|"admins"> <attribute> <value> [is_multiplier]

+ +

Some paths may look like:

+

cfg/sourcemod/zombiereloaded/<mapname>.cfg

+ +

How to read syntaxes like this is explained below.

+ +

1. Optional Parameters

+ +

Optional parameters is not required and usually have a default value or action. They are marked +with brackets.

+ +

Example:

+

zr_somecommand [number]

+ +

Usage examples:

+

zr_somecommand
+ zr_somecommand 10

+

+ +

2. Required Parameters

+ +

Required parameters must be specified for the command to function. Usually if no parameters are +written the command replies with some info about the syntax.

+ +

Less than (<) and greather than (>) symbols marks required parameters.

+ +

Examples:

+

zr_somecommand <number>
+ zr_infect <target>

+ +

Usage examples:

+

zr_somecommand 100
+ zr_infect "unnamed"

+ +

3. Multiple Options In The Same Parameter

+ +

Some commands have parameters that support multiple pre defined options. +Usually it's specifying a name, a index or a predefined value. Each option is +separated by a "|" symbol. Only one of the options listed is used in a command.

+ +

Example:

+

zr_do_something <index|name|"all">

+ +

Usage examples:

+

zr_do_something 1
+ zr_do_something "all"
+ zr_do_something "unnamed"

+ +

4. Text As Parameters

+ +

Since parameters are separated by spaces, text (strings) should be quoted. It's a good habit to +do this on all string parameters to avoid parsing mistakes.

+ +

Example:

+

zr_infect "unnamed" "player"
+ zr_do_something "example text. test."

+ +

Example of bad usage:

+

zr_do_something example text. test.

+ +

The last example actually have 3 parameters while it should be only one. This may cause unexpected +results and is an example of why strings should be quoted.

+ + +

2. Configuration Files

+

These are the default configuration files. The paths are relative to the "cstrike" folder.

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Type:File:
Main conf.cfg/sourcemod/zombiereloaded/zombiereloaded.cfg
Map conf.cfg/sourcemod/zombiereloaded/<mapname>.cfg
Post map conf.cfg/sourcemod/zombiereloaded/<mapname>.post.cfg
Hitgroup conf.addons/sourcemod/configs/zr/hitgroups.txt
Class conf.addons/sourcemod/configs/zr/playerclasses.txt
Weapon conf.addons/sourcemod/configs/zr/weapons.txt
Download listaddons/sourcemod/configs/zr/downloads.txt
Model listaddons/sourcemod/configs/zr/models.txt
+ +

The post map configuration file is executed after all features of ZR is done loading. Commands +that modify loaded data must be put in post configuration files. How to configure each file is +explained in their own sections.

+ + +

3. Logging

+ +

The log system used in Zombie:Reloaded is pretty powerful and customizable. It's based on +logging flags and a module filter.

+ +

The flags tell what kind of events to log. Those flags are stored as a numeric value in a bit +field where each bit tell wether to log a certain event or not. See +Bit field for technical details.

+ +

The module filter is a list of modules to enable log events from. This filter gives extra +control of what stuff to log. Use console commands below in the main configuration file to add or +remove modules to the filter.

+ +

These commands might not work properly until +bug 3828 in SourceMod is fixed. It's +a bug where console commands in plugin configuration files are executed late so a command like +zr_log_add_module is too late.

+ +

There are console variables for different log settings and exceptions. Place them in the main +configuration file.

+ +

Console variables:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Console variable:Default:
zr_log"1"
+

Enable logging of events in the plugin. Fatal errors or errors are independendt on + this setting and always logged.

+

Options:
+ 0 or 1

+
zr_log_flags"3"
+

A bit field that specify what event types to log.

+

Options:
+ Number - See Log Flags (3.3.1)

+
zr_log_module_filter"0"
+

Enable module filtering. Only log events from listed modules will be logged. Use console + commands below to add or remove modules from the filter.

+

Options:
+ 0 or 1

+
zr_log_ignore_console"1"
+

Don't log events triggered by console that are executed by the console itself, like + commands in configs. Enable this command to avoid spamming logs with events like weapon + restrictions.

+

Options:
+ 0 or 1

+
zr_log_print_admins"0"
+

Print log events to admin chat in addition to the log file.

+

Options:
+ 0 or 1

+
zr_log_print_chat"0"
+

Print log events to public chat in addition to the log file.

+

Options:
+ 0 or 1

+
+ +

Console commands:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Syntax:
zr_log_add_module <module> [modules...]
+

Adds one or more modules to the module filter. Use short module names, see List Of + Modules (3.3.2).

+

Parameters:

+
+ + +
moduleName of the module to add.
modulesAdditional modules to add.
+
zr_log_remove_module <module> [modules...]
+

Removes one or more modules from the module filter. Use short module names, see List + Of Modules (3.3.2).

+

Parameters:

+
+ + +
moduleName of the module to remove.
modulesAdditional modules to remove.
+
zr_log_list
+

Lists current log flag settings and module filtering settings.

+

Parameters:

+
+ +
+ + +