gangstawars/zpak001.pk3dir/decls/def/weapons/flashbang.def
Xylemon a9b7518758 Sounds for PSG1 zoom
Sounds for all grenades
Proper sound for armor
Proper empty sound
Fixes for shotgun sounds
2024-08-30 15:18:48 -07:00

70 lines
1.5 KiB
Modula-2

entityDef weapon_flashbang
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "Flash Bang Grenade"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/w_flashbang.mdl"
"model_view" "models/v_flashbang.mdl"
"snd_acquire" "weapon.pickup"
"snd_respawn" "item.respawn"
"inv_name" "Flash Bang Grenade"
"inv_weapon" "weapon_flashbang"
"inv_ammo_flashbang" "1"
"def_onRelease" "projectile_flashbang"
"def_explode_inhand" "env_flashbang_explodeinhand"
"def_damage_inhand" "damage_flashbangSplash"
"ammoType" "ammo_flashbang"
"ammoRequired" "1"
"silent_fire" "1"
"primed_fuse" "4"
"removeOnEmpty" "1"
"actIdle" "0,1"
"actDraw" "7"
"actHolster" "6"
"actFire" "2"
"actRelease" "3,4,5"
"price" "150"
// HLWeapon specific
"hudSlot" "6"
"hudSlotPos" "0"
"weight" "5"
"crosshair" "none"
}
entityDef projectile_flashbang
{
"spawnclass" "NSProjectile"
"model" "models/w_flashbang.mdl"
"frame" "1"
"fuse" "4"
"detonate_on_fuse" "1"
"bounce" "1"
"angular_velocity" "-350 0 0"
"velocity" "300 0 40"
"model_detonate" "fx_explosion.main"
"snd_explode" "weapon_flashbang.explode"
"snd_bounce" "weapon_flashbang.bounce"
"decal_detonate" "ExplosionScorch"
"def_damage" "damage_flashbangDirect"
"def_splash_damage" "damage_flashbangSplash"
}
entityDef damage_flashbangDirect
{
"damage" "1"
}
entityDef env_flashbang_explodeinhand
{
"spawnclass" "idAnimatedEntity"
"model" "grenadeExplosion.prt"
}