Material Effects

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article

Overview

These functions are in the MaterialEffects table.

See Physics Proxy Setup and Material Effects XML files for a description of the material effects files.

See Console/MaterialEffects for related console commands and variables.

Constants

MFX_INVALID_EFFECTID

Functions

Example in Game/Scripts/AI/Aliens/Scout_x.lua


GetEffectId(customName, surfaceIndex2)


ExecuteEffect(effectId, paramsTable)

The paramsTable can include:

pos
normal
scale
angle


Load(file, path)
load new material effects
Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools