This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Meshpyr: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Yrogirg (talk | contribs)
Mdskpr (talk | contribs)
m Makes it look sharper and more consistent with similar pages.
Line 6: Line 6:
==Appearance==
==Appearance==
An meshpyr without a material definition will use the default material used by a standard [[pyramid]] object. Geometrically a meshpyr is identical to a standard [[pyramid]] object.
An meshpyr without a material definition will use the default material used by a standard [[pyramid]] object. Geometrically a meshpyr is identical to a standard [[pyramid]] object.
{|
|
meshpyr
  name example 1
  position 0.0 0.0 0.0
  size 15 15 15
  rotation 0.0
  matref Mymaterial
  phydrv MyPhydrv
end
|}


    meshpyr
Valid parameters for the Meshpyr object are:
    name example 1
<properties>
    position 0.0 0.0 0.0
name=name
    size 15 15 15
position=positon on map
    rotation 0.0
rotation=rotate on z axis
    matref Mymaterial
size=size amount
    phydrv MyPhydrv
matref=apply a material/texture here
    end
phydrv=assign a physics driver
 
</properties>
  name=name
  position=positon on map
  rotation=rotate on z axis
  size=size amount
  matref=apply a material/texture here
  phydrv=assign a physics driver


==Editor Support==
==Editor Support==

Revision as of 17:18, 21 June 2011

Several meshpyr, with the one in the middle having the default texture

A meshpyr is a BZW map object that constructs a specialized mesh that has the geometric appearance of a Pyramid. It replaces the pyramid object as of v2.0.0 and is compatible with materials and physics drivers.


Appearance

An meshpyr without a material definition will use the default material used by a standard pyramid object. Geometrically a meshpyr is identical to a standard pyramid object.

meshpyr
 name example 1
 position 0.0 0.0 0.0
 size 15 15 15 
 rotation 0.0
 matref Mymaterial
 phydrv MyPhydrv
end

Valid parameters for the Meshpyr object are: <properties> name=name position=positon on map rotation=rotate on z axis size=size amount matref=apply a material/texture here phydrv=assign a physics driver </properties>

Editor Support

The meshpyr object is only fully supported by the BZWTools blender plug-in.