Project OutFox Wiki
Project OutFox home View the OutFox Wiki source on GitHub Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto mode Back to homepage


Allows one to display MilkShape3D ASCII models, having separate attributes for materials, bones and meshes.


		-- When a model begins its animation, it will loop indefinitely. To stop that, use the loop command to
		-- set the flag to false.

Meshes are the composition and structure of the Model. This data represents the vertices that make the Model take shape.

Materials are the textures that the model will use. These can be any of the image formats listed in the Supported File Extensions page. They can also be .ini files that define animated textures on a Def.Sprite.

Bones make the model come to life. They can be defined within the primary model file, or, in the case of dancing characters, be controlled via a separate file that only contains the bones.

In the above example, all three attributes used the same filepath; all the necessary data was contained within a single file. It is possible to configure the MilkShape 3D software to output distinct files for meshes, materials, and bones, and set each Def.Model attribute accordingly, but that is outside the scope of this lesson.

All three attributes must be provided within Def.Model as paths to resources that can be loaded or the game will crash.

Table of Contents


MeshesstringPath to a MilkShape 3D ASCII text file containing model meshes.
MaterialsstringPath to a MilkShape 3D ASCII text file containing model materials.
BonesstringPath to a MilkShape 3D ASCII text file containing model bones.