343 devMsgSuffix =
" Then rebuild 'scripts' and 'graphics' PBOs.";
345 ErrorEx(
string.Format(
"Particle file not found! <%1> Correct path to this particle in script file ParticleList.c!%2",
363 ErrorEx(
string.Format(
"Duplicate particle filename: %1; GetParticleIDByName will only work with the first path if there are two different paths.",
file_name),
ErrorExSeverity.WARNING);
420 return "graphics/particles/";
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
static const int GUN_MOSIN_COMPENSATOR
static const int GRENADE_M18_YELLOW_LOOP
static const int SMOKING_BARREL_HEAVY
static const int TORCH_T2
static const int IMPACT_SAND_EXIT
static const int IMPACT_MEATBONES_ENTER
static const int BARREL_FIRE_STEAM_2END
static const int FIREWORKS_EXPLOSION_THANKS2
static const int GRENADE_M18_RED_END
static const int GRENADE_RDG2_WHITE_LOOP
static const int BARREL_SMALL_FIRE
static const int OVEN_NORMAL_FIRE
static const int IMPACT_CONCRETE_RICOCHET
static const int GUN_MUZZLE_FLASH_SVD_STAR
static const int GUN_UMP45
static const int GUN_PARTICLE_CASING_RAISE
static const int GUN_MP5K_2
static const int EXPLOSION_GOAT
static const int GRENADE_RDG2_BLACK_START
RDG2.
static const int FIREWORKS_EXPLOSION_THANKS4
static const int CAMP_NO_IGNITE_WIND
static const int GUN_PARTICLE_CASING
static const int GUN_MP5K
static const int GRENADE_RDG2_BLACK_END
static const int FIREWORKS_AFTERBURN_END
static const int IMPACT_GRAVEL_EXIT
static const int IMPACT_MEAT_ENTER
static const int GUN_MP5K_COMPENSATOR
static const int IMPACT_GRASS_RICOCHET
static const int BLOOD_SURFACE_CHUNKS
static const int IMPACT_PLASTER_ENTER
static const int IMPACT_GRASS_ENTER
static const int GUN_SOLO_MUZZLE_FLASH
static const int BOLT_CUPID_HIT
static const int GRENADE_M18_PURPLE_START
static const int TORCH_T3
static const int GUN_FNX_SUPPRESSED
static const int IMPACT_DISTANT_DUST
static const int ROADFLARE_BURNING_INIT
static const int IMPACT_GLASS_EXIT
static string GetPathToParticles()
Returns base path to all particles.
static const int BREATH_VAPOUR_MEDIUM
static const int FIREWORKS_EXPLOSION_THANKS1
static const int BLEEDING_SOURCE
static const int ROADFLARE_BURNING_SMOKE
static const int CAMP_STOVE_FIRE_START
static int GetParticleIDByName(string name)
Returns particle's ID based on the filename (without .ptc suffix)
static const int CONTAMINATED_AREA_GAS_GROUND
static const int COOKING_DRYING_DONE
static const int BREATH_VAPOUR_LIGHT
static const int GUN_M4A1
static const int FIREWORKS_EXPLOSION_YELLOW
static const int GRENADE_M18_BLACK_LOOP
static const int IMPACT_METAL_ENTER
static const int GUN_MP5K_SUPPRESSED
static const int IMPACT_WATER_SMALL_ENTER
static const int HATCHBACK_ENGINE_OVERHEATING
static const int IMPACT_GLASS_ENTER
static const int IMPACT_TEST
static const int EASTER_EGG_ACTIVATE
static const int GUN_LONG_WINDED_SMOKE
static const int IMPACT_RUBBER_EXIT
static const int BROOM_TORCH_T1
static const int GRENADE_M84
static const int CAMP_SMALL_SMOKE
static const int IMPACT_CONCRETE_ENTER
static const int ROADFLARE_BURNING_ENDING
static const int HOUSE_NORMAL_FIRE
static const int CLAYMORE_EXPLOSION
static const int GUN_WINCHESTER70
static const int ENV_SWARMING_FLIES
static const int IMPACT_TEST_EXIT_DEBUG
static const int BLOOD_SURFACE_DROPS
static const int GUN_IZH18_SUPPRESSED
static const int IMPACT_MEATBONES_RICOCHET
static const int HOUSE_FIRE_STEAM_2END
static const int IMPACT_WOOD_ENTER
static const int GRENADE_RDG2_BLACK_LOOP
static const int PARTICLE_TEST
static const int IMPACT_METAL_EXIT
static const int SMOKING_BARREL_STEAM
static const int GRENADE_RDG2_WHITE_START
static const int IMPACT_METAL_RICOCHET
static string GetParticleFullPath(int particle_id)
Returns particle's full path (with .ptc suffix) based on its ID.
static const int FIREWORKS_EXPLOSION_BLUE
static const int GUN_CZ61
static const int IMPACT_PLASTIC_EXIT
static const int IMPACT_RUBBER_ENTER
static const int GUN_CZ527
static const int EXPLOSION_LANDMINE
static const int GUN_AKM_SUPPRESSED
static const int IMPACT_WOOD_RICOCHET
static const int CAMP_STEAM_EXTINGUISH_START
static const int BROOM_TORCH_T3
static const int IMPACT_FOLIAGE_ENTER
static const int IMPACT_DIRT_RICOCHET
static const int CAMP_FIRE_START
static const int DROWNING_BUBBLES
static const int GRENADE_M18_YELLOW_START
static const int EVAPORATION
static const int CONTAMINATED_AREA_GAS_SHELL
static const int GRENADE_CHEM_BREAK
static const int GUN_CZ75
static const int IMPACT_TEST_NO_MATERIAL_ERROR
static const int FIREWORKS_EXPLOSION_RED
static const int CONTAMINATED_AREA_GAS_BIGASS
static void PreloadParticles()
Preloads all particles.
static const int HATCHBACK_COOLANT_OVERHEATED
static const int SMOKING_CAR_ENGINE
static const int FIREWORKS_EXPLOSION_THANKS5
static const int VOMIT_CHUNKS
static const int IMPACT_PLASTER_RICOCHET
static const int PLASTIC_EXPLOSION
static const int POWER_GENERATOR_SMOKE
static const int FLAREPROJ_ACTIVATE_GREEN
static const int HATCHBACK_COOLANT_OVERHEATING
static const int IMPACT_TEST_RICOCHET
static const int IMPACT_TEXTILE_EXIT
static const int GUN_MAGNUM
static const int IMPACT_PLASTIC_RICOCHET
static const int DIGGING_STASH
static ref map< int, string > m_ParticlePaths
static const int GUN_AK74
static const int IMPACT_FOLIAGE_EXIT
static const int CAMP_NORMAL_SMOKE
static const int GRENADE_M18_RED_LOOP
static const int GRENADE_M18_YELLOW_END
static const int FLAREPROJ_ACTIVATE
static int GetParticleID(string particle_file)
Returns particle's ID based on the path (without .ptc suffix)
static int RegisterParticle(string file_name)
static const int FIREWORKS_EXPLOSION_THANKS3
static const int GRENADE_M18_WHITE_END
static const int IMPACT_TEST_ENTER_DEBUG
static const int BARREL_FIRE_END
static const int CONTAMINATED_AREA_GAS_AROUND
static bool IsValidId(int id)
Purely checks for an invalid number, does NOT mean it is actually registered.
static const int FIREWORKS_FUSE
static const int IMPACT_GRAVEL_RICOCHET
static const int BARREL_NORMAL_FIRE
static const int HATCHBACK_EXHAUST_SMOKE
static const int GRENADE_M18_GREEN_LOOP
static const int COOKING_BOILING_DONE
static string GetParticlePath(int particle_id)
Returns particle's full path (without .ptc suffix) based on its ID.
static const int SPOOKY_MIST
static const int GRENADE_RDG2_WHITE_END
static ref map< string, int > m_ParticleNames
static const int CAMP_STOVE_FIRE
static const int GRENADE_M18_GREEN_END
static const int CAMP_STEAM_2END
static const int SMOKING_BARREL_SMALL
static const int COOKING_BOILING_EMPTY
static const int CAMP_SMALL_FIRE
static const int OVEN_SMALL_FIRE
static const int WATER_JET
static const int SMOKING_HELI_WRECK
static const int FLAREPROJ_FIRE
static const int GRENADE_M18_WHITE_LOOP
static int GetRegisteredParticlesCount()
static const int BARREL_SMALL_SMOKE
static const int IMPACT_CONCRETE_EXIT
static const int HOUSE_NORMAL_SMOKE
static const int IMPACT_PLASTER_EXIT
static const int GRENADE_M18_BLACK_START
static const int SMOKE_GENERIC_WRECK
static const int IMPACT_TEST2
static const int IMPACT_FOLIAGE_RICOCHET
static const int COOKING_DRYING_START
static const int SMARKS_CHAMBER
static const int BARREL_NORMAL_SMOKE
static const int COOKING_BOILING_START
static const int IMPACT_WATER_MEDIUM_ENTER
static const int GRENADE_M18_RED_START
static const int CAMP_FIRE_END
static const int IMPACT_MEATBONES_EXIT
static const int HOUSE_SMALL_FIRE
static const int CONTAMINATED_AREA_GAS_TINY
static const int HOUSE_FIRE_END
static const int IMPACT_WATER_LARGE_ENTER
static const int BLEEDING_SOURCE_LIGHT
static int RegisterParticle(string root_path, string file_name)
Registers a particle and returns its ID.
static const int WATER_JET_WEAK
static const int BARBED_WIRE_SPARKS
static const int FLAREPROJ_ACTIVATE_BLUE
static const int COOKING_BAKING_START
static const int ROADFLARE_BURNING_MAIN
static const int GUN_AK101
static const int IMPACT_SAND_ENTER
static const int BONFIRE_SMOKE
static const int FIREWORKS_EXPLOSION_GREEN
static const int GRENADE_M18_WHITE_START
static const int GUN_MOSIN9130
static const int SMOKING_BARREL
static const int IMPACT_DIRT_ENTER
static const int FIREWORKS_SHOT
static const int IMPACT_RUBBER_RICOCHET
static const int GRENADE_M18_GREEN_START
M18.
static const int CAMP_NORMAL_FIRE
static const int EXPLOSION_TEST
static const int IMPACT_SAND_RICOCHET
static const int DEBUG_DOT
static const int IMPACT_DIRT_EXIT
static const int IMPACT_TEST_RICOCHET_DEBUG
static const int FIREWORKS_AFTERBURN_START
static const int GUN_LONG_WINDED_SMOKE_SMALL
static const int VOMIT_BLOOD
static const int GUN_IZH18
static const int IMPACT_TEXTILE_RICOCHET
static const int HATCHBACK_ENGINE_OVERHEATED
static const int IMPACT_PLASTIC_ENTER
static const int GUN_PELLETS
static const int HOUSE_FIRE_START
static const int SMOKING_BARREL_STEAM_SMALL
static const int GUN_MP133
static const int CAMP_STOVE_FIRE_END
static const int IMPACT_MEAT_EXIT
static const int BREATH_VAPOUR_HEAVY
static const int GRENADE_M18_PURPLE_LOOP
static const int IMPACT_GLASS_RICOCHET
static const int BOLT_CUPID_TAIL
Cupid's bolt.
static const int FLAREPROJ_ACTIVATE_RED
static const int IMPACT_MEAT_RICOCHET
static const int HOUSE_SMALL_SMOKE
static const int GRENADE_M18_PURPLE_END
static const int COOKING_BURNING_DONE
static const int GRENADE_M18_BLACK_END
static const int GUN_PARTICLE_TEST
static const int BONFIRE_FIRE
static const int BARREL_FIRE_START
static const int TORCH_T1
static const int OVEN_FIRE_START
static const int IMPACT_GRAVEL_ENTER
static const int AURORA_SANTA_WRECK
static const int OVEN_FIRE_END
static const int IMPACT_WOOD_EXIT
static const int IMPACT_TEXTILE_ENTER
static const int BROOM_TORCH_T2
static const int FIREWORKS_EXPLOSION_PINK
static const int COOKING_BAKING_DONE
static const int WATER_SPILLING
proto native CGame GetGame()
proto bool FileExist(string name)
Check existence of file.
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.
proto native void ReleaseObject(vobject object, int flag=0)