Закрытые статические данные | |
static ref map< string, typename > | m_ImpactEffect |
static int | m_LastRegisteredMaterial = 0 |
static ref map< string, int > | m_IgnoredAmmo |
Map of ammo which will not spawn any impact effect. | |
static int | m_LastRegisteredIgnoredAmmo = 0 |
Surface effects | |
Register all hit materials here! When modding, these can be unregistered with 'UnregisterSurface' if so desired | |
static int | PLASTIC = RegisterSurface("Hit_Plastic") |
static int | SAND = RegisterSurface("Hit_Sand") |
static int | TEXTILE = RegisterSurface("Hit_Textile") |
static int | CONCRETE = RegisterSurface("Hit_Concrete") |
static int | GRAVEL = RegisterSurface("Hit_Gravel") |
static int | DIRT = RegisterSurface("Hit_Dirt") |
static int | FOLIAGE = RegisterSurface("Hit_Foliage") |
static int | FOLIAGE_GREEN = RegisterSurface("Hit_Foliage_Green") |
static int | FOLIAGE_CONIFER = RegisterSurface("Hit_Foliage_Conifer") |
static int | GRASS = RegisterSurface("Hit_Grass") |
static int | WOOD = RegisterSurface("Hit_Wood") |
static int | METAL = RegisterSurface("Hit_Metal") |
static int | GLASS = RegisterSurface("Hit_Glass") |
static int | GLASS_THIN = RegisterSurface("Hit_Glass_Thin") |
static int | WATER = RegisterSurface("Hit_Water") |
static int | RUBBER = RegisterSurface("Hit_Rubber") |
static int | PLASTER = RegisterSurface("Hit_Plaster") |
static int | ICE = RegisterSurface("Hit_Ice") |
static int | SNOW = RegisterSurface("Hit_Snow") |
static int | MEATBONES = RegisterSurface("Hit_MeatBones") |
static int | MEATBONES_SHOVEL = RegisterSurface("Hit_MeatBones_MeleeShovel") |
static int | MEATBONES_PIPEWRENCH = RegisterSurface("Hit_MeatBones_MeleePipeWrench") |
static int | MEATBONES_WRENCH = RegisterSurface("Hit_MeatBones_MeleeWrench") |
static int | MEATBONES_FIST = RegisterSurface("Hit_MeatBones_MeleeFist") |
static int | UNDEFINED = RegisterSurface("Hit_Undefined") |
static int | ERROR_NO_MATERIAL = RegisterSurface("Hit_ErrorNoMaterial") |
Ignored ammo | |
Register ammo which will not spawn impact effects here When modding, these can be unregistered with 'UnregisterIgnoredAmmo' if so desired | |
static int | FIST = RegisterIgnoredAmmo("MeleeFist") |
static int | FIST_HEAVY = RegisterIgnoredAmmo("MeleeFist_Heavy") |
static int | SOFT = RegisterIgnoredAmmo("MeleeSoft") |
static int | SOFT_HEAVY = RegisterIgnoredAmmo("MeleeSoft_Heavy") |
static int | DUMMY = RegisterIgnoredAmmo("Dummy_Light") |
static int | DUMMY_HEAVY = RegisterIgnoredAmmo("Dummy_Heavy") |
static int | RegisterSurface (string surface) |
static bool | UnregisterSurface (string surface) |
static int | RegisterIgnoredAmmo (string ammo) |
static bool | UnregisterIgnoredAmmo (string ammo) |
static | GetImpactEffect (string surface, string ammoType) |
static void | EvaluateImpactEffectEx (ImpactEffectsData pData) |
static void | EvaluateImpactEffect (Object directHit, int componentIndex, string surface, vector pos, int impact_type, vector surfNormal, vector exitPos, vector inSpeed, vector outSpeed, bool deflected, string ammoType, bool isWater) |
См. определение в файле ImpactEffects.c строка 28