ItsMods

Full Version: Create an effect at a specific location + Fx List
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It is another tutorial...You can create fx by the following function...
Code:
    ****************************************************************************************************************
    OneShotfx: Fires an effect once.
    maps\mp\_fx::OneShotfx( effectname, (x y z), predelay);

    Example:
    maps\mp\_fx::OneShotfx(level.medFire,        // Medium fire effect
                    (-701, -18361, 148),    // Origin
                    5);                        // Wait 5 seconds before doing effect
    ****************************************************************************************************************


    ****************************************************************************************************************
    Loopfx: Loops an effect with a waittime.
    maps\mp\_fx::loopfx( effectname, (x y z), delay_between_shots);

    Example:
    maps\mp\_fx::loopfx(level.medFire,            // Medium fire effect
                    (-701, -18361, 148),    // Origin
                    0.3);                    // Wait 0.3 seconds between shots
    ****************************************************************************************************************


    ****************************************************************************************************************
    GunFireLoopfx: Simulates bursts of fire.
    maps\mp\_fx::gunfireloopfx(fxId, fxPos, shotsMin, shotsMax, shotdelayMin, shotdelayMax, betweenSetsMin, betweenSetsMax)

    Example:
    maps\mp\_fx::gunfireloopfx (level.medFire,            // Medium fire effect
                            (-701, -18361, 148),    // Origin
                            10, 15,                    // 10 to 15 shots
                            0.1, 0.3,                // 0.1 to 0.3 seconds between shots
                            2.5, 9);                // 2.5 to 9 seconds between sets of shots.
    ****************************************************************************************************************

    ****************************************************************************************************************
    GrenadeExplosionfx: Creates a grenade explosion with view jitter.
    maps\mp\_fx::GrenadeExplosionfx((x y z));

    Example:
    maps\mp\_fx::GrenadeExplosionfx( (-701, -18361, 148) ); // origin
    ****************************************************************************************************************

List of Fx:
Code:
Explosion:
explosions/fx_exp_equipment //Equipment explode
weapon/artillery/fx_artillery_strike_dirt_mp //Artillery explode (Dirt)
vehicle/vexplosion/fx_vexplode_helicopter_exp_mp //Heli explode (Small)
explosions/fx_exp_aerial //Heli explode (Medium)
vehicle/vexplosion/fx_vexplode_heli_killstreak_exp_sm //Heli explode (Large)
maps/mp_maps/fx_mp_exp_rc_bomb //RCXD explode
vehicle/vexplosion/fx_vexplode_u2_exp_mp //UAV explode

Light:
weapon/claymore/fx_claymore_laser //Claymore laser
weapon/crossbow/fx_trail_crossbow_blink_red_os //Crossbow red light
weapon/crossbow/fx_trail_crossbow_blink_grn_os //Crossbow green light
weapon/satchel/fx_explosion_satchel_generic //Mine explode
misc/fx_equip_light_red //Enemy camera light (Red)
misc/fx_equip_light_green //Friendly camera light (Green)
vehicle/light/fx_chinook_exterior_lights_grn_mp //Heli signal light (Green)
vehicle/light/fx_chinook_exterior_lights_red_mp //Heli signal light (Red)
vehicle/light/fx_rcbomb_light_green_os //RCXD light (Green)
vehicle/light/fx_rcbomb_light_red_os //RCXD light (Red)
misc/fx_equip_light_red //Equipment light (Red)
misc/fx_equip_light_green //Equipment light (Green)
misc/fx_equip_tac_insert_light_grn //Tactical insertion light (Green)
misc/fx_equip_tac_insert_light_red //Tactical insertion light (Red)

Fog/Smoke:
trail/fx_geotrail_jet_contrail //Jet contrail
trail/fx_trail_heli_killstreak_engine_smoke_33 //Heli damage smoke (Light)
trail/fx_trail_heli_killstreak_engine_smoke_66 //Heli damage smoke (Heavy)
trail/fx_trail_heli_killstreak_tail_smoke //Heli contrail
misc/fx_equip_sr71_contrail //UAV contrail

Flame:
vehicle/exhaust/fx_exhaust_jet_afterburner //Jet afterburner
env/fire/fx_fire_player_sm_mp //Player burn (Alive)
env/fire/fx_fire_player_md_mp //Player burn (Death)
weapon/muzzleflashes/fx_pilot_light //Flame thrower preburn flame
napalmground_lg_mp //Napalm strike flame (Large)
napalmground_sm_mp //Napalm strike flame (Small)
vehicle/exhaust/fx_exhaust_u2_spyplane_afterburner //UAV afterburner

HUD:
bio/player/fx_player_water_splash_impact //Water splash

Unknown:
weapon/bombing_run/fx_mp_bombing_run_bomb
vehicle/exhaust/fx_exhaust_b52_bomber

I have a nightmare about the fx list...There are too much FxConfused
Every map file have a lot of Fx...For now, the map fx is not included

can you add me? pyromanic5

got someting to ask you
(12-01-2010, 14:07)iModBlackOps Wrote: [ -> ]can you add me? pyromanic5

got someting to ask you
Ask me in PM
P.S: ADDED
nice stuff ;qq

well if you are warming up post a list of some great FX effects ;qq
dont ask me lazy atm!
(12-01-2010, 16:53)TheSaboteur Wrote: [ -> ]nice stuff ;qq

well if you are warming up post a list of some great FX effects ;qq
dont ask me lazy atm!
I know how to find it but it is hard to identify the exact usage
we can do a jetpack like in mw2 Big Grin
(12-02-2010, 10:23)alistair3149 Wrote: [ -> ]
(12-01-2010, 16:53)TheSaboteur Wrote: [ -> ]nice stuff ;qq

well if you are warming up post a list of some great FX effects ;qq
dont ask me lazy atm!
I know how to find it but it is hard to identify the exact usage
wellu did it ;qq

u sure these are global FX effects so they work on everymap?Sleepy
(12-07-2010, 09:07)TheSaboteur Wrote: [ -> ]
(12-02-2010, 10:23)alistair3149 Wrote: [ -> ]
(12-01-2010, 16:53)TheSaboteur Wrote: [ -> ]nice stuff ;qq

well if you are warming up post a list of some great FX effects ;qq
dont ask me lazy atm!
I know how to find it but it is hard to identify the exact usage
wellu did it ;qq

u sure these are global FX effects so they work on everymap?Sleepy
I am sure because these FX isn't from those map files
nice find! thx, can u add blood fx?