	
//////////////////////////////////////
//	
// 	Visual Effects
//	Instance-Definitions 
//	
//////////////////////////////////////

// visual effects config instance
// WICHTIG: pro Key müssen die FLAGS pps_is... gesetzt werden, sonst sind sie per default 0
// Keys wirken sich immer nur auf den ersten definierten PFX aus, bei Multi-PFX's nicht auf die Childs


INSTANCE spellFX_Light(CFx_Base)
{
     visname = "spell_light";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjloopmode_s = "none";
     emtrjeasefunc_s = "linear";
     emtrjdynupdatedelay = 0.4;
	 emtrjfollowtarget = 1;
     emselfrotvel_s = "50 50 50";
	 emFXCreate_S	= "spellfx_light2";
	 lightPresetname = "FX_LIGHT2";
	 targetRange	 = 1.65;
	 targetElevation = 89;
};

INSTANCE spellFX_Light2(CFx_Base)
{
	visName = "circle2";
};
INSTANCE spellFX_Light2_KEY_CAST(C_ParticleFXEmitKey)
{
	visName_S = "circle3";
	pfx_ppsIsLooping = 0;
};

INSTANCE spellFX_Light_KEY_OPEN (C_ParticleFXEmitKey)
{
     lightrange = 0.01;
	 pfx_ppsIsLooping = 1;
     emtrjeasevel = 0.;
};

INSTANCE spellFX_Light_KEY_CAST (C_ParticleFXEmitKey)
{
	 visname_s = "spell_light_casted";
     emtrjmode_s = "TARGET";
     lightrange = 1500.;
     emtrjeasevel = 1400.;
	 pfx_ppsIsLooping = 0;
};

INSTANCE spellFX_Light_KEY_STOP(C_ParticleFXEmitKey)
{
     emtrjeasevel = 0.;
	 pfx_ppsIsLooping = 1;
};

// -------------------------------------------------------------------------------------------------------

INSTANCE spellFX_Fireball(CFx_Base)
{

     visname = "fireball16Bit_a0.tga";
	 visSize_S = "10 10";
	 visAlphaBlendFunc_S = "ADD";
	 visTexAniFPS = 17;
	 visTexAniIsLooping = 1;
	 visAlpha= 0.8;

     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 7;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 0.;
     emtrjangleheadvar = 0.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200000;
     emselfrotvel_s = "10 10 10";
     lightPresetname   = "FIRE";
     emActionCollStat_S= "BOUNCE CREATE";
     emActionCollDyn_S = "COLLIDE CREATEONCE";
	 emFXCollStat_S	   = "FX_CAST2";
	 emFXCollDyn_S     = "FX_HUMANBURN";
	 emFXCreate_S	   = "FX_COLL_Small";
	 emFXCreatedOwnTrj = 0;

	 targetRange	 = 40;
	 targetElevation = 1;
};

INSTANCE spellFX_Fireball_KEY_OPEN (C_ParticleFXEmitKey)
{
	 lightRange   = 0.01;
 	 pfx_ppsIsLooping = 1;
	 scaleDuration= 0.5;
	 visSizeScale = 1;
};
INSTANCE spellFX_Fireball_KEY_INIT(C_ParticleFXEmitKey)
{
	 lightRange   = 200;
	 pfx_ppsIsLooping = 1;
	 scaleDuration= 0.5;
	 visSizeScale = 1;
};

INSTANCE spellFX_FireBall_KEY_CAST (C_ParticleFXEmitKey)
{
	 visName_S    = "Kula Ognia";
     emtrjeasevel = 1300.;
	 sfxID			= "fb_cast";
	 pfx_ppsIsLooping = 1;
	 scaleDuration= 0.5;
	 emCreateFXID = "FX_CAST1";
     emtrjmode_s  = "TARGET";
};
INSTANCE spellFX_FireBall_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_flygravity_s = "0 0.0002 0";
     lightPresetname = "FIRELENS";
     emtrjeasevel = 0.000001;
	 sfxID		  = "FB_COLLIDE";
	 pfx_ppsIsLooping = 1;
	 scaleDuration= 0.5;
};

INSTANCE spellFX_fireball_KEY_INVEST_1 (C_ParticleFXEmitKey)
{
	lightRange   = 500;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 2;
    sfxID		 = "fb_inv1";

};
INSTANCE spellFX_fireball_KEY_INVEST_2 (C_ParticleFXEmitKey)
{
	lightRange   = 700;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 2.5;
    sfxID		 = "fb_inv2";
};
INSTANCE spellFX_fireball_KEY_INVEST_3 (C_ParticleFXEmitKey)
{
	lightRange   = 900;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 3;
    sfxID		 = "fb_inv1";


};
INSTANCE spellFX_fireball_KEY_INVEST_4 (C_ParticleFXEmitKey)
{
	lightRange   = 1100;
    pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 3.5;
    sfxID		 = "fb_inv2";

};
INSTANCE spellFX_fireball_KEY_INVEST_5 (C_ParticleFXEmitKey)
{
	lightRange   = 1300;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 4;
    sfxID		 = "fb_inv1";

};
INSTANCE spellFX_fireball_KEY_INVEST_6 (C_ParticleFXEmitKey)
{
	lightRange   = 1500;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 4.5;
    sfxID		 = "fb_inv2";

};
INSTANCE spellFX_fireball_KEY_INVEST_7 (C_ParticleFXEmitKey)
{
	lightRange   = 1700;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 5;
    sfxID		 = "fb_inv1";

};
INSTANCE spellFX_fireball_KEY_INVEST_8 (C_ParticleFXEmitKey)
{
	lightRange   = 1900;
    pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 5.5;
    sfxID		 = "fb_inv2";

};
INSTANCE spellFX_fireball_KEY_INVEST_9 (C_ParticleFXEmitKey)
{
	lightRange   = 2100;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 6;
    sfxID		 = "fb_inv1";

};
INSTANCE spellFX_fireball_KEY_INVEST_10 (C_ParticleFXEmitKey)
{
	lightRange   = 2300;
    pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 6.5;
    sfxID		 = "fb_inv2";
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Earthquake(CFx_Base)
{
     visname = "spell_earthquake";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
	 emFXCreate_S = "fx_circle1";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjmode_s = "TARGET";
     emtrjloopmode_s = "none";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 0.01;
     emselfrotvel_s = "50 50 50";
	 targetRange	 = 2;
	 targetElevation = 89;
};

INSTANCE spellFX_Earthquake_KEY_OPEN (C_ParticleFXEmitKey)
{
	 sfxid = "LIGHT_SELECTED";
     emtrjeasevel = 0.;
	 pfx_ppsIsLooping = 1;
};

INSTANCE spellFX_Earthquake_KEY_CAST (C_ParticleFXEmitKey)
{
     lightrange = 1500.;
     emtrjeasevel = 1400.;
	 lightPresetname = "FX_LIGHT1";
	 sfxID			= "LIGHT_CASTED";
	 pfx_ppsIsLooping = 1;
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Petrify(CFx_Base)
{
     visname = "spell_petrify";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
//     emtrjmode_s = "TARGET LINE RANDOM";
     emtrjmode_s = "TARGET";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 30.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "30 0 30";
     lightPresetname = "FX_LIGHT1";
	 emFXCreate_S = "fx_petrify2";
	 emFXCollStat_S	= "TEST4";
     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 20;
	 targetElevation = 5;
	 targetAzimuth   = 0;
};
INSTANCE FX_Petrify2(CFx_Base)
{
     visname = "Circle1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
	 emFXCreate_S = "fx_petrify3";
	 emFXCreatedOwnTrj = 1;
     emselfrotvel_s = "50 0 0";
};
INSTANCE fX_Petrify3(CFx_Base)
{
     visname = "spell_petrify";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
//     emtrjmode_s = "TARGET LINE RANDOM";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 30.;
     emtrjangleheadvar = 30.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 30 10";
     lightPresetname = "FX_LIGHT1";
	 emFXCreate_S = "fx_petrify4";
	 emFXCollStat_S	= "TEST4";
     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 20;
	 targetElevation = 5;
	 targetAzimuth   = -20;
};
INSTANCE FX_Petrify4(CFx_Base)
{
     visname = "Circle1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
	 emFXCreate_S = "fx_petrify5";
	 emFXCreatedOwnTrj = 1;
     emselfrotvel_s = "0 50 0";
};
INSTANCE fX_Petrify5(CFx_Base)
{
     visname = "spell_petrify";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
//     emtrjmode_s = "TARGET LINE RANDOM";
     emtrjmode_s = "TARGET";
     emtrjnumkeys = 5;
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 30.;
     emtrjangleheadvar = 30.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "0 80 10";
     lightPresetname = "FX_LIGHT1";
	 emFXCreate_S = "fx_petrify6";
	 emFXCollStat_S	= "TEST4";
     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 10;
	 targetElevation = 5;
	 targetAzimuth   = 20;
};
INSTANCE FX_Petrify6(CFx_Base)
{
     visname = "Circle1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emselfrotvel_s = "0 0 50";
};

INSTANCE spellFX_Petrify_KEY_CAST (C_ParticleFXEmitKey)
{
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
 	 pfx_lspPartAvg	  = 1500;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Petrify_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_flygravity_s = "0 0.0002 0";
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};
INSTANCE FX_Petrify3_KEY_CAST (C_ParticleFXEmitKey)
{
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
 	 pfx_lspPartAvg	  = 1500;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};
INSTANCE FX_Petrify3_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_flygravity_s = "0 0.0002 0";
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};
INSTANCE FX_Petrify5_KEY_CAST (C_ParticleFXEmitKey)
{
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
 	 pfx_lspPartAvg	  = 1500;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};
INSTANCE FX_Petrify5_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_flygravity_s = "0 0.0002 0";
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Heal(CFx_Base)
{
     visname = "spell_heal";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 2;
     emtrjnumkeysvar = 1;
     emtrjangleelevvar = 2.;
     emtrjangleheadvar = 0.;
     emtrjeasefunc_s = "PINGPONG";
     emtrjdynupdatedelay = 0.;
	 emFXInvestOrigin_S = "spellFX_heal_origin";
	 emFXInvestTarget_S = "spellFX_heal_target";
     lightPresetname = "POISON";
	 targetRange	 = 0;
	 targetElevation = 0;
};
INSTANCE spellFX_Heal_KEY_Open(C_ParticleFXEmitKey)
{
	lightRange = 0.01;
	pfx_ppsIsLooping = 1;
};

INSTANCE spellFX_Heal_KEY_INVEST_1(C_ParticleFXEmitKey)
{
	 lightRange = 1000;
     pfx_dirmode_s = "TARGET";
     emtrjeasevel	  = 700.;
	 pfx_velAvg    = 0.1;
	 pfx_ppsIsLooping = 1;
 	 emCreateFXID = "FX_CAST3";
	 emCheckCollision = 1;
	 sfxID			  = "HEAL_CAST";
};
INSTANCE spellFX_Heal_KEY_CAST (C_ParticleFXEmitKey)
{
	 pfx_ppsIsLooping = 0;
     lightrange		  = 1500.;
	 pfx_ppsIsLooping = 0;
};

INSTANCE spellFX_Heal_Target(CFx_Base)
{
     visname = "spell_heal_target";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "BIP01 TOE";
     emtrjdynupdatedelay = 0.;
     lightPresetname = "POISON";
};
INSTANCE spellFX_Heal_Origin(CFx_Base)
{
     visname = "cast7";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "BIP01 TOE";
     emtrjdynupdatedelay = 0.;
     lightPresetname = "POISON";
};
// -------------------------------------------------------------------------------------------------------
INSTANCE spellFX_Lightning(CFx_Base)
{
//     visname = "spell_lightning";
	visName = "lightbolt16Bit_a0.tga";
	 visSize_S = "10 10";
	 visAlphaBlendFunc_S = "ADD";
	 visTexAniFPS = 17;
	 visTexAniIsLooping = 1;
	 visAlpha= 0.8;

     fxvarsmodtype_s = "TIME";
	 //emFXCreate_S = "BLAST";
     emtrjmode_s = "FIXED";
	 emtrjNumKeys    = 12;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 20.;
     emtrjangleheadvar = 20.;
     emtrjloopmode_s = "none";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200000.0;
     emselfrotvel_s = "0 0 50";
	 targetRange	 = 20;
	 targetElevation = 0;
	 lightPresetName = "poison";
	 sfxid			 = "Spell_Lightning_Cast";
};
// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Invisible(CFx_Base)
{
     visname = "spell_invisible";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 40.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "FIRE";
	 emFXCreate_S = "Spell_Light";
//	 emFXCreatedOwnTrj = 0;
	 emFXCollStat_S	= "TEST4";
//     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 8;
	 targetElevation = 10;
};
INSTANCE spellFX_Invisible_KEY_OPEN (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 50.;
     pfx_shpdim_s = "5";
     pfx_sctime = 0.8;
     pfx_flygravity_s = "0 0 0";
     pfx_shpisvolume = 1;
     pfx_dirmode_s = "DIR";
     pfx_lsppartavg = 300.;
     lightPresetname = "FIRE";
     lightrange = 500.;
     emtrjeasevel = 0.;
     emselfrotvel_s = "10 10 10";
	 pfx_ppsIsLooping = 1;
};

INSTANCE spellFX_Invisible_KEY_CAST (C_ParticleFXEmitKey)
{
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRE";
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Invisible_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 100.;
     pfx_flygravity_s = "0 0.0002 0";
     pfx_shpisvolume = 1;
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRELENS";
     lightrange = 10000.;
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Teleportation(CFx_Base)
{
     visname = "spell_teleportation";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 40.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 10 10";
};

INSTANCE spellFX_Teleportation_KEY_CAST (C_ParticleFXEmitKey)
{
     lightPresetname = "FIRE";
     lightrange = 1500.;
     emtrjeasevel = 700.;
	 sfxID			= "teleport_cast";
	 pfx_ppsIsLooping = 0;
	 emCreateFXID = "spell_teleportation_casted";
};

INSTANCE spell_Teleportation_casted(CFx_Base)
{
     visname = "spell_teleportation_casted";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "BIP01 TOE";
     lightPresetname = "POISON";
};


// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Daemon(CFx_Base)
{
     visname = "spell_daemon";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 40.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "FIRE";
	 emFXCreate_S = "Spell_Light";
//	 emFXCreatedOwnTrj = 0;
	 emFXCollStat_S	= "TEST4";
//     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 8;
	 targetElevation = 10;
};

INSTANCE spellFX_Daemon_KEY_OPEN (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 50.;
     pfx_shpdim_s = "5";
     pfx_sctime = 0.8;
     pfx_flygravity_s = "0 0 0";
     pfx_shpisvolume = 1;
     pfx_dirmode_s = "DIR";
     pfx_lsppartavg = 300.;
     lightPresetname = "FIRE";
     lightrange = 500.;
     emtrjeasevel = 0.;
     emselfrotvel_s = "10 10 10";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Daemon_KEY_CAST (C_ParticleFXEmitKey)
{
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRE";
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Daemon_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 100.;
     pfx_flygravity_s = "0 0.0002 0";
     pfx_shpisvolume = 1;
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRELENS";
     lightrange = 10000.;
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_StopTime(CFx_Base)
{
     visname = "spell_stoptime";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 40.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "FIRE";
	 emFXCreate_S = "Spell_Light";
//	 emFXCreatedOwnTrj = 0;
	 emFXCollStat_S	= "TEST4";
//     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 8;
	 targetElevation = 10;
};

INSTANCE spellFX_StopTime_KEY_OPEN (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 50.;
     pfx_shpdim_s = "5";
     pfx_sctime = 0.8;
     pfx_flygravity_s = "0 0 0";
     pfx_shpisvolume = 1;
     pfx_dirmode_s = "DIR";
     pfx_lsppartavg = 300.;
     lightPresetname = "FIRE";
     lightrange = 500.;
     emtrjeasevel = 0.;
     emselfrotvel_s = "10 10 10";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_StopTime_KEY_CAST (C_ParticleFXEmitKey)
{
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRE";
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};

INSTANCE spellFX_StopTime_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 100.;
     pfx_flygravity_s = "0 0.0002 0";
     pfx_shpisvolume = 1;
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRELENS";
     lightrange = 10000.;
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Forget(CFx_Base)
{
     visname = "spell_forget";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 1;
     emtrjangleelevvar = 15.;
     emtrjangleheadvar = 0.;
     emtrjeasefunc_s = "PINGPONG";
     emtrjdynupdatedelay = 0.;
	 emFXInvestTarget_S = "spellFX_forget_target";
     lightPresetname = "POISON";
     sfxid = "tmag_test";
	 targetRange	 = 0;
	 targetElevation = 0;
};

INSTANCE spellFX_Forget_KEY_CAST (C_ParticleFXEmitKey)
{
     lightrange = 1500.;
     emtrjeasevel = 1700.;
     emcheckcollision = 1;
	 pfx_ppsIsLooping = 1;
     emtrjmode_s = "TARGET LINE RANDOM";

};

INSTANCE spellFX_Forget_TARGET(CFx_Base)
{
     visname = "spell_forget_target";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "BIP01 HEAD";
	 targetRange	 = 0;
	 targetElevation = 0;
};
// -------------------------------------------------------------------------------------------------------

INSTANCE spellFX_WindFist(CFx_Base)
{
     visname = "spell_WindFist";
 	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjnumkeys = 7;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 5.;
     emtrjangleheadvar = 20.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200000;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "POISON";
//	 emFXCreate_S = "Spell_Light";
//	 emFXCreatedOwnTrj = 0;
//	 emFXCollStat_S	= "FX_WALL1";
//   emActionCollStat_S = "CREATE BOUNCE";
	 emFXCollDyn_S  = "FX_HUMAN1";
     emActionCollDyn_S = "CREATEONCE";
	 //emFXCollDynAlign_S= "COLLISIONNORMAL";
	 targetRange	 = 100;
	 targetElevation = 1;
};

INSTANCE spellFX_WindFist_KEY_OPEN (C_ParticleFXEmitKey)
{
	 lightRange   = 0.01;
 	 pfx_ppsIsLooping = 1;

};
INSTANCE spellFX_WindFist_KEY_INIT(C_ParticleFXEmitKey)
{
	 lightRange   = 200;
	 pfx_ppsIsLooping = 1;
};

INSTANCE spellFX_WindFist_KEY_CAST (C_ParticleFXEmitKey)
{
	 visSizeScale = 12;
     emtrjeasevel = 1000.;
     emcheckcollision = 1;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
	 pfx_shpScaleFPS= 1;
	 pfx_lspPartAvg = 1000;
     emtrjmode_s = "TARGET";
};
INSTANCE spellFX_WindFist_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_flygravity_s = "0 0.0002 0";
     emtrjeasevel = 0.000001;
	 sfxID		  = "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};

INSTANCE spellFX_WindFist_KEY_INVEST_1 (C_ParticleFXEmitKey)
{
	lightRange   = 1000;
	pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_WindFist_KEY_INVEST_2 (C_ParticleFXEmitKey)
{
	lightRange   = 1500;
	pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_WindFist_KEY_INVEST_3 (C_ParticleFXEmitKey)
{
	lightRange   = 2000;
	pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_WindFist_KEY_INVEST_4 (C_ParticleFXEmitKey)
{
	lightRange   = 3000;
    pfx_ppsIsLooping = 1;
};

/*
INSTANCE spellFX_WindFist(CFx_Base)
{

     visname = "psidummy16Bit_2.tga";
	 visSize_S = "10 10";
	 visAlphaBlendFunc_S = "ADD";
	 visTexAniFPS = 17;
	 visTexAniIsLooping = 1;
	 visAlpha= 0.8;

     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 7;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 0.;
     emtrjangleheadvar = 0.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200000;
     emselfrotvel_s = "10 10 10";
     lightPresetname   = "POISON";
	 //sfxid			   = "TORCH_BURN";
     emActionCollStat_S= "COLLIDE";
     emActionCollDyn_S = "CREATEONCE";
	 emFXCollDyn_S     = "FX_HUMAN1";
	 //emFXCreate_S	   = "FX_COLL_Small";
	 //emFXCreatedOwnTrj = 0;

	 targetRange	 = 40;
	 targetElevation = 1;
};

INSTANCE spellFX_WindFist_KEY_OPEN (C_ParticleFXEmitKey)
{
	 lightRange   = 0.01;
 	 pfx_ppsIsLooping = 1;
	 scaleDuration= 0.5;
	 visSizeScale = 1;
};
INSTANCE spellFX_WindFist_KEY_INIT(C_ParticleFXEmitKey)
{
	 lightRange   = 200;
	 pfx_ppsIsLooping = 1;
	 scaleDuration= 0.5;
	 visSizeScale = 1;
};

INSTANCE spellFX_WindFist_KEY_CAST (C_ParticleFXEmitKey)
{
     emtrjeasevel = 1300.;
	 //sfxID		  = "tmag_cast";
	 visSizeScale = 50;
	 scaleDuration= 3;
	 //emCreateFXID = "FX_CAST1";
};
INSTANCE spellFX_WindFist_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_flygravity_s = "0 0.0002 0";
     lightPresetname = "FIRELENS";
     lightrange = 6000.;
     emtrjeasevel = 0.000001;
	 sfxID		  = "TMAG_COLLIDE";
	 scaleDuration= 0.5;
};

INSTANCE spellFX_WindFist_KEY_INVEST_1 (C_ParticleFXEmitKey)
{
	lightRange   = 1000;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 2;
};
INSTANCE spellFX_WindFist_KEY_INVEST_2 (C_ParticleFXEmitKey)
{
	lightRange   = 1200;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 3;
};
INSTANCE spellFX_WindFist_KEY_INVEST_3 (C_ParticleFXEmitKey)
{
	lightRange   = 1400;
	pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 4;

};
INSTANCE spellFX_WindFist_KEY_INVEST_4 (C_ParticleFXEmitKey)
{
	lightRange   = 1600;
    pfx_ppsIsLooping = 1;
	scaleDuration= 0.5;
	visSizeScale = 5;
};
*/
// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Telekinesis(CFx_Base)
{
     visname = "spell_telekinesis";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 40.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "FIRE";
	 emFXCreate_S = "Spell_Light";
//	 emFXCreatedOwnTrj = 0;
	 emFXCollStat_S	= "TEST4";
//     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 8;
	 targetElevation = 10;
};
INSTANCE spellFX_Telekinesis_KEY_OPEN (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 50.;
     pfx_shpdim_s = "5";
     pfx_sctime = 0.8;
     pfx_flygravity_s = "0 0 0";
     pfx_shpisvolume = 1;
     pfx_dirmode_s = "DIR";
     pfx_lsppartavg = 300.;
     lightPresetname = "FIRE";
     lightrange = 500.;
     emtrjeasevel = 0.;
     emselfrotvel_s = "10 10 10";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Telekinesis_KEY_CAST (C_ParticleFXEmitKey)
{
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRE";
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
	 pfx_ppsIsLooping = 1;
	 sfxID			= "tmag_cast";
};
INSTANCE spellFX_Telekinesis_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 100.;
     pfx_flygravity_s = "0 0.0002 0";
     pfx_shpisvolume = 1;
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRELENS";
     lightrange = 10000.;
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
 	 pfx_ppsIsLooping = 1;

};

// -------------------------------------------------------------------------------------------------------

INSTANCE spellFX_HumanControl(CFx_Base)
{
	 visName	=  "spell_humancontrol";
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjoriginnode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjloopmode_s = "none";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 0.;
     lightPresetname = "POISON";
     //emselfrotvel_s = "0 0 50";
	 targetRange	 = 0;
	 targetElevation = 0;
};
INSTANCE spellFX_HumanControl_KEY_INVEST_1(C_ParticleFXEmitKey)
{
     pfx_dirmode_s = "TARGET";
	 pfx_velAvg    = 0.1;
	 pfx_ppsIsLooping = 1;
	 sfxID = "TMAG_TEST";
};
INSTANCE spellFX_HumanControl_KEY_CAST(C_ParticleFXEmitKey)
{
	 pfx_ppsIsLooping = 0;
};


// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_transform(CFx_Base)
{
     visname = "spell_transform";
     emtrjoriginnode = "ZS_RIGHTHAND";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "fixed";
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 0.;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "FIRE";
};

INSTANCE spellFX_transform_KEY_OPEN (C_ParticleFXEmitKey)
{
     lightrange = 0.1;
     emtrjeasevel = 0.;
     emselfrotvel_s = "10 10 10";
	 pfx_shpDim_S	= "3";
	 pfx_lspPartAvg = 200;
	 pfx_ppsIsLooping = 1;
	 pfx_ppsIsSmooth  = 1;
};
INSTANCE spellFX_transform_KEY_INIT(C_ParticleFXEmitKey)
{
     lightrange = 0.1;
	 pfx_ppsIsLooping = 1;
	 pfx_shpDim_S	= "6";
	 pfx_lspPartAvg = 200;
	 pfx_ppsIsSmooth  = 1;
};
INSTANCE spellFX_transform_KEY_INVEST_1(C_ParticleFXEmitKey)
{
     lightrange = 500;
	 pfx_ppsIsLooping = 1;
	 pfx_shpDim_S	= "20";
	 pfx_ppsIsSmooth  = 1;
	 pfx_lspPartAvg = 200;
};
INSTANCE spellFX_transform_KEY_INVEST_2(C_ParticleFXEmitKey)
{
     lightrange = 1000;
	 pfx_ppsIsLooping = 1;
	 pfx_shpDim_S	= "30";
	 pfx_ppsIsSmooth  = 1;
	 pfx_lspPartAvg = 200;
};
INSTANCE spellFX_transform_KEY_INVEST_3(C_ParticleFXEmitKey)
{
     lightrange = 1500;
	 pfx_ppsIsLooping = 1;
	 pfx_shpDim_S	= "50";
	 pfx_lspPartAvg = 200;
	 pfx_ppsIsSmooth  = 1;
};
INSTANCE spellFX_transform_KEY_INVEST_4(C_ParticleFXEmitKey)
{
	 pfx_ppsIsLooping = 1;
	 pfx_shpDim_S	= "80";
	 pfx_ppsIsSmooth  = 1;
	 pfx_lspPartAvg = 200;
};
INSTANCE spellFX_transform_KEY_INVEST_5(C_ParticleFXEmitKey)
{
	 pfx_ppsIsLooping = 1;
	 pfx_shpDim_S	= "100";
	 pfx_ppsIsSmooth  = 1;
	 pfx_lspPartAvg = 200;
};

INSTANCE spellFX_transform_KEY_CAST (C_ParticleFXEmitKey)
{
	 visName_S = "spell_transform_casted";
     emselfrotvel_s = "100 100 100";
	 pfx_lspPartAvg = 1200;
	 pfx_ppsIsLooping = 0;
	 sfxID = "transform_cast";
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Insane(CFx_Base)
{
     visname = "spell_insane";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 40.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "FIRE";
//	 emFXCreate_S = "Spell_Light";
//	 emFXCreatedOwnTrj = 0;
	 emFXCollStat_S	= "TEST4";
//     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 8;
	 targetElevation = 10;
};

INSTANCE spellFX_Insane_KEY_OPEN (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 50.;
     pfx_shpdim_s = "5";
     pfx_sctime = 0.8;
     pfx_flygravity_s = "0 0 0";
     pfx_shpisvolume = 1;
     pfx_dirmode_s = "DIR";
     pfx_lsppartavg = 300.;
     lightPresetname = "FIRE";
     lightrange = 500.;
     emtrjeasevel = 0.;
     emselfrotvel_s = "10 10 10";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Insane_KEY_CAST (C_ParticleFXEmitKey)
{
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRE";
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Insane_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 100.;
     pfx_flygravity_s = "0 0.0002 0";
     pfx_shpisvolume = 1;
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRELENS";
     lightrange = 10000.;
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Telestorm(CFx_Base)
{
     visname = "spell_telestorm";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 40.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "FIRE";
	 emFXCreate_S = "Spell_Light";
//	 emFXCreatedOwnTrj = 0;
	 emFXCollStat_S	= "TEST4";
//     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 8;
	 targetElevation = 10;
};

INSTANCE spellFX_Telestorm_KEY_OPEN (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 50.;
     pfx_shpdim_s = "5";
     pfx_sctime = 0.8;
     pfx_flygravity_s = "0 0 0";
     pfx_shpisvolume = 1;
     pfx_dirmode_s = "DIR";
     pfx_lsppartavg = 300.;
     lightPresetname = "FIRE";
     lightrange = 500.;
     emtrjeasevel = 0.;
     emselfrotvel_s = "10 10 10";
	 pfx_ppsIsLooping = 1;
};

INSTANCE spellFX_Telestorm_KEY_CAST (C_ParticleFXEmitKey)
{
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRE";
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Telestorm_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 100.;
     pfx_flygravity_s = "0 0.0002 0";
     pfx_shpisvolume = 1;
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRELENS";
     lightrange = 10000.;
     emtrjeasevel = 0.000001;
	 sfxID			= "TMAG_COLLIDE";
	 pfx_ppsIsLooping = 1;
};

// -------------------------------------------------------------------------------------------------------


INSTANCE spellFX_Unused1(CFx_Base)
{
     visname = "spell_unused1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
	 emTrjOriginNode = "ZS_RIGHTHAND";
     emtrjtargetnode = "BIP01 HEAD";
     emtrjnumkeys = 5;
     emtrjnumkeysvar = 3;
     emtrjangleelevvar = 40.;
     emtrjangleheadvar = 40.;
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200001.;
     emselfrotvel_s = "10 10 10";
     lightPresetname = "FIRE";
	 emFXCreate_S = "Spell_Light";
//	 emFXCreatedOwnTrj = 0;
	 emFXCollStat_S	= "TEST4";
//     emActionCollStat_S = "BOUNCE";
	 sfxid = "tmag_test";
	 targetRange	 = 8;
	 targetElevation = 10;
};

INSTANCE spellFX_Unused1_KEY_OPEN (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 50.;
     pfx_shpdim_s = "5";
     pfx_sctime = 0.8;
     pfx_flygravity_s = "0 0 0";
     pfx_shpisvolume = 1;
     pfx_dirmode_s = "DIR";
     pfx_lsppartavg = 300.;
     lightPresetname = "FIRE";
     lightrange = 500.;
     emtrjeasevel = 0.;
     emselfrotvel_s = "10 10 10";
	 pfx_ppsIsLooping = 1;
};

INSTANCE spellFX_Unused1_KEY_CAST (C_ParticleFXEmitKey)
{
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRE";
     lightrange = 1500.;
     emtrjeasevel = 700.;
     emcheckcollision = 1;
	 sfxID			= "tmag_cast";
	 pfx_ppsIsLooping = 1;
};
INSTANCE spellFX_Unused1_KEY_COLLIDE (C_ParticleFXEmitKey)
{
     pfx_ppsvalue = 100.;
     pfx_flygravity_s = "0 0.0002 0";
     pfx_shpisvolume = 1;
     pfx_lsppartavg = 600.;
     lightPresetname = "FIRELENS";
     lightrange = 10000.;
     emtrjeasevel = 0.000001;
	 pfx_ppsIsLooping = 1;
	 sfxID			= "TMAG_COLLIDE";
};

// -------------------------------------------------------------------------------------------------------
// Extended FX - Childs etc.
// -------------------------------------------------------------------------------------------------------
INSTANCE FX_CIRCLE1(CFx_Base)
{
     visname = "Circle1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "TARGET";
     emtrjloopmode_s = "PINGPONG";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 0.01;
     emselfrotvel_s = "50 50 0";
	 targetRange	 = 2;
	 targetElevation = 89;
};
INSTANCE FX_CIRCLE2(CFx_Base)
{
     visname = "Circle2";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
	 emFXCreate_S = "fx_circle1";
     emtrjmode_s = "TARGET";
     emtrjloopmode_s = "PINGPONG";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 0.01;
     emselfrotvel_s = "0 0 60";
	 targetRange	 = 2;
	 targetElevation = 89;
};
INSTANCE FX_HUMANBURN(CFx_Base)
{
	 emTrjOriginNode = "BIP01 TOE";
     visname = "humanburn";
	 emFXCreate_S = "FX_HUMANBURN_SMOKE";
 	 emFXCreatedOwnTrj = 1;
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
     lightPresetname = "FIRE";
	 sfxid = "CAMPFIRE_BURN";
};
INSTANCE FX_HUMAN1(CFx_Base)
{
	 emTrjOriginNode = "BIP01 TOE";
     visname = "human1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
     lightPresetname = "POISON";
};
INSTANCE FX_HUMAN2(CFx_Base)
{
	 emTrjOriginNode = "BIP01 TOE";
     visname = "human2";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
     lightPresetname = "POISON";
};
INSTANCE FX_HUMANHEAL(CFx_Base)
{
	 emTrjOriginNode = "BIP01 TOE";
     visname = "humanheal";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
     lightPresetname = "POISON";
};
INSTANCE FX_HUMANBURN_SMOKE(CFx_Base)
{
	 emTrjOriginNode = "BIP01 TOE";
     visname = "humanburn_smoke";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
};

INSTANCE FX_EXPL1(CFx_Base)
{
     visname = "explosion1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0;
     lightPresetname = "FIRELENS";
	 sfxid = "TMAG_COLLIDE";
};

INSTANCE FX_EXPL1_KEY_INVEST_1(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
    visname_s = "explosion1";
};
INSTANCE FX_EXPL1_KEY_INVEST_2(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
    visname_s = "explosion1";
};
INSTANCE FX_EXPL1_KEY_INVEST_3(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
    visname_s = "explosion1";
};
INSTANCE FX_EXPL1_KEY_INVEST_4(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
    visname_s = "explosion2";
};
INSTANCE FX_EXPL1_KEY_INVEST_5(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
     visname_s = "explosion2";
};
INSTANCE FX_EXPL1_KEY_INVEST_6(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
     visname_s = "explosion2";
};
INSTANCE FX_EXPL1_KEY_INVEST_7(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
     visname_s = "explosion2";
};
INSTANCE FX_EXPL1_KEY_INVEST_8(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
     visname_s = "explosion3";
};
INSTANCE FX_EXPL1_KEY_INVEST_9(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
     visname_s = "explosion3";
};
INSTANCE FX_EXPL1_KEY_INVEST_10(C_ParticleFXEmitKey)
{
    pfx_ppsIsLooping = 0;
     visname_s = "explosion3";
};

INSTANCE FX_WALL1(CFx_Base)
{
     visname = "wall1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
     lightPresetname = "FX_LIGHT1";
};

INSTANCE FX_CAST1(CFx_Base)
{
	 emTrjOriginNode = "ZS_RIGHTHAND";
     visname = "cast1";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
};

INSTANCE FX_CAST2(CFx_Base)
{
	 emTrjOriginNode = "ZS_RIGHTHAND";
     visname = "cast2";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
};
INSTANCE FX_CAST3(CFx_Base)
{
	 emTrjOriginNode = "ZS_RIGHTHAND";
     visname = "cast3";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjdynupdatedelay = 0.;
	 emselfrotvel_s = "0 0 350";
};

INSTANCE Blast(CFx_Base)
{
     visname = "Blast";
	 visAlpha= 1;
     fxvarsmodtype_s = "TIME";
     emtrjmode_s = "FIXED";
     emtrjloopmode_s = "NONE";
     emtrjeasefunc_s = "LINEAR";
     emtrjdynupdatedelay = 200000.0;
     emselfrotvel_s = "0 0 50";
	 targetRange	 = 2;
	 targetElevation = 0;
};
INSTANCE Blast_KEY_OPEN(C_ParticleFXEmitKey)
{
	pfx_scTime = 0.000000000001;
};
INSTANCE Blast_KEY_CAST(C_ParticleFXEmitKey)
{
	pfx_scTime = 1;
	pfx_ppsIsLooping = 1;
};
// -------------------------------------------------------------------------------------------------------
// Seperate Collision Childs
// -------------------------------------------------------------------------------------------------------
INSTANCE FX_COLL_Small(CFx_Base)
{
     visname = "apple.3ds";
	 visAlpha= 0;
};
INSTANCE FX_COLL_Small_KEY_CAST(C_ParticleFXEmitKey)
{
	 emCheckCollision = 1;
};

