File: README.rabbitTimer.txt

package info (click to toggle)
bzflag 2.4.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,488 kB
  • sloc: cpp: 150,376; ansic: 3,463; sh: 2,535; makefile: 2,194; perl: 486; python: 260; objc: 246; php: 206
file content (30 lines) | stat: -rw-r--r-- 1,194 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
BZFlag Server Plugin: rabbitTimer
================================================================================

Original author: L4m3r

The rabbitTimer plug-in helps solve that pesky rabbit cowardice problem.
Rabbits don't get any points for hiding; they must kill hunters to increase
their score.  Hiding also slows down the game and frustrates the hunters,
especially when flags like ST or WG are involved.

This plugin is used to set a maximum time between kills for the rabbit.  In
other words, the rabbit must kill a hunter every N seconds, or they are
destroyed.  There is also an optional rollover mode, in which extra time
left over from kills are added to the time allowance.

Loading the plugin
--------------------------------------------------------------------------------

To load the plugin with default settings (30 seconds without rollover), use:
  -loadplugin rabbitTimer

To load the plugin with a different timer, use the format:
  -loadplugin SAMPLE_PLUGIN,<seconds>
For example:
  -loadplugin SAMPLE_PLUGIN,60

To load the plugin with a different timer with rollover, use the format:
  -loadplugin SAMPLE_PLUGIN,+<seconds>
For example:
  -loadplugin SAMPLE_PLUGIN,+60