Post by anno1404 on Feb 19, 2011 6:44:12 GMT -5
In items.txt, the Spear Launcher (cPlayerWeaponItem ZombieThrowerSpear) is listed as having a durability of 35:
The spear itself (cProjectileLauncherItem ZombieThrower) is listed as having a durability of 50:
The spear thrower has 40 spears before being destroyed. The Prima official guide lists 50 shots. One editor on dead rising wiki states, and has a video to prove it, that when used as a melee weapon, the spear launcher can be used over 100 times with no damage.
Where can I find the number of shots in items.txt?
Update
Confusing, because the shotgun (cFirearmItem Shotgun) has 20 shots, and under durability it has 20 shots too:
Same with the LMG (cFirearmItem M249), 200 shots, durability also 200:
The Gem blower has 50 shots, and 50 durability:
cPlayerWeaponItem ZombieThrowerSpear
{
ActionButton0 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton1 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton2 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton3 = "PLAYERBUTTON_CHARGEATTACK_SHORT"
ActionDesiredAnimState0 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState1 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState2 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState3 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState1 = "ANIMSTATE_ATTACKSEQUENCE"
ActionRequiredAnimState2 = "ANIMSTATE_ATTACKSEQUENCE"
ActionTargetCrawlerOnly4 = "false"
AnimationAttackChooserValue0 = "116"
AnimationAttackChooserValue1 = "116"
AnimationAttackChooserValue2 = "116"
AnimationAttackChooserValue3 = "364"
AnimationAttackName0 = "male_attack_spear_a_rand"
AnimationAttackName1 = "male_attack_spear_a_rand"
AnimationAttackName2 = "male_attack_spear_a_rand"
AnimationAttackName3 = "male_spear_full_throw"
AnimationChooserValueForHand = "8"
AnimationChooserValueForIdle = "14"
AnimationChooserValueForPickup = "7"
AnimationChooserValueForPutdown = "1"
AnimationChooserValueForThrow = "13"
AnimationChooserValueForWalkRun = "14"
AnimBankName = "ThrustSpear"
AssetFilename = "zombie_thrower_spear"
AttackAudioAssetName0 = "ThrustSpearHitBodyRangeAttack"
AttackAudioAssetName1 = "ThrustSpearHitBodyRangeAttack"
AttackAudioAssetName2 = "ThrustSpearHitBodyRangeAttack"
AttackAudioAssetName3 = "ThrustSpearHitBodyRangeAttack"
AttackDamage0 = "75"
AttackDamage1 = "75"
AttackDamage2 = "75"
AttackDamage3 = "20"
AudioActionBits = "256"
AudioFilename = "fx_thrustspear"
AudioItemName = "ThrustSpear"
AudioUnloadDeferralTime = "2"
CollidableQuality = "3"
CollisionAudioDissipationFactor = "0.01"
CollisionBits = "WORLDCOLLISIONFILTER_DYNAMIC_PROP"
CollisionType = "3"
ComboBlendDuration0 = "0.1"
ComboBlendDuration1 = "0.1"
ComboBlendDuration2 = "0.1"
ComboBlendDuration3 = "0.05"
ComboBlendXZToUse0 = "2"
ComboBlendXZToUse1 = "2"
ComboBlendXZToUse2 = "2"
ComboBlendXZToUse3 = "2"
ComboBlendYToUse0 = "2"
ComboBlendYToUse1 = "2"
ComboBlendYToUse2 = "2"
ComboBlendYToUse3 = "2"
DisplayName = "50217"
DR2 = "true"
Durability = "35"
EffectAudio0 = "4"
EffectAudio1 = "4"
EffectAudio2 = "4"
EffectAudio3 = "4"
EffectOnImpact0 = "280"
EffectOnImpact1 = "280"
EffectOnImpact2 = "280"
EffectOnImpact3 = "279"
EffectOnVictim0 = "15"
EffectOnVictim1 = "15"
EffectOnVictim2 = "15"
EffectOnVictim3 = "17"
FatalHitReaction0 = "HITREACTION_WEAPON_HEAVY"
FatalHitReaction1 = "HITREACTION_WEAPON_HEAVY"
FatalHitReaction2 = "HITREACTION_FATAL_GROUP1"
FatalHitReaction3 = "HITREACTION_WEAPON_HEAVY"
Friction = "10"
HandlingStyle = "1"
HitReaction0 = "HITREACTION_STAGGER_MEDIUM"
HitReaction1 = "HITREACTION_STAGGER_MEDIUM"
HitReaction2 = "HITREACTION_STAGGER_MEDIUM"
HitReaction3 = "HITREACTION_WEAPON_HEAVY"
IgnoreAnyComboRequests3 = "false"
Impulse0 = "1"
Impulse1 = "1"
Impulse2 = "1"
Impulse3 = "1"
InteractDistance = "0"
InventoryInteractionType = "0"
Is_Cliche = "true"
Is_Sharp = "true"
Is_Thrown = "true"
IsNotInteractable = "true"
IsWeapon = "true"
MaxProjectileDamage = "150"
MergedFilename = "data/dynamicprops/ZombieThrowerSpear"
PlayerInteractVisionAngle = "0"
ProjectileFatalHitReaction = "38"
ProjectileHitImpulse = "300"
ProjectileHitReaction = "38"
PropEffectLocator0 = "16"
PropEffectLocatorIndex0 = "1"
PropEffectsOnCondition0 = "3"
PyroEffect0 = "20"
RequiredComboSeqCounter0 = "0"
RequiredComboSeqCounter1 = "1"
RequiredComboSeqCounter2 = "2"
RequiredComboSeqCounter3 = "0"
ResetComboSeqCounter1 = "false"
ResetComboSeqCounter2 = "true"
ResetComboSeqCounter3 = "true"
Restitution = "0.0"
RestrictedByRegion = "false"
Reticle_ActiveInRangeMode = "true"
Reticle_Type = "1"
Support = "true"
SurvivorWeapon = "true"
ThrowAngleDegrees = "-2"
ThrowEffectAudio = "4"
ThrowEffectOnImpact = "281"
ThrowEffectOnVictim = "9"
ThrowForce = "50"
ThrowRange = "300"
ThrowSpin = "0.2,0.1.,-.6"
VibrationPattern0 = "3"
VibrationPattern1 = "3"
VibrationPattern2 = "3"
VibrationPattern3 = "3"
WeaponCanSliceLimbs = "false"
WeaponType = "1"
Weight = "6"
cAttachedToZombieInfoItem spearattachinfo
{
DamagePerSecondWhenAttachedToZombie = "120"
PositionToStickTo = "2"
StickableArea = "0"
StickableAsProjectile = "true"
StickArbitrarily = "true"
}
cPropLifetimeInfoItem zspear_die
{
DR2 = "true"
IsWeapon = "true"
LifetimeModifier = "0"
Support = "true"
}
cLimbDestroyInfoItem Gore_spearthrower
{
Limb0 = "0"
Limb1 = "1"
Limb2 = "2"
Limb3 = "3"
Limb4 = "4"
mFlags0 = "1024"
mFlags1 = "1024"
mFlags2 = "1024"
mFlags3 = "1024"
mFlags4 = "1024"
ProbabilityOfExploding0 = "1"
ProbabilityOfExploding1 = "1"
ProbabilityOfExploding2 = "1"
ProbabilityOfExploding3 = "1"
ProbabilityOfExploding4 = "1"
}
}
The spear itself (cProjectileLauncherItem ZombieThrower) is listed as having a durability of 50:
cProjectileLauncherItem ZombieThrower
{
AchievementCategory = "3"
ActionButton0 = "PLAYERBUTTON_QUICKRELEASE"
ActionButton1 = "PLAYERBUTTON_CHARGEUP"
ActionDesiredAnimState0 = "ANIMSTATE_ATTACKSEQUENCE"
ActionDesiredAnimState1 = "ANIMSTATE_THROWQUICK"
AnimationAttackChooserValue0 = "333"
AnimationAttackName0 = "male_zombiethrower_miss"
AnimationChooserValueForHand = "4"
AnimationChooserValueForIdle = "9"
AnimationChooserValueForPickup = "11"
AnimationChooserValueForPutdown = "11"
AnimationChooserValueForThrow = "41"
AnimationChooserValueForWalkRun = "11"
AnimBankName = "FirecrackerBazooka"
AssetFilename = "zombie_thrower"
AttackAudioAssetName0 = "ZombieThrowerHitBodyBig"
AttackDamage0 = "125"
AudioActionBits = "256"
AudioCollisionProfile = "2"
AudioFilename = "fx_zombiethrower"
AudioItemName = "ZombieThrower"
CollidableQuality = "0"
CollisionType = "3"
ComboBlendDuration0 = "0.15"
ComboBlendXZToUse0 = "2"
ComboBlendYToUse0 = "2"
DisplayName = "50837"
DR2 = "true"
Durability = "50"
EffectAudio0 = "5"
EffectAudio1 = "4"
EffectOnImpact0 = "281"
EffectOnVictim0 = "9"
EffectOnWeapon0 = "250"
FatalHitReaction0 = "HITREACTION_FATAL_GROUP1"
Friction = "0.075"
GoesTransparentInRangeMode = "false"
HandlingStyle = "6"
HitReaction0 = "HITREACTION_STAGGER_MEDIUM_LIGHT"
IconFilename = "w_zombie_thrower"
ImpactIsSynchronized0 = "true"
Impulse0 = "1.1"
InteractDistance = "1.4"
InventoryInteractionType = "1"
Is_Blunt = "true"
Is_Cascading = "true"
Is_Cliche = "true"
IsWeapon = "true"
LoadDistance = "50"
MaxProjectileDamage = "45"
NumberOfThrowables = "40"
ObjectPaddingRadius = "0.1"
ProjectileFatalHitReaction = "74"
ProjectileHitImpulse = "1"
ProjectileHitReaction = "79"
PropAudioType = "2"
PropEffectDuration1 = "1.75"
PropEffectLocator0 = "16"
PropEffectLocator1 = "16"
PropEffectLocator2 = "16"
PropEffectLocator3 = "16"
PropEffectLocatorIndex0 = "2"
PropEffectLocatorIndex1 = "1"
PropEffectLocatorIndex2 = "1"
PropEffectLocatorIndex3 = "0"
PropEffectsOnCondition0 = "15"
PropEffectsOnCondition1 = "32"
PropEffectsOnCondition2 = "32"
PropEffectsOnCondition3 = "32"
PropToThrow = "ZombieThrowerSpear"
PyroEffect0 = "32"
PyroEffect1 = "244"
PyroEffect2 = "3"
PyroEffect3 = "9"
RequiredComboSeqCounter0 = "0"
ResetComboSeqCounter0 = "true"
ResetComboSeqCounter1 = "false"
Restitution = "0.1"
RestrictedByRegion = "false"
Reticle_ActiveInRangeMode = "true"
Reticle_Type = "1"
ThrowAngleDegrees = "6"
ThrowEffectOnImpact = "279"
ThrowEffectOnVictim = "14"
ThrowForce = "100"
ThrowRange = "100"
ThrowSpin = "2,7,1"
WeaponImpactAnimation0 = "46"
WeaponType = "-1"
Weight = "25"
cComboCardItem ZombieThrower_card
{
AchievementCategory = "12"
Attack1 = "2700"
Attack2 = "2701"
AttackIndexToDisableIfNoColouredComboCard = "0"
Card_Label = "2819"
CardIndexNumber = "32"
ComboStationRotation_1 = "0,0,0.70710677,0.70710677"
ComboStationRotation_2 = "0,0,0.70710677,0.70710677"
DR2 = "true"
IconAsset = "comboc_zombiethrower"
PP_Multiplier = "2"
Ticker_Description = "2519"
Weapon_1 = "LeafBlower"
Weapon_2 = "Spear"
Weapon_Description = "2622"
}
cAttackCameraInfoItem cam_info
{
AttackCutCamera0 = "15"
AttackCutCamera1 = "16"
AttackCutCamera2 = "22"
}
cPrestigePointInfoItem Zombiethrower_PP
{
PrestigePointsAwarded0 = "150"
PrestigePointsAwarded1 = "500"
RewardCondition0 = "4"
RewardCondition1 = "18"
}
cWeaponAimWarperInfoItem Zombiethrower_warperinfo
{
HasPivots = "true"
MaxRotationLeft = "1"
MaxRotationRight = "1"
RotationSpeed = "2"
TargetHeight = "1.5"
}
}
The spear thrower has 40 spears before being destroyed. The Prima official guide lists 50 shots. One editor on dead rising wiki states, and has a video to prove it, that when used as a melee weapon, the spear launcher can be used over 100 times with no damage.
Where can I find the number of shots in items.txt?
Update
Confusing, because the shotgun (cFirearmItem Shotgun) has 20 shots, and under durability it has 20 shots too:
cFirearmItem Shotgun
{
AchievementCategory = "2"
ActionButton0 = "PLAYERBUTTON_WEAPON_ATTACK_RESERVED_FOR_SURVIVOR"
ActionDesiredAnimState0 = "ANIMSTATE_SIDLEAIMGUN"
ActionTargetCrawlerOnly6 = "false"
AimIKLeftAngleLimit = "50"
AimIKRightAngleLimit = "30"
AnimationChooserValueForEnhancedAnims = "1"
AnimationChooserValueForFirearms = "3"
AnimationChooserValueForHand = "11"
AnimationChooserValueForIdle = "1"
AnimationChooserValueForJump = "1"
AnimationChooserValueForPickup = "1"
AnimationChooserValueForPutdown = "4"
AnimationChooserValueForWalkRun = "1"
AssetFilename = "data/models/weapons/shotgun_pistolgrip"
AttachPropToBoneType = "0"
AudioActionBits = "256"
AudioFilename = "fx_shotgun"
AudioItemName = "Shotgun"
AudioUnloadDeferralTime = "3"
BaseBulletDamage = "35"
CanBePlacedOnZombie = "false"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.02"
CollisionType = "3"
DisplayName = "50210"
DR2 = "true"
DR2PRO = "true"
Durability = "20"
EffectOnImpact = "2"
EjectRagdollUpInTheAir = "true"
FatalHitReaction = "38"
FiringRate = "1.25"
Friction = "25"
HandlingStyle = "3"
HitReaction = "13"
HitReaction0 = "HITREACTION_WEAPON_MEDIUM"
IconFilename = "w_shotgun_handgrip"
Impulse = "450"
InteractDistance = "1.3"
InventoryInteractionType = "0"
Is_Cascading = "true"
Is_Humour = "false"
IsWeapon = "true"
LoadDistance = "25"
LocatorOrientationOffset = "0.000,0.000,0.000,1.000"
LocatorPositionOffset = "0.000,0.000,0.000"
MaxBulletDistance = "20"
MaxBulletsPerClip = "4"
MaxPelletSpread = "0.25"
NumPelletsPerShot = "12"
PropEffectLocator0 = "16"
PropEffectLocatorIndex0 = "0"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "9"
PropEffectsOnCondition2 = "12"
PyroEffect0 = "23"
PyroEffect1 = "43"
PyroEffect2 = "49"
RequiresReload = "false"
Restitution = "0.08"
RestrictedByRegion = "false"
Reticle_AccuracyDecreasePerShot = "0"
Reticle_ActiveInRangeMode = "true"
Reticle_ActiveInThirdPerson = "false"
Reticle_BestAccuracy = "1"
Reticle_MinMovementRateBeforeAccuracyDecrease = "0"
Reticle_ReturnToNormalAccuracyRate = "1"
Reticle_Type = "3"
Reticle_WorstAccuracy = "1"
SkillRequired = "0"
SurvivorHandlingTwoHands = "true"
SurvivorWeapon = "true"
VertOffsetFromHandToMuzzle = "0.1"
VibrationPattern = "5"
WeaponType = "15"
Weight = "15"
cLimbDestroyInfoItem shotgun_limbdestroyinfo
{
Limb0 = "0"
Limb1 = "1"
Limb2 = "2"
Limb3 = "4"
Limb4 = "3"
ProbabilityOfExploding0 = "0.3"
ProbabilityOfExploding1 = "0.3"
ProbabilityOfExploding2 = "0.3"
ProbabilityOfExploding3 = "0.3"
ProbabilityOfExploding4 = "0.3"
}
}
Same with the LMG (cFirearmItem M249), 200 shots, durability also 200:
cFirearmItem M249{
AchievementCategory = "2"
ActionButton0 = "PLAYERBUTTON_WEAPON_ATTACK_RESERVED_FOR_SURVIVOR"
ActionDesiredAnimState0 = "ANIMSTATE_SIDLEAIMGUN"
ActionTargetCrawlerOnly6 = "false"
AimIKLeftAngleLimit = "50"
AimIKRightAngleLimit = "30"
AnimationChooserValueForEnhancedAnims = "1"
AnimationChooserValueForFirearms = "0"
AnimationChooserValueForHand = "11"
AnimationChooserValueForIdle = "1"
AnimationChooserValueForJump = "1"
AnimationChooserValueForPickup = "1"
AnimationChooserValueForPutdown = "4"
AnimationChooserValueForWalkRun = "1"
AttachPropToBoneType = "0"
AudioActionBits = "256"
AudioFilename = "fx_m249"
AudioItemName = "M249"
AudioUnloadDeferralTime = "3"
BaseBulletDamage = "35"
CanBePlacedOnZombie = "false"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.2"
CollisionType = "3"
DisplayName = "50136"
DR2 = "true"
Durability = "200"
EffectOnImpact = "2"
EffectOnVictim = "20"
FatalHitReaction = "74"
FiringRate = "13"
Friction = "25"
HandlingStyle = "3"
HitReaction = "52"
HitReaction0 = "HITREACTION_WEAPON_MEDIUM"
IconFilename = "w_m249"
Impulse = "1"
InteractDistance = "1.3"
InventoryInteractionType = "0"
IsAutomatic = "true"
IsWeapon = "true"
LoadDistance = "25"
LocatorOrientationOffset = "0.000,0.000,0.000,1.000"
LocatorPositionOffset = "0.000,0.000,0.000"
MaxBulletDistance = "40"
MaxBulletsPerClip = "60"
NumPelletsPerShot = "1"
PropEffectLocator0 = "16"
PropEffectLocator2 = "16"
PropEffectLocatorIndex0 = "0"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "9"
PropEffectsOnCondition2 = "12"
PyroEffect0 = "89"
PyroEffect1 = "43"
PyroEffect2 = "65"
RequiresReload = "false"
Restitution = "0.08"
RestrictedByRegion = "false"
Reticle_AccuracyDecreasePerShot = "0.18"
Reticle_ActiveInRangeMode = "true"
Reticle_ActiveInThirdPerson = "false"
Reticle_BestAccuracy = "0.7"
Reticle_EnableAutoTargeting = "false"
Reticle_MinMovementRateBeforeAccuracyDecrease = "1"
Reticle_ReturnToNormalAccuracyRate = "0.05"
Reticle_Type = "0"
Reticle_WorstAccuracy = "0"
RotationOffset = "0.045"
SkillRequired = "0"
SurvivorHandlingTwoHands = "true"
SurvivorWeapon = "true"
UniqueItem = "true"
VertOffsetFromHandToMuzzle = "0.145"
VibrationPattern = "10"
WaveAmplitude = "0.05"
WaveSpeed = "2.5"
WeaponType = "15"
Weight = "20"
cLimbDestroyInfoItem LMG_M249_Limb_Removal
{
Limb0 = "0"
Limb1 = "1"
Limb2 = "2"
Limb3 = "3"
Limb4 = "4"
ProbabilityOfExploding0 = ".75"
ProbabilityOfExploding1 = ".5"
ProbabilityOfExploding2 = ".5"
ProbabilityOfExploding3 = ".2"
ProbabilityOfExploding4 = ".2"
}
}
The Gem blower has 50 shots, and 50 durability:
cClusterLauncherItem GemBlower
{
AchievementCategory = "3"
ActionButton0 = "PLAYERBUTTON_SPRAY"
ActionDesiredAnimState0 = "ANIMSTATE_THROWQUICK"
AnimationChooserValueForHand = "3"
AnimationChooserValueForIdle = "9"
AnimationChooserValueForPickup = "11"
AnimationChooserValueForPutdown = "11"
AnimationChooserValueForThrow = "41"
AnimationChooserValueForWalkRun = "11"
AnimBankName = "FirecrackerBazooka"
AssetFilename = "data/models/weapons/gemblower"
AttackDamage0 = "25"
AudioActionBits = "258"
AudioCollisionProfile = "2"
AudioFilename = "fx_gemblower"
AudioItemName = "GemBlower"
AudioLoadDistanceType = "1"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.01"
CollisionType = "3"
DisplayName = "50747"
DR2 = "true"
Durability = "50"
FatalHitReaction0 = "HITREACTION_FATAL_GROUP1"
Friction = "0.1"
HandlingStyle = "6"
HitReaction0 = "HITREACTION_STAGGER_MEDIUM"
HitsPerSecondReactionEarlyOutThreshold = "2"
HitsPerSecondThreshold = "1"
IconFilename = "w_gem_blower"
Impulse0 = "1"
InteractDistance = "1.4"
InventoryInteractionType = "1"
Is_Blunt = "true"
IsWeapon = "true"
LoadDistance = "50"
MaxProjectileDamage = "70"
NumberOfThrowables = "50"
ProjectileFatalHitReaction = "51"
ProjectileHitImpulse = "1.5"
ProjectileHitReaction = "3"
PropAudioType = "2"
PropEffectLocator0 = "16"
PropEffectLocator2 = "16"
PropEffectLocatorIndex2 = "0"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "18"
PropEffectsOnCondition2 = "2"
PropToThrow = "Gemblower_Pieces"
PyroEffect0 = "32"
PyroEffect1 = "164"
PyroEffect2 = "80"
Restitution = "0.1"
RestrictedByRegion = "false"
Reticle_ActiveInRangeMode = "true"
Reticle_Type = "1"
ThrowAngleDegrees = "0"
ThrowForce = "0"
ThrowRange = "20"
ThrowSpin = "0,0,0"
UseLobProjectilePhysics = "true"
VibrationPattern0 = "4"
WeaponType = "1"
Weight = "25"
cWeaponAimWarperInfoItem gb_warperinfo
{
HasPivots = "true"
MaxRotationLeft = "1"
MaxRotationRight = "1"
RotationSpeed = "2"
TargetHeight = "1.5"
}
cComboCardItem GemBlower_card
{
AchievementCategory = "12"
Attack1 = "2700"
Card_Label = "2815"
CardIndexNumber = "5"
ComboStationRotation_1 = "0,0,0,1"
ComboStationRotation_2 = "0,0,0.70710677,0.70710677"
DR2 = "true"
IconAsset = "comboc_gemblower"
Ticker_Description = "2515"
Weapon_1 = "Gems"
Weapon_2 = "LeafBlower"
Weapon_Description = "2620"
}
cPrestigePointInfoItem GemBlower_PP
{
PrestigePointsAwarded0 = "75"
PrestigePointsAwarded1 = "75"
RewardCondition0 = "4"
RewardCondition1 = "14"
}
}