home *** CD-ROM | disk | FTP | other *** search
- Script:LoadScript("scripts/materials/commoneffects.lua");
- Materials["mat_meat"] = {
- type="mat_meat",
- -------------------------------------
- PhysicsSounds=PhysicsSoundsTable.Soft,
- -------------------------------------
- bullet_hit = {
- sounds = {
- {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,220,10,80},
- {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,220,10,80},
- {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,220,10,80},
- {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,220,10,80},
-
- },
-
- particleEffects = {
- gore = 1,
- name = "bullet.hit_flesh.a",
- },
-
-
- },
-
- pancor_bullet_hit = {
- sounds = {
- {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,220,10,80},
- {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,220,10,80},
- {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,220,10,80},
- {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,220,10,80},
-
- },
-
- particleEffects = {
- gore = 1,
- name = "bullet.hit_flesh_pancor.a",
- },
-
-
- },
-
- -------------------------
- melee_punch = {
- sounds = {
- {"sounds/objectimpact/hit1.wav",SOUND_UNSCALABLE,255,5,30},
- {"sounds/objectimpact/hit2.wav",SOUND_UNSCALABLE,255,5,30},
- {"sounds/objectimpact/hit3.wav",SOUND_UNSCALABLE,255,5,30},
- {"sounds/objectimpact/hit4.wav",SOUND_UNSCALABLE,255,5,30},
- {"sounds/objectimpact/hit5.wav",SOUND_UNSCALABLE,255,5,30},
- {"sounds/objectimpact/hit6.wav",SOUND_UNSCALABLE,255,5,30},
- {"sounds/objectimpact/hit7.wav",SOUND_UNSCALABLE,255,5,30},
- {"sounds/objectimpact/hit8.wav",SOUND_UNSCALABLE,255,5,30},
-
- },
- },
- melee_slash = {
- sounds = {
- {"sounds/objectimpact/Mslash1.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/objectimpact/Mslash2.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/objectimpact/Mslash3.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/objectimpact/Mslash4.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/objectimpact/Mslash5.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/objectimpact/Mslash6.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/objectimpact/Mslash7.wav",SOUND_UNSCALABLE,185,5,30},
- {"sounds/objectimpact/Mslash8.wav",SOUND_UNSCALABLE,185,5,30},
-
- },
- particleEffects = {
- gore = 1, -- to be able to switch off gore -- to know what's allowed
- name = "bullet.hit_flesh.a",
- },
-
- decal = {
- texture = System:LoadTexture("Languages/Textures/Decal/flesh_slash.dds"),
- scale = 0.20,
- },
-
- },
-
- projectile_hit = CommonEffects.common_projectile_hit,
- mortar_hit = CommonEffects.common_mortar_hit,
- smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
- flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
- grenade_hit = CommonEffects.common_grenade_hit,
- -------------------------------------
- player_walk = CommonEffects.player_conc_walk,
- player_run = CommonEffects.player_conc_run,
- player_crouch = CommonEffects.player_conc_crouch,
- player_prone = CommonEffects.player_conc_prone,
- player_walk_inwater = CommonEffects.player_walk_inwater,
- gameplay_physic = {
- piercing_resistence = 15,
- friction = 0.6,
- bouncyness= -2, -- default 0
- },
-
- AI = {
- fImpactRadius = 5,
- },
-
- }