Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Create an effect at a specific location + Fx List
#1
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

[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#2
can you add me? pyromanic5

got someting to ask you
--
Reply

#3
(12-01-2010, 14:07)iModBlackOps Wrote: can you add me? pyromanic5

got someting to ask you
Ask me in PM
P.S: ADDED
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#4
nice stuff ;qq

well if you are warming up post a list of some great FX effects ;qq
dont ask me lazy atm!
if you dig true the world... what comes up first your feet or your head ;qq
Reply

#5
(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
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#6
we can do a jetpack like in mw2 Big Grin
Reply

#7
(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
if you dig true the world... what comes up first your feet or your head ;qq
Reply

#8
(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
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#9
nice find! thx, can u add blood fx?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Who can create this script First_Semyon 3 4,258 09-24-2013, 18:19
Last Post: First_Semyon
  Help Server not in list, but people join 99IRock 8 7,105 07-17-2013, 21:26
Last Post: clacki
  List of models that can be spawned? (Looking for C4 model) akillj 5 4,799 06-27-2013, 13:35
Last Post: Yamato
  [Request] mw3 all map list ( aslo DLC) raminr63 5 14,973 06-18-2013, 19:50
Last Post: mn_acer1
Big Grin Killstreaks HUD list Puffiamo 9 9,932 06-18-2013, 18:42
Last Post: RaZ
  Where can I find a list of scripting commands that correspond to ingame buttons? akillj 2 3,114 06-03-2013, 10:38
Last Post: Yamato
  Help Create plugins ltybcs 46 26,442 05-23-2013, 17:31
Last Post: [HARD] Tony.
  [Request] List of all weapon models DidUknowiPwn 3 4,630 04-20-2013, 09:13
Last Post: Dominator56
  [Request] list models box [HARD] Tony. 3 3,694 03-01-2013, 14:59
Last Post: 99IRock
Video [Tutorial] (Video) How to create the Beretta (or any CoD4's weapon) in Black Ops hitmax 19 13,869 02-08-2013, 00:18
Last Post: Gamemaster20

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.