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

98 lines
2 KiB
Modula-2

entityDef weapon_smg1
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "#HL2_SMG1"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/weapons/w_smg1.mdl"
"model_view" "models/weapons/v_smg1.mdl"
"snd_acquire" "HL2Player.PickupWeapon"
"snd_respawn" "Item.Materialize"
// weapon specific
"def_fireInfo" "fireInfo_smg1"
"def_altFireInfo" "fireInfo_smg1Alt"
"inv_name" "#HL2_SMG1"
"clipSize" "45"
"actReload" "7"
"actDraw" "6"
"actIdle" "0"
"snd_empty" "Weapon_SMG1.Empty"
// HLWeapon specific
"hudSlot" "2"
"hudSlotPos" "0"
"weight" "3"
}
entityDef projectile_ARgrenade
{
"spawnclass" "NSProjectile"
"model" "models/items/ar2_grenade.mdl"
"offset" "16 0 0"
"velocity" "800 0 0"
"angular_velocity" "-300 0 0"
"gravity" "0.5"
"bounce" "1"
"mins" "0 0 0"
"maxs" "0 0 0"
"detonate_on_fuse" "0"
"detonate_on_death" "1"
"detonate_on_world" "1"
"detonate_on_actor" "1"
"snd_explode" "BaseExplosionEffect.Sound"
"model_detonate" "fx_explosion.main"
"def_damage" "damage_ARgrneadeDirect"
"def_splash_damage" "damage_ARgrneadeSplash"
}
entityDef damage_ARgrneadeDirect
{
"damage" "sk_max_smg1_grenade"
}
entityDef damage_ARgrneadeSplash
{
"damage" "skill:smg1_grenade_radius"
"radius" "skill:smg1_grenade_radius"
}
entityDef projectile_smg1
{
"inherit" "projectile_bullet_base"
"damage" "skill:plr_dmg_smg1"
}
entityDef fireInfo_smg1
{
"def_onFire" "projectile_smg1"
"ammoType" "ammo_smg1"
"ammoRequired" "1"
"ammoPerShot" "1"
"fireRate" "0.085"
"punchAngle" "-2 0 0"
"model_flash" "sprites/muzzleflash2.spr"
"actFire" "1,2,3,4"
"snd_fire" "Weapon_SMG1.Single"
}
entityDef fireInfo_smg1Alt
{
"def_onFire" "projectile_ARgrenade"
"ammoType" "ammo_smg1_grenade"
"ammoRequired" "1"
"ammoPerShot" "1"
"fireRate" "1.0"
"punchAngle" "-10 0 0"
"model_flash" "sprites/muzzleflash2.spr"
"actFire" "5"
"snd_fire" "Weapon_SMG1.Special1"
}