This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Options (object)"
m (Options(object) moved to Options (object): Picky me... I want a space) |
m (Fixed redundant links) |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | An options object is a [[BZW]] map structure that defines various options for a server to use when running a map. These options are the same [[BZFS Command Line Options|command line options]] that are passed to the [[BZFS]] at start up. | |
==Code== | ==Code== | ||
− | The code for | + | The code for an options object is as follows: |
− | + | {| | |
+ | | | ||
options | options | ||
-set _tankSpeed 36 | -set _tankSpeed 36 | ||
Line 9: | Line 10: | ||
+f GM{5} +f SW{5} | +f GM{5} +f SW{5} | ||
end | end | ||
− | + | |} | |
− | Valid parameters for | + | Valid parameters for an options object are nearly any command line option that is valid for the version of [[BZFS]]. Some security sensitive options, such as '''-password''' and '''-groupdb''' are ignored in the Options object. '''-set''' can be used to set the value of any [[Server_Variables | BZDB Server Variables]] desired. |
The options object can only be specified once in a map. | The options object can only be specified once in a map. | ||
Line 20: | Line 21: | ||
The options object is only fully supported by the [[BZWTools]] blender plug-in. | The options object is only fully supported by the [[BZWTools]] blender plug-in. | ||
− | [[Category: | + | [[Category:Map Making]] |
[[Category:Map_Objects]] | [[Category:Map_Objects]] |
Latest revision as of 20:35, 24 December 2013
An options object is a BZW map structure that defines various options for a server to use when running a map. These options are the same command line options that are passed to the BZFS at start up.
Code[edit]
The code for an options object is as follows:
options -set _tankSpeed 36 -j +r -ms 3 +f GM{5} +f SW{5} end |
Valid parameters for an options object are nearly any command line option that is valid for the version of BZFS. Some security sensitive options, such as -password and -groupdb are ignored in the Options object. -set can be used to set the value of any BZDB Server Variables desired.
The options object can only be specified once in a map.
History[edit]
The options object was added in v2.0.0.
Editor Support[edit]
The options object is only fully supported by the BZWTools blender plug-in.