hl2/zpak001.pk3dir/decls/def/weapons/slam.def

66 lines
1.4 KiB
Modula-2
Raw Normal View History

2024-09-01 03:37:03 +00:00
entityDef weapon_slam
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "Crowbar"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/weapons/w_slam.mdl"
"model_view" "models/weapons/v_slam.mdl"
"snd_acquire" "weapon.pickup"
"snd_respawn" "item.respawn"
"ammoType" "ammo_slam"
"inv_ammo_slam" "1"
"ammoRequired" "1"
"def_onFire" "projectile_slam"
"detonateOnFire" "projectile_slam"
// "def_plant" "monster_tripmine" TODO
"fireRate" "1.0"
"removeOnEmpty" "1"
"actIdle" "0,1"
"actDraw" "2"
"actFire" "3"
"snd_fire" "Weapon_SLAM.SatchelThrow"
// "snd_plant" "TripmineGrenade.Place" TODO
//
// "snd_detonate" "Weapon_SLAM.SatchelDetonate TODO
// HLWeapon specific
"hudSlot" "4"
"hudSlotPos" "1"
"weight" "-20"
"crosshair" "none"
}
entityDef projectile_slam
{
"spawnclass" "NSProjectile"
"model" "models/weapons/w_slam.mdl"
"velocity" "274 0 0"
"angular_velocity" "0 400 0"
"friction" "0.8"
"gravity" "0.5"
"bounce" "1"
"frame" "1"
"mins" "-1 -1 -4"
"maxs" "1 1 4"
"snd_bounce" "BaseGrenade.BounceSound"
"inherit_velocity" "1"
"def_splash_damage" "damage_satchelExplosion"
"model_detonate" "fx_explosion.main"
"snd_explode" "BaseGrenade.Explode"
}
entityDef damage_satchelExplosion
{
"damage" "skill:plr_dmg_satchel"
"radius" "skill:satchel_radius"
2024-09-01 03:37:03 +00:00
}