This wad is designed to control the presence of BFG on any existing maps.
The main purpose of creation - to prevent BFG-spamming during FFA deathmatch.
This patch affect to ALL BFGs on the map simultaneously.
It tested on ZDaemon 1.09.

The idea    : Maikl_Russia.
The creator : EarthQuake.
Some changes: Maikl_Russia.

How to use.
~~~~~~~~~~~
Just add this file like any other *.wad file to zdaemon (-file bfgpoof.wad).
There are 7 console variables (with some default values). You can add them in config of your server.
Or not add if you liked the default values. :)

  1) cv_bfgcount - the count copies of BFG to spawn at the same time in one mapspot.
     (because a one copy of BFG has 80 cells at skill 5/1, 40 cells at skill 4/3/2).
     Admissible values: 1 - no BFG, 2 - one BFG, 3 - two BFGs, ..., 51 - 50 BFGs.
     Default value is 3.

  2) cv_bfgfog - to show or not to show a special effect during BFG respawn (like any other item respawn)
     Admissible values: 1 - not show, 2 - show.
     Default value is 2.

  3) cv_bfgstay - the amount of time when BFG stay on map.
     Admissible values: 1..1000000.
     Default value is 10 (about 5..10 seconds).
     The time (in tics) is calculated by the following formula: 17*Random(1*cv_bfgstay, 2*cv_bfgstay).
     35 ticks = 1 second

  4) cv_bfgpoof - the amount of time when BFG absent on map.
     Admissible values: 1..1000000.
     Default value is 40 (about 20..40 seconds).
     The time (in tics) is calculated by the following formula: 17*Random(1*cv_bfgpoof, 2*cv_bfgpoof).
     35 ticks = 1 second

  5) cv_otherweapon - spawn or not spawn other random weapons while the BFG is absent.
     Admissible values: 1 - not spawn, 2 - spawn.
     Default value is 2.

  6) cv_otherweaponfog - like cv_bfgfog.
     Admissible values: 1 - not show, 2 - show.
     Default value is 1.

  7) cv_otherweaponstay - the amount of time when other weapon stay on map, next this weapon spawn again,
     until cv_bfgpoof is over. Cyclic spawn of the weapon is necessary on a case if the player pick it up.
     Admissible values: 1..cv_bfgpoof.
     Default value is 8. (aboout 4 seconds)

The count copies of other weapon to spawn = cv_bfgcount.
The script now use the function "SpawnSpotForced" instead of "SpawnSpot".

BFG rulez. :) But not when it spamming.

24 june 2013

PS: Sorry for my poor english and google translate. :)
--
  Maikl_Russia
