2023-07-17 05:47:01 +00:00
|
|
|
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" "NSItem"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model" "models/w_grenade.mdl"
|
|
|
|
"inv_item" "$WEAPON_HANDGRENADE"
|
2023-07-17 05:47:01 +00:00
|
|
|
"snd_acquire" "weapon.pickup"
|
|
|
|
"snd_respawn" "item.respawn"
|
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"
|
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-03-02 08:43:10 +00:00
|
|
|
"model_detonate" "fx_explosion.main"
|
2023-07-30 17:06:03 +00:00
|
|
|
"snd_explode" "fx.explosion"
|
|
|
|
"snd_bounce" "weapon_handgrenade.bounce"
|
2024-03-02 08:43:10 +00:00
|
|
|
"decal_detonate" "ExplosionScorch"
|
2023-07-30 17:06:03 +00:00
|
|
|
|
|
|
|
"def_damage" "damage_handgrenadeDirect"
|
|
|
|
"def_splash_damage" "damage_handgrenadeSplash"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef damage_handgrenadeDirect
|
|
|
|
{
|
|
|
|
"damage" "1"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef damage_handgrenadeSplash
|
|
|
|
{
|
|
|
|
"damage" "skill:plr_hand_grenade"
|
|
|
|
"radius" "250"
|
2023-07-17 05:47:01 +00:00
|
|
|
}
|