50 lines
1 KiB
Modula-2
50 lines
1 KiB
Modula-2
entityDef weapon_crowbar
|
|
{
|
|
"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/w_crowbar.mdl"
|
|
"model_view" "models/v_crowbar.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_onFire" "projectile_crowbar"
|
|
"inv_name" "Crowbar"
|
|
"ammoRequired" "0"
|
|
"silent_fire" "1"
|
|
|
|
"testDistance" "-32"
|
|
"failRate" "0.5"
|
|
"fireRate" "0.25"
|
|
"snd_fireFailed" "Weapon_Crowbar.Single"
|
|
|
|
"act_idle" "0"
|
|
"act_draw" "1"
|
|
"act_holster" "2"
|
|
"act_fireFailed" "4,5,7"
|
|
"act_fire" "3,6,8"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "0"
|
|
"hudSlotPos" "0"
|
|
"weight" "0"
|
|
"crosshair" "none"
|
|
"ammoIcon" "none"
|
|
}
|
|
|
|
entityDef projectile_crowbar
|
|
{
|
|
"spawnclass" "NSProjectile"
|
|
"damage" "skill:plr_crowbar"
|
|
"is_bullet" "1"
|
|
"range" "32"
|
|
"decal_impact" "Impact.Shot"
|
|
"detonate_on_world" "1"
|
|
"snd_hitBody" "Weapon_Crowbar.Melee_Hit"
|
|
"snd_hitWorld" "Weapon_Crowbar.Melee_HitWorld"
|
|
}
|