Fx runner

From MovieBattles II Wiki

Jump to: navigation, search

DESCRIPTION

Runs the specified effect, can also be targeted at an info_notnull to orient the effect.


SPAWNFLAGS

STARTOFF - Effect starts off, toggles on/off when used.

ONESHOT - Effect fires only when used.

DAMAGE - Does radius damage around effect every 'delay' milliseconds.


KEYS&VALUES

fxFile - Name of the effect file to play.

target - Direction to aim the effect in, otherwise defaults to up.

target2 - Uses its target2 when the fx gets triggered.

delay - How often to call the effect, don't over-do this ( default 200).

random - Random amount of time to add to delay, ( default 0, 200 = 0ms to 200ms).

splashRadius - Only works when damage is checked ( default 16).

splashDamage - Only works when damage is checked ( default 5).

soundset - Bmodel set to use, plays start sound when toggled on, loop sound while on ( doesn't play on a oneshot), and a stop sound when turned off.


RC2:

fxFileEnhanced1 (MBII RC2 Feature) - For use for those who would like to use Enhanced EFX (This is Medium Quality) Point this at an EFX file just like fxFile.

fxFileEnhanced2 (MBII RC2 Feature) - or use for those who would like to use Enhanced EFX (This is High Quality) Point this at an EFX file just like fxFile.

fxFileEnhanced1 and fxFileEnhanced2 are optional and only override the default handling of enhanced effects for maps. By default they'll be auto-filled ingame with fxFile's value plus the string "_enhanced1" or "_enhanced2" as with all other Enhanced Effects. This means old maps do not need to be recompiled to support this feature. They merely need new efx provided, with the proper naming. The fxFileEnhanced1 and fxFileEnhanced2 keywords may end up depreciated at some point in the future as there seems little use for them. Note: Both server and client should have an enhanced effect file to load. Unpredictable results may occur if only one side has the file. Note2: Using enhanced effects in this way counts towards the efx limit for maps. Given that very few maps use more than a few unique efx however, this isn't seen as a major issue. (The limit is somewhere around 64(Might be influenced by non-map things), so if you offered enhanced effects for all effects on your map, you'd end up being able to use around 21 unique efx.)

GTK Radiant Entity Code

Click

Personal tools