valve/zpak001.pk3dir/decls/def/weapons/tripmine.def
2024-09-17 12:48:09 -07:00

51 lines
994 B
Modula-2

entityDef weapon_tripmine
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "Tripmine"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/v_tripmine.mdl"
"model_view" "models/v_tripmine.mdl"
"body0" "2"
"body1" "2"
"frame" "8"
"snd_acquire" "weapon.pickup"
"snd_respawn" "item.respawn"
"def_fireInfo" "fireInfo_tripminePlant"
"inv_ammo_tripmine" "1"
"ammoType" "ammo_tripmine"
"ammoRequired" "1"
"act_idle" "0,1,4"
"act_fire" "2,3"
"act_draw" "6"
"act_holster" "5"
"removeOnEmpty" "1"
// HLWeapon specific
"hudSlot" "4"
"hudSlotPos" "2"
"weight" "-10"
"crosshair" "none"
}
entityDef fireInfo_tripminePlant
{
"def_onFire" "projectile_tripmine"
"fireRate" "0.5"
"testDistance" "-64"
}
entityDef projectile_tripmine
{
"spawnclass" "NSAttack"
"def_plant" "monster_tripmine"
"plant" "1"
"plantOnGround" "0"
"plantDistance" "64"
"plantOffset" "8"
}