houndlooki.blogg.se

Bzflag server
Bzflag server











bzflag server

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' Including meshes, mesh faces, arcs, cones, spheres, and tetras. Material properties may be set on several types of objects, 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).

bzflag server

# if a sequence is used, then clampUps and clampDowns have no effect # except for "limits" and "sequence", the commands are # 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 Ricochet # make all subobjects ricochet phydrv example_phydrv 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 Instantiates a group, and possibly modifies subobjects # You can add any object to a group definition, To generate world objects from a group definition. This does not place any objects into the world, a group instance must be used 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. 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Īrguments that are used to configure the server's game mode, but can notĬontain server specific options such as -p, -passwd, and -conf. Of the objects except for the world, options, and waterLevel objects, theyĬan only be specified once. There is no set limit to the number of times you may use any Specified by placing a # sign at the start of the line.įor documentation purposes, you can tag each object by adding a If that is good enough, the attribute need not be listed. The exceptions to the rule are define andįace, which are concluded with enddef and endface.Īttributes may be listed in any order. World options waterLevel dynamicColor textureMatrix transform material physics define group mesh meshbox meshpyr arc cone sphere tetra box pyramid link teleporter base weapon zoneĮach object is described by placing the type on one line, the wordĮnd on a following line, and a list of attributes for that object, Material must come before they are referenced) separated by newlines and Listed in any order (except that physics, textureMatrix, dynamicColor, and The format of this text file consists of any number of objects bzw file is a plain text file with a relatively simple fileįormat. # simple world containing a box, pyramid, and mesh Worlds of various sizes, the default size is 800x800. These obstacles make up the world that theīZFlag tanks will drive around in. The map may contain a variety of "obstacles" likeīuildings, pyramids, and meshes. Includes the game map, physical world attributes, and automatic world The BZFlag world file format describes and environment that The BZFlag world file format describes a world environment that is Bzw - BZFlag world file format DESCRIPTION ¶













Bzflag server