This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.
Options (object): Difference between revisions
mNo edit summary  | 
				m Replaced "world" with "options" when appropriate  | 
				||
| Line 2: | Line 2: | ||
==Code==  | ==Code==  | ||
The code for   | The code for an options object is as follows  | ||
{|  | {|  | ||
|  | |  | ||
| Line 11: | Line 11: | ||
  end  |   end  | ||
|}  | |}  | ||
Valid parameters for a   | Valid parameters for a options object are nearly any command line option that is valid for the version of [[BZFS]]. Some security sensitive options, such as '''-password''' and '''-groupdp''' 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.  | The options object can only be specified once in a map.  | ||
Revision as of 19:32, 29 July 2007
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
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 a options object are nearly any command line option that is valid for the version of BZFS. Some security sensitive options, such as -password and -groupdp 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
The options object was added in v2.0.0.
Editor Support
The options object is only fully supported by the BZWTools blender plug-in.