2023-07-17 05:47:01 +00:00
|
|
|
entityDef weapon_9mmAR
|
|
|
|
{
|
2024-06-22 07:29:51 +00:00
|
|
|
"editor_color" ".3 .3 1"
|
|
|
|
"editor_mins" "-16 -16 -16"
|
|
|
|
"editor_maxs" "16 16 16"
|
|
|
|
"editor_usage" "9mm AR"
|
|
|
|
"editor_rotatable" "1"
|
|
|
|
|
|
|
|
"spawnclass" "HLWeapon"
|
|
|
|
"model" "models/w_9mmAR.mdl"
|
|
|
|
"model_view" "models/v_9mmAR.mdl"
|
|
|
|
"snd_acquire" "weapon.pickup"
|
|
|
|
"snd_respawn" "item.respawn"
|
|
|
|
|
|
|
|
// NSWeapon specific
|
|
|
|
"def_fireInfo" "fireInfo_9mmAR"
|
|
|
|
"def_altFireInfo" "fireInfo_ARGrenade"
|
|
|
|
"inv_name" "9mm AR"
|
|
|
|
"clipSize" "50"
|
|
|
|
"clipSizeDefault" "25"
|
|
|
|
|
|
|
|
"actFire" "5,6,7"
|
|
|
|
"actHolster" "4"
|
|
|
|
"actReload" "3"
|
|
|
|
"actDraw" "4"
|
|
|
|
"actIdle" "0,1"
|
|
|
|
|
|
|
|
"snd_fire" "weapon_mp5.shoot"
|
|
|
|
"snd_empty" "weapon_mp5.empty"
|
|
|
|
|
|
|
|
// HLWeapon specific
|
|
|
|
"hudSlot" "2"
|
|
|
|
"hudSlotPos" "0"
|
|
|
|
"weight" "15"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef projectile_9mmAR
|
|
|
|
{
|
|
|
|
"inherit" "projectile_bullet_base"
|
|
|
|
"damage" "skill:plr_9mmAR_bullet"
|
|
|
|
"spread" "0.025 0.025"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef fireInfo_9mmAR
|
|
|
|
{
|
|
|
|
"def_onFire" "projectile_9mmAR"
|
|
|
|
"ammoType" "ammo_9mm"
|
|
|
|
"ammoRequired" "1"
|
|
|
|
"ammoPerShot" "1"
|
|
|
|
"fireRate" "0.085"
|
|
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"model_flash" "sprites/muzzleflash1.spr"
|
2023-07-17 05:47:01 +00:00
|
|
|
}
|
|
|
|
|
2024-06-22 07:29:51 +00:00
|
|
|
entityDef fireInfo_ARGrenade
|
2023-07-17 05:47:01 +00:00
|
|
|
{
|
2024-06-22 07:29:51 +00:00
|
|
|
"def_onFire" "projectile_ARgrenade"
|
|
|
|
"ammoType" "ammo_m203_grenade"
|
|
|
|
"ammoRequired" "1"
|
|
|
|
"ammoPerShot" "1"
|
|
|
|
"fireRate" "1"
|
|
|
|
"punchAngle" "-10 0 0"
|
|
|
|
"snd_fire" "weapon_mp5.gl"
|
|
|
|
"actFire" "2"
|
2023-07-28 06:08:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
entityDef projectile_ARgrenade
|
|
|
|
{
|
|
|
|
"spawnclass" "NSProjectile"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model" "models/grenade.mdl"
|
|
|
|
"offset" "16 0 0"
|
|
|
|
"velocity" "800 0 0"
|
2023-07-28 06:08:26 +00:00
|
|
|
"angular_velocity" "-300 0 0"
|
2024-03-02 08:43:10 +00:00
|
|
|
"gravity" "0.5"
|
|
|
|
"bounce" "1"
|
|
|
|
"mins" "0 0 0"
|
|
|
|
"maxs" "0 0 0"
|
2023-07-28 06:08:26 +00:00
|
|
|
"detonate_on_fuse" "0"
|
|
|
|
"detonate_on_death" "1"
|
|
|
|
"detonate_on_world" "1"
|
|
|
|
"detonate_on_actor" "1"
|
2024-06-22 07:29:51 +00:00
|
|
|
"snd_explode" "fx.explosion"
|
2024-03-02 08:43:10 +00:00
|
|
|
"model_detonate" "fx_explosion.main"
|
|
|
|
"decal_detonate" "ExplosionScorch"
|
|
|
|
"smoke_fly" "weapon_9mmAR.nadetrail"
|
2023-07-28 06:08:26 +00:00
|
|
|
|
2024-06-22 07:29:51 +00:00
|
|
|
"def_damage" "damage_ARgrenadeDirect"
|
|
|
|
"def_splash_damage" "damage_ARgrenadeSplash"
|
2023-07-28 06:08:26 +00:00
|
|
|
}
|
|
|
|
|
2024-06-22 07:29:51 +00:00
|
|
|
entityDef damage_ARgrenadeDirect
|
2023-07-28 06:08:26 +00:00
|
|
|
{
|
|
|
|
"damage" "50"
|
|
|
|
}
|
|
|
|
|
2024-06-22 07:29:51 +00:00
|
|
|
entityDef damage_ARgrenadeSplash
|
2023-07-28 06:08:26 +00:00
|
|
|
{
|
|
|
|
"damage" "skill:plr_9mmAR_grenade"
|
|
|
|
"radius" "160"
|
2024-06-22 07:29:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// multiplayer version
|
|
|
|
entityDef projectile_9mmAR_mp
|
|
|
|
{
|
|
|
|
"inherit" "projectile_bullet_base"
|
|
|
|
"damage" "skill:plr_9mmAR_bullet"
|
|
|
|
"spread" "0.5 0.5"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef fireInfo_9mmAR_mp
|
|
|
|
{
|
|
|
|
"def_onFire" "projectile_9mmAR_mp"
|
|
|
|
"ammoType" "ammo_9mm"
|
|
|
|
"ammoRequired" "1"
|
|
|
|
"ammoPerShot" "1"
|
|
|
|
"fireRate" "0.085"
|
|
|
|
"punchAngle" "-2 0 0"
|
|
|
|
"model_flash" "sprites/muzzleflash1.spr"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef weapon_9mmAR_mp
|
|
|
|
{
|
|
|
|
"inherit" "weapon_9mmAR"
|
|
|
|
"def_fireInfo" "fireInfo_9mmAR_mp"
|
|
|
|
}
|