Wax

Creature models

What game.Creatures:GetModel gives: the mesh, coat and walk of a creature, for the 3D model control.

The Explorer searches everything on this page, and the classes of the game too.

WaxCreatureModel

What game.Creatures:GetModel gives for a creature: its mesh, its fur, its other pieces and its animations, read from the game's own files when Wax was made. Give it to Container:Model or to a Model's Show as it is.

Extends WaxModelLook. Returned by game.Creatures:GetModel.

Open in the Explorer

FieldTypeDescription
walksbooleanTrue when the creature has a walk to play. Without one "walk" plays its idle, or what it does in the air.
facingnumberThe way the mesh faces as the creature's class turns it, in degrees.

WaxCreatureModelOptions

What GetModel can add to a creature's model.

Used by game.Creatures:GetModel.

Open in the Explorer

OptionTypeDescription
saddlestringA saddle the mount wears in the picture: the row of its item ("Saddle_Standard"), its tag ("Item.Mount.Saddle.Standard") or its own row in the game's saddle table ("Saddle_Horse_Standard"). The saddle is added to the model's parts as the game's table describes it for that mount: its mesh, its other material, the blueprint it follows the mount by and the socket it sits on. Where the game hides the mount's fur under that saddle, the fur gets the same mask. The second saddle the game shows under a cart is not added.

WaxSaddle

One thing a mount can wear in its saddle slot, as game.Creatures:GetSaddles lists it.

Returned by game.Creatures:GetSaddles.

Open in the Explorer

FieldTypeDescription
RowstringThe saddle's row in the game's saddle table, such as "Saddle_Horse_Standard". Each mount has its own row for a saddle.
Tag (optional)stringThe tag an item carries to be this saddle, such as "Item.Mount.Saddle.Standard".
Itemsstring[]The rows of the items that carry the tag, such as "Saddle_Standard". Empty when the game has no such item.

On this page