leftvisual.blogg.se

Best bzflag world
Best bzflag world











best bzflag world

Notexcolor # the color is not applied to the texture Notexalpha # don't use the texture's alpha channel Notextures # specify that no textures are to be used # - BZFlag default texture names can be used (.png not required) # - or ftp:// hyperlinks can be used (no spaces) Matref material_name # copy another material's propertiesĭiffuse 1.0 1.0 1.0 1.0 # diffuse color ( main color)Ĭolor 1.0 1.0 1.0 1.0 # synonym for 'diffuse' Material properties may be set on several types of objects, including meshes, mesh faces, arcs, cones, spheres, and tetras. Scale 0.0 0.0 1.0 1.0 # u/v freqs, u/v scalesĬenter 0.5 0.5 # dynamic u/v center (for spin and scale)įixedscale 0.0 0.0 # time invariant u/v scaleįixedshift 0.0 0.0 # time invariant u/v shift Green sinusoid 0.1 0 0.25 # period, offset, weightīlue clampUp 0.1 0 0.75 # period, offset, widthĪlpha clampDown 0.2 0.5 0.5 # period, offset, width # the sum of a channel's sinusoids is clamped between 0 and 1 # the sinusoid function starts at the max value # if both clampUp and clampDown are active, the value is (min+max)/2 # sequences can use three states (0, 1, 2). # if a sequence is used, then clampUps and clampDowns have no effect # except for "limits" and "sequence", the commands are repeatable # limits, sinusoid, clampUp, clampDown, sequence # there are 5 types of commands per channel: # there are 4 channels that can be modified: Matswap oldMat newMat #replace a given material in the instance Matref example_material # set material properties

#Best bzflag world drivers

Ricochet # make all subobjects ricochet phydrv example_phydrv # reassign any valid physics drivers Shootthrough # make all subobjects shootthrough Tint 1 1 1 1 # hierarchically tints objects within this groupĭrivethrough # make all subobjects drivethrough Team 0 # change all base colors within group Group # a valid group definition reference Instantiates a group, and possibly modifies subobjects # You can add any object to a group definition,

best bzflag world

This does not place any objects into the world, a group instance must be used to generate world objects from a group definition. Height -1.0 # anything below 0 turns it offĭefines a group, which may include other group instances Sets how high the water is, in a matter of units.

best bzflag world

In the following examples, the values are the defaults.Ī world file interface for setting command line options for BZFS. The options object contains command line arguments that are used to configure the server's game mode, but can not contain server specific options such as -p, -passwd, and -conf. There is no set limit to the number of times you may use any of the objects except for the world, options, and waterLevel objects, they can only be specified once. Line comments can be specified by placing a # sign at the start of the line.įor documentation purposes, you can tag each object by adding a name attribute. Attributes have default values, and if that is good enough, the attribute need not be listed. The exceptions to the rule are define and face, which are concluded with enddef and endface. The list of world types consists of:Įach object is described by placing the type on one line, the word end on a following line, and a list of attributes for that object, one per line, in between.

best bzflag world

The format of this text file consists of any number of objects listed in any order (except that physics, textureMatrix, dynamicColor, and material must come before they are referenced) separated by newlines and grouped into blocks of types. bzw file is a plain text file with a relatively simple file format. # simple world containing a box, pyramid, and mesh Map attributes may be set to create worlds of various sizes, the default size is 800x800. These obstacles make up the world that the BZFlag tanks will drive around in. The map may contain a variety of "obstacles" like buildings, pyramids, and meshes. The BZFlag world file format describes and environment that includes the game map, physical world attributes, and automatic world weapons. The BZFlag world file format describes a world environment that is used by the BZFlag game server, bzfs.













Best bzflag world