Updates to the weapons
This commit is contained in:
parent
bd884cb6c9
commit
2aa2e39ff9
3 changed files with 55 additions and 43 deletions
|
@ -27,12 +27,12 @@ entityDef weapon_chainsaw
|
||||||
"meleeRateMiss" "0.5"
|
"meleeRateMiss" "0.5"
|
||||||
"meleeRateHit" "0.25"
|
"meleeRateHit" "0.25"
|
||||||
|
|
||||||
"actIdle" "5,6"
|
"act_idle" "5,6"
|
||||||
"actDraw" "3"
|
"act_draw" "3"
|
||||||
"actHolster" "4"
|
"act_holster" "4"
|
||||||
"actMeleeStart" "0"
|
"actMeleeStart" "0"
|
||||||
"actMeleeMiss" "1"
|
"act_fireFailed" "1"
|
||||||
"actMeleeHit" "1"
|
"act_fire" "1"
|
||||||
"actMeleeStop" "2"
|
"actMeleeStop" "2"
|
||||||
|
|
||||||
// HLWeapon specific
|
// HLWeapon specific
|
||||||
|
|
|
@ -12,19 +12,20 @@ entityDef weapon_hammer
|
||||||
"snd_acquire" "weapon.pickup"
|
"snd_acquire" "weapon.pickup"
|
||||||
"snd_respawn" "item.respawn"
|
"snd_respawn" "item.respawn"
|
||||||
"snd_hit" "weapon_hammer.hit"
|
"snd_hit" "weapon_hammer.hit"
|
||||||
"snd_miss" "weapon_hammer.miss"
|
"snd_failed" "weapon_hammer.miss"
|
||||||
|
|
||||||
// weapon specific
|
// weapon specific
|
||||||
"def_melee" "damage_hammer"
|
"def_fireInfo" "fireInfo_hammer"
|
||||||
"def_meleeAlt" "damage_hammerWindup"
|
"def_altFireInfo" "fireInfo_hammerCharged"
|
||||||
"melee_distance" "32"
|
|
||||||
"inv_name" "Hammer"
|
"inv_name" "Hammer"
|
||||||
"ammoType" ""
|
|
||||||
"ammoRequired" "0"
|
"ammoRequired" "0"
|
||||||
|
"silent_fire" "1"
|
||||||
|
|
||||||
"actIdle" "0,5,6"
|
"testDistance" "-32"
|
||||||
"actDraw" "1"
|
|
||||||
"actHolster" "2,7,8"
|
"act_idle" "0,5,6"
|
||||||
|
"act_draw" "1"
|
||||||
|
"act_holster" "2,7,8"
|
||||||
|
|
||||||
// HLWeapon specific
|
// HLWeapon specific
|
||||||
"hudSlot" "0"
|
"hudSlot" "0"
|
||||||
|
@ -34,31 +35,42 @@ entityDef weapon_hammer
|
||||||
"ammoIcon" "none"
|
"ammoIcon" "none"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
entityDef damage_hammerCharged
|
||||||
// TODO double check push/knockback works on victims
|
|
||||||
entityDef damage_hammer
|
|
||||||
{
|
{
|
||||||
"damage" "skill:plr_hammer"
|
"damage" "skill: plr_hammer_alt"
|
||||||
// "kickDir" "-1 0 0"
|
|
||||||
// "knockback" "20"
|
|
||||||
"push" "20000"
|
|
||||||
"gib" "0"
|
|
||||||
|
|
||||||
"meleeRateMiss" "1.0"
|
|
||||||
"meleeRateHit" "1.0"
|
|
||||||
"actMeleeMiss" "3"
|
|
||||||
"actMeleeHit" "3"
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO
|
entityDef projectile_hammer
|
||||||
entityDef damage_hammerWindup
|
|
||||||
{
|
{
|
||||||
"damage" "skill:plr_hammer_alt"
|
"spawnclass" "NSProjectile"
|
||||||
"gib" "1"
|
"damage" "skill:plr_hammer"
|
||||||
|
"is_bullet" "1"
|
||||||
"meleeRateMiss" "0.75"
|
"decal_impact" "Impact.Shot"
|
||||||
"meleeRateHit" "0.75"
|
"detonate_on_world" "1"
|
||||||
"actMeleeMiss" "4"
|
"push" "3500"
|
||||||
"actMeleeHit" "4"
|
}
|
||||||
|
|
||||||
|
entityDef projectile_hammerCharged
|
||||||
|
{
|
||||||
|
"spawnclass" "NSProjectile"
|
||||||
|
"def_damage" "damage_hammerCharged"
|
||||||
|
"is_bullet" "1"
|
||||||
|
"decal_impact" "Impact.Shot"
|
||||||
|
"detonate_on_world" "1"
|
||||||
|
}
|
||||||
|
|
||||||
|
entityDef fireInfo_hammer
|
||||||
|
{
|
||||||
|
"def_onFire" "projectile_hammer"
|
||||||
|
"failRate" "1.0"
|
||||||
|
"fireRate" "1.0"
|
||||||
|
"act_fireFailed" "3"
|
||||||
|
"act_fire" "3"
|
||||||
|
}
|
||||||
|
|
||||||
|
entityDef fireInfo_hammerCharged
|
||||||
|
{
|
||||||
|
"def_onRelease" "projectile_hammerCharged"
|
||||||
|
"act_fireFailed" "4"
|
||||||
|
"act_fire" "4"
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,10 +21,10 @@ entityDef weapon_handcannon
|
||||||
"ammoRequired" "1"
|
"ammoRequired" "1"
|
||||||
"model_flash" "sprites/muzzleflash2.spr"
|
"model_flash" "sprites/muzzleflash2.spr"
|
||||||
|
|
||||||
"actHolster" "5"
|
"act_holster" "5"
|
||||||
"actReload" "3"
|
"act_reload" "3"
|
||||||
"actDraw" "4"
|
"act_draw" "4"
|
||||||
"actIdle" "6,7"
|
"act_idle" "6,7"
|
||||||
|
|
||||||
"snd_fire" "weapon_handcannon.shoot"
|
"snd_fire" "weapon_handcannon.shoot"
|
||||||
"snd_empty" "weapon_shotgun.empty"
|
"snd_empty" "weapon_shotgun.empty"
|
||||||
|
@ -56,7 +56,7 @@ entityDef fireInfo_handcannon
|
||||||
"def_onFire" "projectile_handcannon"
|
"def_onFire" "projectile_handcannon"
|
||||||
"ammoPerShot" "2"
|
"ammoPerShot" "2"
|
||||||
"fireRate" "1.5"
|
"fireRate" "1.5"
|
||||||
"actFire" "0"
|
"act_fire" "0"
|
||||||
}
|
}
|
||||||
|
|
||||||
entityDef fireInfo_altCannon
|
entityDef fireInfo_altCannon
|
||||||
|
@ -64,7 +64,7 @@ entityDef fireInfo_altCannon
|
||||||
"def_onFire" "projectile_handcannon_single"
|
"def_onFire" "projectile_handcannon_single"
|
||||||
"ammoPerShot" "1"
|
"ammoPerShot" "1"
|
||||||
"fireRate" "1.5"
|
"fireRate" "1.5"
|
||||||
"actFire" "1,2"
|
"act_fire" "1,2"
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO respect sh_hchorror = 1
|
// TODO respect sh_hchorror = 1
|
||||||
|
@ -72,6 +72,6 @@ entityDef fireInfo_handcannonHorror
|
||||||
{
|
{
|
||||||
"def_onFire" "projectile_handcannon"
|
"def_onFire" "projectile_handcannon"
|
||||||
"fireRate" "0.5"
|
"fireRate" "0.5"
|
||||||
"actFire" "0"
|
"act_fire" "0"
|
||||||
"ammoRequired" "0"
|
"ammoRequired" "0"
|
||||||
}
|
}
|
Loading…
Reference in a new issue