222 lines
4.3 KiB
Modula-2
222 lines
4.3 KiB
Modula-2
|
// Baseball Bat
|
||
|
entityDef weapon_bat
|
||
|
{
|
||
|
"spawnclass" "ncWeapon"
|
||
|
"model_view" "models/weapons/v_bat.vvm"
|
||
|
"model" "models/weapons/w_bat.vvm"
|
||
|
"inv_name" "Baseball Bat"
|
||
|
"inv_weapon" "weapon_bat"
|
||
|
"ammoType" ""
|
||
|
"ammoRequired" "0"
|
||
|
"def_dropItem" "weapon_bat"
|
||
|
|
||
|
"def_onFire" "damage_bat"
|
||
|
"testDistance" "-32"
|
||
|
|
||
|
"meleeRateMiss" "0.6"
|
||
|
"meleeRateHit" "0.75"
|
||
|
|
||
|
"act_idle" "0,2"
|
||
|
"act_draw" "4"
|
||
|
"act_holster" "6"
|
||
|
"act_fireFailed" "9,11,13"
|
||
|
"act_fire" "8,10,12"
|
||
|
"snd_fire" "weapon_bat.hit"
|
||
|
"snd_fireFailed" "weapon_bat.miss"
|
||
|
}
|
||
|
|
||
|
entityDef damage_bat
|
||
|
{
|
||
|
"spawnclass" "ncProjectile"
|
||
|
"is_bullet" "1"
|
||
|
"damage" "15"
|
||
|
"gib" "1"
|
||
|
"push" "300"
|
||
|
}
|
||
|
|
||
|
// Pistol
|
||
|
entityDef weapon_pistol
|
||
|
{
|
||
|
"spawnclass" "ncWeapon"
|
||
|
"model_view" "models/weapons/v_pistol.vvm"
|
||
|
"model" "models/weapons/w_pistol.vvm"
|
||
|
"inv_name" "Pistol"
|
||
|
"inv_weapon" "weapon_pistol"
|
||
|
"ammoType" ""
|
||
|
"ammoRequired" "0"
|
||
|
"def_dropItem" "weapon_pistol"
|
||
|
"def_onFire" "projectile_pistol"
|
||
|
|
||
|
"fireRate" ".1"
|
||
|
|
||
|
"snd_fire" "weapon_pistol.fire"
|
||
|
"act_fire" "14,16"
|
||
|
"act_fireLast" "15,17"
|
||
|
"act_reload" "8"
|
||
|
"act_reloadEmpty" "9"
|
||
|
"act_drawEmpty" "3"
|
||
|
"act_draw" "2"
|
||
|
"act_idleEmpty" "1"
|
||
|
"act_idle" "0"
|
||
|
"punchSpring" "-1.5 0 0"
|
||
|
"semiAuto" "1"
|
||
|
"barrel" "Bone53"
|
||
|
"smoke_muzzle" "muzzle.default"
|
||
|
}
|
||
|
|
||
|
entityDef projectile_pistol
|
||
|
{
|
||
|
"spawnclass" "ncProjectile"
|
||
|
"is_bullet" "1"
|
||
|
"detonate_on_world" "1"
|
||
|
"damage" "15"
|
||
|
"spread" "0.01 0.01"
|
||
|
"push" "300"
|
||
|
}
|
||
|
|
||
|
// Grenade
|
||
|
entityDef weapon_frag
|
||
|
{
|
||
|
"spawnclass" "ncWeapon"
|
||
|
"model_view" "models/weapons/v_frag.vvm"
|
||
|
"model" "models/weapons/w_frag.vvm"
|
||
|
"inv_name" "Grenade"
|
||
|
"inv_weapon" "weapon_frag"
|
||
|
"ammoType" ""
|
||
|
"ammoRequired" "0"
|
||
|
"def_dropItem" "weapon_frag"
|
||
|
"def_onRelease" "projectile_frag"
|
||
|
|
||
|
"act_idle" "0"
|
||
|
"act_draw" "1"
|
||
|
"act_holster" "2"
|
||
|
"act_fire" "4"
|
||
|
"act_release" "6"
|
||
|
}
|
||
|
|
||
|
entityDef projectile_frag
|
||
|
{
|
||
|
"spawnclass" "ncProjectile"
|
||
|
"model" "models/weapons/w_frag.vvm"
|
||
|
"frame" "1"
|
||
|
"fuse" "4"
|
||
|
"detonate_on_fuse" "1"
|
||
|
"bounce" "1"
|
||
|
"angular_velocity" "-350 0 0"
|
||
|
"velocity" "300 0 40"
|
||
|
"model_detonate" "fx_explosion.main"
|
||
|
"snd_explode" "fx.explosion"
|
||
|
"snd_bounce" "weapon_frag.bounce"
|
||
|
"decal_detonate" "ExplosionScorch"
|
||
|
"def_damage" "damage_fragDirect"
|
||
|
"def_splash_damage" "damage_fragSplash"
|
||
|
}
|
||
|
|
||
|
entityDef damage_fragDirect
|
||
|
{
|
||
|
"damage" "1"
|
||
|
}
|
||
|
|
||
|
entityDef damage_fragSplash
|
||
|
{
|
||
|
"damage" "150"
|
||
|
"radius" "250"
|
||
|
"push" "1000"
|
||
|
}
|
||
|
|
||
|
// Shotgun
|
||
|
entityDef weapon_shotgun
|
||
|
{
|
||
|
"editor_color" ".3 .3 1"
|
||
|
"editor_mins" "-16 -16 -16"
|
||
|
"editor_maxs" "16 16 16"
|
||
|
"editor_usage" "Shotgun"
|
||
|
"editor_rotatable" "1"
|
||
|
|
||
|
"spawnclass" "ncWeapon"
|
||
|
"model" "models/weapons/w_shotgun.vvm"
|
||
|
"model_view" "models/weapons/v_shotgun.vvm"
|
||
|
"snd_acquire" "weapon.pickup"
|
||
|
"snd_respawn" "item.respawn"
|
||
|
|
||
|
// weapon specific
|
||
|
"def_fireInfo" "fireInfo_shotgun"
|
||
|
"def_altFireInfo" "fireInfo_altShotgun"
|
||
|
"inv_name" "Shotgun"
|
||
|
"clipSize" "8"
|
||
|
"ammoRequired" "0"
|
||
|
|
||
|
"ammoIcon" "weapon_shotgun.ammo"
|
||
|
"ammo2Icon" "weapon_shotgun.ammo2"
|
||
|
"crosshair" "weapon_shotgun.crosshair"
|
||
|
"icon" "weapon_shotgun.weapon"
|
||
|
"iconSelected" "weapon_shotgun.weapon_s"
|
||
|
|
||
|
"act_fire" "7,8"
|
||
|
"act_fireEmpty" "9"
|
||
|
"act_holster" "3"
|
||
|
"act_reloadStart" "4"
|
||
|
"act_reload" "5"
|
||
|
"act_reloadEnd" "6"
|
||
|
"act_draw" "2"
|
||
|
"act_idle" "0,1
|
||
|
|
||
|
"snd_fire" "Weapon_Shotgun.Single"
|
||
|
"snd_empty" "Weapons.Empty"
|
||
|
|
||
|
"snd_reload" "Weapon_Shotgun.Reload"
|
||
|
"snd_reload_end" "Weapon_Shotgun.Special1"
|
||
|
|
||
|
"weight" "15"
|
||
|
"barrel" "Bone54"
|
||
|
"smoke_muzzle" "muzzle.shotgun"
|
||
|
}
|
||
|
|
||
|
entityDef projectile_shotgun
|
||
|
{
|
||
|
"inherit" "projectile_pistol"
|
||
|
"damage" "8"
|
||
|
"hitscans" "12"
|
||
|
"spread" "0.08716 0.08716"
|
||
|
}
|
||
|
|
||
|
entityDef fireInfo_shotgun
|
||
|
{
|
||
|
"def_onFire" "projectile_shotgun"
|
||
|
"ammoPerShot" "1"
|
||
|
"fireRate" "0.9"
|
||
|
"punchSpring" "-5 0 0"
|
||
|
}
|
||
|
|
||
|
|
||
|
// Rifle
|
||
|
entityDef weapon_rifle
|
||
|
{
|
||
|
"spawnclass" "ncWeapon"
|
||
|
"model_view" "models/weapons/v_rifle.vvm"
|
||
|
"model" "models/weapons/w_rifle.vvm"
|
||
|
"inv_name" "Rifle"
|
||
|
"ammoType" ""
|
||
|
"ammoRequired" "0"
|
||
|
"def_dropItem" "weapon_rifle"
|
||
|
"def_onFire" "projectile_pistol"
|
||
|
|
||
|
"fireRate" ".1"
|
||
|
|
||
|
"snd_fire" "weapon_pistol.fire"
|
||
|
"act_fire" "8"
|
||
|
"act_fireLast" "9"
|
||
|
"act_fireEmpty" "10"
|
||
|
"act_reload" "6"
|
||
|
"act_reloadEmpty" "7"
|
||
|
"act_drawEmpty" "3"
|
||
|
"act_draw" "2"
|
||
|
"act_idleEmpty" "1"
|
||
|
"act_idle" "0"
|
||
|
"act_holster" "4"
|
||
|
"act_holsterEmpty" "5"
|
||
|
"punchSpring" "-1 0 0"
|
||
|
"barrel" "Bone55"
|
||
|
"smoke_muzzle" "muzzle.shotgun"
|
||
|
}
|