This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Arc
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The administrator who locked it offered this explanation: Archived wiki
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 34: | Line 34: | ||
end | end | ||
|} | |} | ||
− | Valid parameters for an [[arc]] are | + | Valid parameters for an [[arc]] are |
− | + | ||
− | + | ;name: defines the name of arc, often unused | |
− | + | ;divisions: defines the number of subdivisions in the arc | |
− | + | ;flatshading: defines the use of flat shading, smooth is the default | |
− | + | ;angle: defines the sweep of the arc, 360 indicates a full circle | |
− | + | ;ratio: defines the ratio to make a hollow arc, the parameter is (outrad - inrad) / outrad. | |
− | + | ;position: defines the position of the arc in X-pos, Y-pos and the height of the arc in Z. | |
− | + | ;rotation: defines a rotation around the Z axis for the arc, in degrees. | |
− | + | ;size: defines the distance from the center to the side of the arc in X and Y, and the total height of the arc in Z. | |
− | + | ;shift: shift the arc (repeatable) | |
− | + | ;shear: (repeatable) | |
− | + | ;scale: defines the scale of the arc in x,y, and z, 1 is the default, lower values make it smaller (repeatable) | |
− | + | ;spin angle: rotate the arc around a vector by angle. ONE of nx, ny, and nz should be 1, the others should be 0. (repeatable) | |
− | + | ;texsize: texture sizes, changes how the textures scale on the object. In [[BZFlag_2.4.0|2.4.x]] standard [[Box|boxes]] have "texsize -2.0 -2.0 -8.0 -8.0". | |
− | + | ;phydrv: reference to a predefined [[physics|physics driver]]. | |
− | + | ;smoothbounce: defines that shot bounces use normals | |
− | + | ;matref: reference to a predefined [[material]]. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==Appearance== | ==Appearance== |