Difference between revisions of "Airspawn"

From BZFlagWiki
Jump to: navigation, search
(Usage)
(Usage)
Line 6: Line 6:
 
When Airspawn is loaded it can take an [[Plug-ins#Parameters|optional parameter]] that represents the max height variance it will apply to a spawn position. The default value is 10 [[world units]].
 
When Airspawn is loaded it can take an [[Plug-ins#Parameters|optional parameter]] that represents the max height variance it will apply to a spawn position. The default value is 10 [[world units]].
  
The plug-in will modify the spawn position by some random amount in Z from 0 to the height variance.
+
The plug-in will modify the spawn position by some random amount in Z from 0 to the height variance. The usage is:
 +
 
 +
-loadplugin "X:\path\to\the\plugin\airspawn.dll,<height>"
 +
 
 +
or during runtime:
 +
 
 +
/loadplugin "X:\path\to\the\plugin\airspawn.dll,<height>"
 +
 
 +
Example:
 +
 
 +
-loadplugin "C:\Program Files\BZFlag2.0.8\airspawn.dll, 100"
  
 
==History==
 
==History==

Revision as of 13:02, 27 August 2007

Airspawn is a standard plug-in that is shipped with the BZFlag Source code. It modifies the starting, or Spawning position of a player tank to being somewhere in the air.

Airspawn is included in v2.0.4 and later releases.

Usage

When Airspawn is loaded it can take an optional parameter that represents the max height variance it will apply to a spawn position. The default value is 10 world units.

The plug-in will modify the spawn position by some random amount in Z from 0 to the height variance. The usage is:

-loadplugin "X:\path\to\the\plugin\airspawn.dll,<height>"

or during runtime:

/loadplugin "X:\path\to\the\plugin\airspawn.dll,<height>"

Example:

-loadplugin "C:\Program Files\BZFlag2.0.8\airspawn.dll, 100"

History

Airspawn was the very first plug-in made, it was a proof of concept for the API.