Model flags


This page lists the available model flags used in IDE files as well as by the natives with which you can add custom models for your server. You can set multiple flags for a single model at once; with the exception of the atomic flags.


Basic flags

The following flags can be used by all model types except peds and vehicles.

Constant used in scripts Value used in IDE Description
MINFO_FLAG_DRAWLAST 4 Draw after opaque geometry. The game automatically applies MINFO_FLAG_ADDITIVE as well when set.
MINFO_FLAG_ADDITIVE 8 Additive blending
MINFO_FLAG_NOZWRITE 64 Don't write to Z buffer. A good example of where this flag is used is in static shadow models.
MINFO_FLAG_NOSHADOWS 128 Shadows will not be cast on this model. Use this on models that have invisible parts that have collision (the collision determines where the shadow is visible) and/or on windows.
MINFO_FLAG_NOBACKFACECULLING 2097152 When set, backface culling will be disabled. See this page for further info about what backface culling is and why you might want to disable it sometimes.

Clump flags

These flags can only be used by clump models. A model is considered a clump model if it has been defined in an IDE:anim section or via AddAnimatedClumpModel.

Constant used in scripts Value used in IDE Description
MINFO_FLAG_DOOR 32 This model is a door. It is doubtful that you will ever need this flag.

Atomic flags

These flags can only be used by atomic models. A model is considered a clump model if:

The flags listed below are mutually exclusive, meaning that you can only use one of them.

Constant used in scripts Value used in IDE Description
MINFO_FLAG_CODEGLASS 512 This model is a breakable glass object. The game changes the glass texture when it breaks. In order for it to be functional an object.dat entry is required. You cannot use this flag because Object DL hasn't been introduced yet.
MINFO_FLAG_ARTISTGLASS 1024 Same as MINFO_FLAG_CODEGLASS, except that the glass texture does not change when it breaks. You cannot use this flag because Object DL hasn't been introduced yet.
MINFO_FLAG_GARAGEDOOR 2048 Identifies the model as a garage door. You cannot use this flag because Object DL hasn't been introduced yet.
MINFO_FLAG_TREE 8192 This is a tree and will be affected by wind. Used on "normal" trees. If you are using server-side weathers, you can control the wind speed for your weather. Higher wind speeds have a more noticable effect.
MINFO_FLAG_PALMTREE 16384 Same as MINFO_FLAG_TREE, but explicitly for palm trees.
MINFO_FLAG_TAG 1048576 This model is a sprayable tag. The game switches to the second mesh once sprayed.
MINFO_FLAG_NOCOVER 4194304 Used by the cover system seen during missions to indicate that peds may not take cover behind this model. A famous example is Big Smokes statue in the Crack Den.
MINFO_FLAG_WETONLY 8388608 Wet only.
MINFO_FLAG_MOVINGBANNER 16777216 This model is a moving banner which is affected by the in-game wind. A good example of where it's used is in Chinatown, LC. This flag is exclusive to GTA: Underground and is not present on stock SA.
MINFO_FLAG_CRUSHERCRANE 134217728 Used to identify the crane model of a car crusher. Right now it is not possible to add functional car crushers like those in Portland, LC so this flag can not be used. This flag is exclusive to GTA: Underground and is not present on stock SA.
MINFO_FLAG_CRUSHERBODY 268435456 Used to identify the "main" model of a car crusher. Right now it is not possible to add functional car crushers like those in Portland, LC so this flag can not be used. This flag is exclusive to GTA: Underground and is not present on stock SA.
MINFO_FLAG_CRUSHERLID 536870912 Used to identify the "lid" model of a car crusher. Right now it is not possible to add functional car crushers like those in Portland, LC so this flag can not be used. This flag is exclusive to GTA: Underground and is not present on stock SA.

Unlike the other atomic flags, these are not mutually exclusive.

Constant used in scripts Value used in IDE Description
MINFO_FLAG_WETROADS 1 Use wet road reflections
MINFO_FLAG_DAMAGEABLE 4096 This model has two specific versions - one is the "normal" version, while the other is the "damanged" version. A good example of where it is used is custom car components. This is the only flag that cannot be used by timed atomic models.
MINFO_FLAG_NOFLYERCOLLIDE 32768 What this does exactly is not known, however it's probably related to whether or not the model can be destroyed by an airplane or helicopter (or by the rotor blades)