Sounds for all grenades Proper sound for armor Proper empty sound Fixes for shotgun sounds
76 lines
1.7 KiB
Modula-2
76 lines
1.7 KiB
Modula-2
entityDef weapon_molotov_cocktail
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "Flashbang Grenade"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_molotov_cocktail.mdl"
|
|
"model_view" "models/v_molotov_cocktail.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
"inv_name" "Flashbang Grenade"
|
|
"inv_weapon" "weapon_molotov_cocktail"
|
|
"inv_ammo_molotov_cocktail" "1"
|
|
"def_onRelease" "projectile_molotov_cocktail"
|
|
"def_explode_inhand" "env_molotov_cocktail_explodeinhand"
|
|
"def_damage_inhand" "damage_molotov_cocktailSplash"
|
|
"ammoType" "ammo_molotov_cocktail"
|
|
"ammoRequired" "1"
|
|
"silent_fire" "1"
|
|
"primed_fuse" "4"
|
|
"removeOnEmpty" "1"
|
|
|
|
"actIdle" "0,1"
|
|
"actDraw" "7"
|
|
"actHolster" "6"
|
|
"actFire" "2"
|
|
"actRelease" "3,4,5"
|
|
|
|
"price" "250"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "6"
|
|
"hudSlotPos" "2"
|
|
"weight" "5"
|
|
"crosshair" "none"
|
|
}
|
|
|
|
entityDef projectile_molotov_cocktail
|
|
{
|
|
"spawnclass" "NSProjectile"
|
|
"model" "models/w_molotov_cocktail.mdl"
|
|
"frame" "1"
|
|
"fuse" "4"
|
|
"detonate_on_world" "1"
|
|
"detonate_on_fuse" "1"
|
|
"bounce" "0"
|
|
"angular_velocity" "-350 0 0"
|
|
"velocity" "300 0 40"
|
|
"model_detonate" "fx_explosion.main"
|
|
"snd_explode" "weapon_molotov_cocktail.explode"
|
|
"decal_detonate" "ExplosionScorch"
|
|
|
|
"def_damage" "damage_molotov_cocktailDirect"
|
|
"def_splash_damage" "damage_molotov_cocktailSplash"
|
|
}
|
|
|
|
entityDef damage_molotov_cocktailDirect
|
|
{
|
|
"damage" "1"
|
|
}
|
|
|
|
entityDef damage_molotov_cocktailSplash
|
|
{
|
|
"damage" "skill:plr_molotov_cocktail"
|
|
"radius" "250"
|
|
}
|
|
|
|
entityDef env_molotov_cocktail_explodeinhand
|
|
{
|
|
"spawnclass" "idAnimatedEntity"
|
|
"model" "grenadeExplosion.prt"
|
|
}
|