EntityClass

All things in the world are Entities, but Entity itself is not a valid class label. However, there are some ODF properties that are listed for Entities in general.

  • [EntityClass]
    AllowHQShadows = true
    This value specifies if the object can cast a High quality Shadow. If set to false, only the Low (sprite) based shadow will render.

    Almost all classes support two Level Of Detail (LOD) models. LOD1 and LOD2 models are toggled when Object Detail setting in Graphics Options is set to Medium or Low, and based on either the user's Distance from the object, or the object's relative size on screen. Generally, LOD1 is used first at mid range, and LOD2 is used last at furthest range. LOD models do not support any Animations.

  • [LOD1]
    dontShiftLOD = false
    This value, if set to true, will disable shifting of LOD values between LOD1 and LOD2, meaning the object will only use LOD1.

    geometryName = ""
    This specifies the model name of the LOD1 entry. Model filename with extension, either XSI or FBX supported. Example: "ivtankL1.xsi"

    radius = 2.0f
    Radius threshold of screen size, determining how small the object must be on screen before considering switching to this LOD model.

    distance = 1000.0f
    The distance from the object must be from the Player for it to consider using this LOD model.


  • [LOD2]
    Same as the values listed above, used for 2nd LOD level.
    dontShiftLOD = false
    geometryName = ""
    radius = 1.0f
    distance = 2000.0f
On this page