This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Pyramid
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 2: | Line 2: | ||
==Code== | ==Code== | ||
− | |||
The code for a pyramid object is as follows | The code for a pyramid object is as follows | ||
− | + | ||
− | + | ||
pyramid | pyramid | ||
position 10 20 30 | position 10 20 30 | ||
Line 11: | Line 9: | ||
size 1 2 3 | size 1 2 3 | ||
end | end | ||
− | |||
− | Valid parameters for a pyramid are | + | Valid parameters for a pyramid are |
− | + | *'''position'''; defines the center of the pyramid in X and Y and the bottom of the pyramid in Z. | |
− | + | *'''rotation'''; defines a rotation around the Z axis for the pyramid, in degrees. | |
− | + | *'''size'''; defines the distance from the center to the side of the pyramid in X and Y, and the total height of the pyramid in Z. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | Pyramids do not support | + | Pyramids do not support [[Material]], [[Texture Matrix]], or [[Physics Drivers]]. The [[meshpyr]] object replaces the pyramid object as of [[BZFlag 2.0.0]] and supports these features. |
− | + | ||
− | + | ||
==Appearance== | ==Appearance== | ||
− | The pyramid object has a marble blue texture on all sides by default. | + | The pyramid object has a marble blue texture on all sides by default. |
+ | |||
+ | [[Image:PyraAppearance.png]] | ||
==History== | ==History== |