Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 77 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Tutorials

»
CoD4 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
FX Tutorial
Versions: You must be logged in to view history.
Alphawolf will show you how to make FX in 4 easy steps.

1.open your mp_mapname.gsc located here rawfile,maps/mp/mp_mapname.gsc ,& add these 2 lines above mapsmp_load::main();

mapsmpmp_mapname_fx::main();
mapscreatefxmp_mapname_fx::main();

mapsmp_load::main();

2.now if you have not already created an mp_mapname_fx.gsc
then just open the stock mp_bloc_fx.gsc
it should be like this
-----------------------------------------------------------
main()
{

level._effect[ "snow_light" ] = loadfx( "weather/snow_light_mp_bloc" );
level._effect[ "hallway_smoke" ] = loadfx( "smoke/hallway_smoke_light" );
level._effect[ "snow_wind" ] = loadfx( "weather/snow_wind" );

/#
if ( getdvar( "clientSideEffects" ) != "1" )
mapscreatefxmp_bloc_fx::main();
#/
}
------------------------------------------------------------------------
the words in red is the effect that will be loaded. You can name it whatever you want
the words in green is the addres that the effect is located in the fx folder.
the words in blue needs to be changed to your map name fx gsc for example! mp_mapname _fx
once you have input the desired fx in the higlighted feilds
what fx you want RED /where it is located,GREEN /and changed the blue entry to your mapname fx gsc
click file save As ,then call it mp_youmapname_fx
now you have your mp_youmapname_fx


3.
Then create a new folder called createfx
in this directory raw/maps
& copy & paste the fx.gsc you just made in to that folder
open it up and deleate all the info in it
now just copy this info here in to it instead

(remember: you are calling the fx with this file using the name you designated in red in the other _fx file. You can name your fx (the red part) anything you like.)

----------------------------------------------------------------
main()
{
ent = mapsmp_utility::createOneshotEffect( "snow_light" );
ent.v[ "origin" ] = ( 1200, -464, 144 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "snow_light";
ent.v[ "delay" ] = -1;




}
-----------------------------------------------------------------------
using the original fx that was already there in the mp_bloc_fx .gsc as an example i have placed it in where it needs to go,the green numbers are the x,y,z location on your map where you want to place the fx

each time you want to add more fx all you have to do is copy & paste this ent info editing the red & green with what ever fx & location you want ,save & close that file once edited.

final step
open the compile tools click the update zone files button and add these 2 lines
rawfile,maps/mp/mp_yourmapname_fx.gsc
rawfile,maps/createfx/mp_yourmapname_fx.gsc

also add the relevant new fx
still using the snow_light_mp_bloc fx as an example
would look like this
fx,weather/snow_light_mp_bloc
then save !!!!!!!!!!!

build fast file every time you add new fx so do that now
then enjoy they should work and to prove they do look at my new fog fx

23wpe9x_1024

Tutorial Written By: Alphawolf

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»