valve/zpak001.pk3dir/decls/def/weapons/handgrenade.def

72 lines
1.5 KiB
Modula-2

entityDef weapon_handgrenade
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "Hand Grenade"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/w_grenade.mdl"
"model_view" "models/v_grenade.mdl"
"snd_acquire" "weapon.pickup"
"snd_respawn" "item.respawn"
"inv_name" "Hand Grenade"
"inv_weapon" "weapon_handgrenade"
"inv_ammo_handgrenade" "5"
"def_onRelease" "projectile_handgrenade"
"def_onFire" "projectile_handgrenade"
"ammoType" "ammo_handgrenade"
"ammoRequired" "1"
"silent_fire" "1"
"chargeTime" "4"
"removeOnEmpty" "1"
"drawAfterRelease" "1"
"act_idle" "0,1"
"act_draw" "7"
"act_holster" "6"
"act_fire" "7"
"act_delay" "2"
"act_release" "3,4,5"
// HLWeapon specific
"hudSlot" "4"
"hudSlotPos" "0"
"weight" "5"
"crosshair" "none"
}
entityDef projectile_handgrenade
{
"spawnclass" "NSProjectile"
"model" "models/w_grenade.mdl"
"frame" "1"
"fuse" "4"
"thrown" "1"
"detonate_on_fuse" "1"
"detonate_offset" "24"
"bounce" "1"
"angular_velocity" "-350 0 0"
"velocity" "300 0 40"
"model_detonate" "fx_explosion.main"
"snd_explode" "BaseExplosionEffect.Sound"
"snd_bounce" "Weapon_HandGrenade.GrenadeBounce"
"decal_detonate" "ExplosionScorch"
"def_damage" "damage_handgrenadeDirect"
"def_splash_damage" "damage_handgrenadeSplash"
}
entityDef damage_handgrenadeDirect
{
"damage" "1"
}
entityDef damage_handgrenadeSplash
{
"damage" "skill:plr_hand_grenade"
"radius" "250"
}