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

67 lines
1.4 KiB
Modula-2

entityDef weapon_slam
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "#HL2_SLAM"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/weapons/w_slam.mdl"
"model_view" "models/weapons/v_slam.mdl"
"snd_acquire" "HL2Player.PickupWeapon"
"snd_respawn" "Item.Materialize"
"inv_name" "#HL2_SLAM"
"ammoType" "ammo_slam"
"inv_ammo_slam" "3"
"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" "2"
"weight" "1"
"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"
}