In this tutorial i will show how to import FXs from SP (zm too) to MP
1) First of all you need mod with the following folders (again ):
<blops directory>\mods\mp_YOURMOD\fx
2)Importing
Go to <blops dir>\raw\fx and choose your favorite FX from folders and copy it to <blops directory>\mods\mp_YOURMOD\fx
Example (my fav fx):
<blops dir>\raw\fx\maps\zombie\fx_defense_zombie_boss3.efx to <blops directory>\mods\mp_YOURMOD\fx\maps\zombie\fx_defense_zombie_boss3.efx
3)Adding to Zone Source (mod.csv) file
Open your mod.csv file and put following lines:
5)Spawn FX in game
Open your GSC file(like your map building thing) and put this in init(), main():
Spawn:
Example
4) Build your mod!
Sorry, if bad tutorial
1) First of all you need mod with the following folders (again ):
<blops directory>\mods\mp_YOURMOD\fx
2)Importing
Go to <blops dir>\raw\fx and choose your favorite FX from folders and copy it to <blops directory>\mods\mp_YOURMOD\fx
Example (my fav fx):
<blops dir>\raw\fx\maps\zombie\fx_defense_zombie_boss3.efx to <blops directory>\mods\mp_YOURMOD\fx\maps\zombie\fx_defense_zombie_boss3.efx
3)Adding to Zone Source (mod.csv) file
Open your mod.csv file and put following lines:
Quote:fx, <your fx with folder>Example:
Quote:fx,maps\zombie\fx_defense_zombie_boss3Save mod.csv file.
5)Spawn FX in game
Open your GSC file(like your map building thing) and put this in init(), main():
Quote:loadFx("<YOUR FX>");Example;
level._CUSTOM_FX_NAME = loadfx("<YOUR FX>");
Quote:loadFx("maps/zombie/fx_defense_zombie_boss3");NOTE! "\" (slash) need change to "/" (slash) in gsc script(loadFx) or this will not work!
level._CUSTOM_FX_NAME = loadFx("maps/zombie/fx_defense_zombie_boss3");
Spawn:
Quote:spawnMyFx()NOTE: With some FX need loop thread, because some fx have time!
{
playFX(level._CUSTOM_FX_NAME, ORIGIN);
}
Thanks to iAegle for this:
effect = spawnEffect( ( 0, 0, 0 ), level._CUSTOM_FX_NAME );
for delete:
effect delete();
Example
Quote:spawnMyFx()
{
for(;
{
playFX(level._CUSTOM_FX_NAME, ORIGIN);
wait <time>;
}
}
4) Build your mod!
Sorry, if bad tutorial