71 lines
1.3 KiB
Modula-2
71 lines
1.3 KiB
Modula-2
entityDef weapon_357
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" ".357 Revolver"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/w_357.mdl"
|
|
"model_view" "models/v_357.mdl"
|
|
"snd_acquire" "weapon.pickup"
|
|
"snd_respawn" "item.respawn"
|
|
|
|
// weapon specific
|
|
"def_fireInfo" "fireInfo_357"
|
|
"inv_name" ".357 Revolver"
|
|
"clipSize" "6"
|
|
|
|
"ammoIcon" "weapon_357.ammo"
|
|
"ammo2Icon" "weapon_357.ammo2"
|
|
"crosshair" "weapon_357.crosshair"
|
|
"icon" "weapon_357.weapon"
|
|
"iconSelected" "weapon_357.weapon_s"
|
|
|
|
"act_fire" "2"
|
|
"act_holster" "4"
|
|
"act_reload" "3"
|
|
"act_draw" "5"
|
|
"act_idle" "0,1,6,7"
|
|
|
|
"snd_fire" "Weapon_357.Single"
|
|
"snd_empty" "Weapons.Empty"
|
|
"snd_reload" "Weapon_357.Reload"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "1"
|
|
"hudSlotPos" "1"
|
|
"weight" "15"
|
|
"killIcon" "d_357"
|
|
}
|
|
|
|
entityDef weapon_python
|
|
{
|
|
"inherit" "weapon_357"
|
|
}
|
|
|
|
entityDef projectile_357
|
|
{
|
|
"inherit" "projectile_bullet_base"
|
|
"damage" "skill:plr_357_bullet"
|
|
}
|
|
|
|
entityDef fireInfo_357
|
|
{
|
|
"def_onFire" "projectile_357"
|
|
"ammoType" "ammo_357"
|
|
"ammoRequired" "1"
|
|
"ammoPerShot" "1"
|
|
"fireRate" ".75"
|
|
"punchAngle" "-10 0 0"
|
|
"model_flash" "sprites/muzzleflash2.spr"
|
|
}
|
|
|
|
// multiplayer variant
|
|
entityDef weapon_357_mp
|
|
{
|
|
"inherit" "weapon_357"
|
|
"view_geomset" "geomset 4 2\n"
|
|
"zoomFov" "45"
|
|
}
|