Freeform

Parent: object

Inherits from sceneobject

Displays a static 3D model. Can load ms3d, open bsp, 3ds files plus many more. Refer to modelling for more information on models.

files/freeform.jpg

filename string
Filename of the model such as Milkshape, obsp, 3ds files.

filename2 string
Loads another model on top of the first one and they will be merged like in actor. Therefore can contruct a freeform from two 3D models.

defaulttexturetype string
All loaded textures from this freeform will use this texture configuration from specified by this texture. Will look up textures for this texture type and apply the settings to every texture loaded by the freeform.

collision string
Is the emerated type specified in collision. Specifies what happens when a player collides with the freeform. For example if set to 'horizontal' means that the player will bounce off any walls that it strikes. 'verticaldown' means that a player will stand on the ground.

nolightsource boolean
Set to true if this freeform is not effected by any light source.

primary boolean
Sets this freeform to be the primary terrain. Refer to terrain building for more information.

usemeshmaterials boolean
Set to false if you dont want to use the textures specified in the model.

normalsorientation string
default
invert

cloud string
As with plane this is the same as 'texture' except weather will use this texture when say moving the cloud texture if it is windy or if the cloud cover increases.

surfbyy boolean
Means that this freeform contains an ocean and that quads in the freeform that have a y value that match the surfs y should be turned into rolling surf.

ownmateriallibrary boolean
If true means that this freeform will load its own textures even if they have already been loaded by another object.

The following are texshrink attributes related to reducing resolution of the terrain in the distance to reduce aliasing. These attributes are remain implemented but no longer supported.

texshrinkwidth float

texshrinkstagger float

texshrinkscale float

texshinktexture string

texshrinkignorex float

texshrinkignorey float