This wiki is archived and useful information is being migrated to the main bzflag.org website

Editing Cone

Jump to: navigation, search

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 20: Line 20:
 
   smoothbounce
 
   smoothbounce
 
   matref material
 
   matref material
  bottom matref material2
 
 
  end
 
  end
 
|}
 
|}
 
Valid parameters for a cone are:
 
Valid parameters for a cone are:
{|{{Prettytable}}
+
<properties>
|-
+
name=defines the name of cone, often unused  
| {{Hl3}} |'''Parameter'''
+
divisions=defines the number of subdivisions (number of sides) in the cone, a higher value leads to a slower map with more detail
| {{Hl3}} |'''Description'''
+
flatshading=defines the use of flat shading, smooth is the default
|-
+
position=defines the position of the cone in X-pos, Y-pos and the height of the cone in Z.
| '''name''' || defines the name of cone, often unused.
+
rotation=defines a rotation around the Z axis for the cone, in degrees.
|-
+
size=defines the distance from the center to the side of the cone in X and Y, and the total height of the cone in Z.
| '''divisions''' || defines the number of subdivisions (number of sides) in the cone, a higher value leads to a slower map with more detail.
+
shift=shift the cone (repeatable)
|-
+
shear=(repeatable)
| '''flatshading''' || defines the use of flat shading, smooth is the default.
+
scale=defines the scale of the cone in x,y, and z, 1 is the default, lower values make it smaller (repeatable)
|-
+
spin angle=rotate the cone around a vector by angle. The vector <nx, ny, nz> must be a unit vector.  Because the BZFlag client doesn't clip objects against the ground, it is advisable to ensure that the cone is rotated up and away from the ground. Otherwise, the cone will appear to be super-imposed on the ground, rather than embedded into it. (repeatable)
| '''position''' || defines the position of the cone in X-pos, Y-pos and the height of the cone in Z.
+
phydrv=reference to a predefined [[physics|physics driver]].
|-
+
smoothbounce=defines that shot bounces use normals
| '''rotation''' || defines a rotation around the Z axis for the cone, in degrees.
+
matref=reference to a predefined [[material]].
|-
+
</properties>
| '''size''' || defines the distance from the center to the side of the cone in X and Y, and the total height of the cone in Z.
+
|-
+
| '''shift''' || shift the cone (repeatable).
+
|-
+
| '''shear''' || (repeatable).
+
|-
+
| '''scale''' || defines the scale of the cone in x,y, and z, 1 is the default, lower values make it smaller (repeatable).
+
|-
+
| '''spin angle''' || rotate the cone around a vector by angle. The vector <nx, ny, nz> must be a unit vector.  Because the BZFlag client doesn't clip objects against the ground, it is advisable to ensure that the cone is rotated up and away from the ground. Otherwise, the cone will appear to be super-imposed on the ground, rather than embedded into it. (repeatable).
+
|-
+
| '''phydrv''' || reference to a predefined [[physics|physics driver]].
+
|-
+
| '''smoothbounce''' || defines that shot bounces use normals.
+
|-
+
| '''matref''' || reference to a predefined [[material]].
+
|-
+
| '''bottom matref''' || defines a different [[material]] for the bottom surface (optional).
+
|}
+
  
 
==Appearance==
 
==Appearance==
Line 65: Line 46:
  
 
==Editor Support==
 
==Editor Support==
Editors that support the cone object include [[Blender]] using the [[BZWTools]], [[Wings3D]], and [[pyBZEdit]]. [[BZEdit]] and [[BZFed]] do NOT support the cone.
+
Editors that support the cone object include [[Blender]] using the [[BZWTools]], [[Wings3D]] using the [[BZW Exporter for Wings3D]], and [[pyBZEdit]]. [[BZEdit]] and [[BZFed]] do NOT support the cone.
  
 
[[Category:Map Making]]
 
[[Category:Map Making]]
 
[[Category:Map_Objects]]
 
[[Category:Map_Objects]]

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page:

Retrieved from "https://wiki.bzflag.org/Cone"