cod5-sdk/raw/maps/mp/mp_kwai_fx.gsc
2009-04-10 00:00:00 +00:00

35 lines
No EOL
1.6 KiB
Text

#include maps\mp\_utility;
main()
{
maps\mp\createart\mp_kwai_art::main();
precacheFX();
spawnFX();
}
precacheFX()
{
level._effect["a_wtrfall_sm"] = loadfx("env/water/fx_wtrfall_sm");
level._effect["a_wtrfall_splash_sm"] = loadfx("env/water/fx_wtrfall_splash_sm");
level._effect["a_wtrfall_splash_sm_puddle"] = loadfx("env/water/fx_wtrfall_splash_sm_puddle");
level._effect["a_wtrfall_md"] = loadfx("env/water/fx_wtrfall_md");
level._effect["a_wtr_spill_sm"] = loadfx("env/water/fx_wtr_spill_sm");
level._effect["a_wtr_spill_sm_int"] = loadfx("env/water/fx_wtr_spill_sm_int");
level._effect["a_wtr_spill_sm_splash"] = loadfx("env/water/fx_wtr_spill_sm_splash");
level._effect["a_wtr_spill_sm_splash_puddle"] = loadfx("env/water/fx_wtr_spill_sm_splash_puddle");
level._effect["a_wtr_flow_sm"] = loadfx("env/water/fx_wtr_flow_sm");
level._effect["a_wtr_flow_md"] = loadfx("env/water/fx_wtr_flow_md");
level._effect["a_water_wake_flow_sm"] = loadfx("env/water/fx_water_wake_flow_sm");
level._effect["a_water_wake_flow_md"] = loadfx("env/water/fx_water_wake_flow_md");
level._effect["a_water_ripple"] = loadfx("env/water/fx_water_splash_ripple_puddle");
level._effect["a_water_ripple_md"] = loadfx("env/water/fx_water_splash_ripple_puddle_med");
level._effect["a_water_ripple_aisle"] = loadfx("env/water/fx_water_splash_ripple_puddle_aisle");
level._effect["a_water_ripple_line"] = loadfx("env/water/fx_water_splash_ripple_line");
level._effect["a_rain_cave_ceiling_hole"] = loadfx("maps/oki2/fx_rain_cave_ceiling_hole");
}
spawnFX()
{
maps\mp\createfx\mp_kwai_fx::main();
}