2024-06-22 07:29:51 +00:00
|
|
|
|
2023-07-17 05:47:01 +00:00
|
|
|
entityDef weapon_handgrenade
|
|
|
|
{
|
2024-09-03 19:21:03 +00:00
|
|
|
"editor_color" ".3 .3 1"
|
|
|
|
"editor_mins" "-16 -16 -16"
|
|
|
|
"editor_maxs" "16 16 16"
|
|
|
|
"editor_usage" "Hand Grenade"
|
|
|
|
"editor_rotatable" "1"
|
2024-06-22 07:29:51 +00:00
|
|
|
|
2024-09-03 19:21:03 +00:00
|
|
|
"spawnclass" "HLWeapon"
|
|
|
|
"model" "models/w_grenade.mdl"
|
|
|
|
"model_view" "models/v_grenade.mdl"
|
|
|
|
"snd_acquire" "weapon.pickup"
|
|
|
|
"snd_respawn" "item.respawn"
|
2024-06-22 07:29:51 +00:00
|
|
|
|
|
|
|
"inv_name" "Hand Grenade"
|
|
|
|
"inv_weapon" "weapon_handgrenade"
|
|
|
|
"inv_ammo_handgrenade" "5"
|
2024-09-03 19:21:03 +00:00
|
|
|
"def_onRelease" "projectile_handgrenade"
|
2024-09-17 19:48:09 +00:00
|
|
|
"def_onFire" "projectile_handgrenade"
|
|
|
|
|
2024-06-22 07:29:51 +00:00
|
|
|
"ammoType" "ammo_handgrenade"
|
|
|
|
"ammoRequired" "1"
|
|
|
|
"silent_fire" "1"
|
2024-09-17 19:48:09 +00:00
|
|
|
"chargeTime" "4"
|
2024-06-22 07:29:51 +00:00
|
|
|
"removeOnEmpty" "1"
|
|
|
|
|
2024-09-17 19:48:09 +00:00
|
|
|
"act_idle" "0,1"
|
|
|
|
"act_draw" "7"
|
|
|
|
"act_holster" "6"
|
|
|
|
"act_fire" "2"
|
|
|
|
"act_delay" "2"
|
|
|
|
"act_release" "3,4,5"
|
2024-06-22 07:29:51 +00:00
|
|
|
|
|
|
|
// HLWeapon specific
|
2024-09-03 19:21:03 +00:00
|
|
|
"hudSlot" "4"
|
|
|
|
"hudSlotPos" "0"
|
|
|
|
"weight" "5"
|
|
|
|
"crosshair" "none"
|
2023-07-30 17:06:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
entityDef projectile_handgrenade
|
|
|
|
{
|
|
|
|
"spawnclass" "NSProjectile"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model" "models/w_grenade.mdl"
|
|
|
|
"frame" "1"
|
|
|
|
"fuse" "4"
|
2024-09-17 19:48:09 +00:00
|
|
|
"thrown" "1"
|
2023-07-30 17:06:03 +00:00
|
|
|
"detonate_on_fuse" "1"
|
2024-03-02 08:43:10 +00:00
|
|
|
"bounce" "1"
|
2023-07-30 17:06:03 +00:00
|
|
|
"angular_velocity" "-350 0 0"
|
2024-06-22 07:29:51 +00:00
|
|
|
"velocity" "300 0 40"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model_detonate" "fx_explosion.main"
|
2024-06-22 07:29:51 +00:00
|
|
|
"snd_explode" "fx.explosion"
|
2023-07-30 17:06:03 +00:00
|
|
|
"snd_bounce" "weapon_handgrenade.bounce"
|
2024-03-02 08:43:10 +00:00
|
|
|
"decal_detonate" "ExplosionScorch"
|
2024-06-22 07:29:51 +00:00
|
|
|
"def_damage" "damage_handgrenadeDirect"
|
|
|
|
"def_splash_damage" "damage_handgrenadeSplash"
|
2023-07-30 17:06:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
entityDef damage_handgrenadeDirect
|
|
|
|
{
|
|
|
|
"damage" "1"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef damage_handgrenadeSplash
|
|
|
|
{
|
|
|
|
"damage" "skill:plr_hand_grenade"
|
|
|
|
"radius" "250"
|
2024-06-22 07:29:51 +00:00
|
|
|
}
|