Post by billsy on Jan 26, 2012 12:22:10 GMT -5
After Freako released his backpack mod, I made the bag have a purpose by giving the player unlimited ammo for the Handgun, Shotgun, Sniper Rifle, Six Shooter, LMG and Merc Assault Rifle, M16, and for the Tactical M16 and SubGun (which only applies if you have them installed, if not, don't copy the code as it's irrelevent) when the backpack is equiped. The bag serves a similar purpose to the Solider Outfit, in the sense that it increases the ammo limit, however, you only have to wear one piece of clothing as oppose to an entire outfit. If you don't want unlimited ammo, but want some form of increase in the ammo, delete the "UnlimitedDurability = "true"" line for the gun(s) in question and modify the ammo multiplier.
I made something along the lines for GTA IV and thought it'd be useful in Dead Rising. After asking Freako for permission, he agreed to allow me to release this. All credit for the implementation of the backpack itself goes to Freako. Obviously you're going to need to download the backpack and install it, so first and foremost, do that. Here's a link to the thread:
deadrising2mods.proboards.com/index.cgi?board=dr2otcmodelreleases&action=display&thread=1175
Once you've done that, open items.txt and copy the code below:
Then copy the code below into safehouse.txt and the backpack will appear in the shower in the Safehouse:
For those wondering why I copied the code for the enhanced guns, it's so this mod doesn't conflict with the solider outfit.
Enjoy
I made something along the lines for GTA IV and thought it'd be useful in Dead Rising. After asking Freako for permission, he agreed to allow me to release this. All credit for the implementation of the backpack itself goes to Freako. Obviously you're going to need to download the backpack and install it, so first and foremost, do that. Here's a link to the thread:
deadrising2mods.proboards.com/index.cgi?board=dr2otcmodelreleases&action=display&thread=1175
Once you've done that, open items.txt and copy the code below:
cFirearmItem EnhancedSixShooter1
{
AchievementCategory = "2"
ActionButton0 = "PLAYERBUTTON_WEAPON_ATTACK_RESERVED_FOR_SURVIVOR"
ActionDesiredAnimState0 = "ANIMSTATE_SIDLEAIMGUN"
ActionTargetCrawlerOnly6 = "false"
AimIKLeftAngleLimit = "30"
AimIKRightAngleLimit = "30"
AnimationAttackName0 = "male_6shooter_idle_to_1fan_to_idle"
AnimationAttackName1 = "male_6shooter_1fan_loop"
AnimationAttackName2 = "male_6shooter_idle_to_1fan_to_idle"
AnimationAttackName3 = "male_attack_flamethrower_light"
AnimationChooserValueForFirearms = "5"
AnimationChooserValueForHand = "23"
AnimationChooserValueForIdle = "0"
AnimationChooserValueForPickup = "0"
AnimationChooserValueForPutdown = "0"
AnimationChooserValueForWalkRun = "0"
AnimBankName = "6shooter"
AssetFilename = "data/models/weapons/handgun6shooter"
AttachPropToBoneType = "0"
AudioActionBits = "264"
AudioFilename = "fx_sixshooter"
AudioItemName = "SixShooter"
BaseBulletDamage = "150"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.01"
CollisionType = "3"
ComboBlendDuration0 = "0"
ComboBlendDuration1 = "0"
ComboBlendXZToUse0 = "2"
ComboBlendXZToUse1 = "2"
ComboBlendYToUse0 = "2"
ComboBlendYToUse1 = "2"
DisplayName = "50360"
DR2 = "true"
Durability = "60"
EffectOnImpact = "2"
EffectOnVictim = "21"
FatalHitReaction = "73"
FiringRate = "4"
Friction = "25"
HandlingStyle = "3"
HitReaction = "79"
HitReaction0 = "HITREACTION_WEAPON_MEDIUM"
IconFilename = "w_old6shooter"
IgnoreAnyComboRequests2 = "true"
Impulse = "1"
InteractDistance = "1.2"
InventoryInteractionType = "0"
Is_Cliche = "true"
Is_Humour = "false"
IsAutomatic = "true"
IsBurstGun = "true"
IsWeapon = "true"
LoadDistance = "25"
MaxBulletDistance = "40"
MaxBulletsPerClip = "6"
MaxBurstBulletCount = "6"
MergedFilename = "data/dynamicprops/handgun6shooter"
NumPelletsPerShot = "1"
PropEffectLocator0 = "15"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "9"
PyroEffect0 = "60"
PyroEffect1 = "153"
RequiresReload = "false"
ResetComboSeqCounter0 = "false"
ResetComboSeqCounter1 = "false"
ResetComboSeqCounter2 = "true"
Restitution = "0.05"
RestrictedByRegion = "false"
Reticle_AccuracyDecreasePerShot = "0.5"
Reticle_ActiveInRangeMode = "true"
Reticle_BestAccuracy = "0.95"
Reticle_MinMovementRateBeforeAccuracyDecrease = "0"
Reticle_ReturnToNormalAccuracyRate = "0.035"
Reticle_Type = "0"
Reticle_WorstAccuracy = "0.7"
Reward = "true"
ShowInCheatMenu = "true"
SkillRequired = "0"
SupportsRapidFire = "false"
SurvivorHandlingTwoHands = "false"
SurvivorWeapon = "true"
UniqueItem = "true"
UnlimitedDurability = "true"
VibrationPattern = "5"
VomitCoolDown = "4"
WeaponType = "5"
Weight = "6"
cLimbDestroyInfoItem Sixshooter_gore
{
Limb0 = "0"
Limb1 = "1"
Limb2 = "2"
Limb3 = "3"
Limb4 = "4"
ProbabilityOfExploding0 = "1"
ProbabilityOfExploding1 = ".75"
ProbabilityOfExploding2 = ".75"
ProbabilityOfExploding3 = ".25"
ProbabilityOfExploding4 = ".25"
}
cPrestigePointInfoItem SixShooter_prestige
{
PrestigePointsAwarded0 = "10"
PrestigePointsAwarded1 = "10"
RewardCondition0 = "14"
RewardCondition1 = "13"
}
}
cFirearmItem EnhancedShotgun1
{
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 = "20"
BenchRestRotation = "-0.5,-0.5,0.5,0.5"
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"
HidesFranksCamera = "true"
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"
ShowInCheatMenu = "true"
SkillRequired = "0"
SurvivorHandlingTwoHands = "true"
SurvivorWeapon = "true"
UnlimitedDurability = "true"
VertOffsetFromHandToMuzzle = "0.1"
VibrationPattern = "5"
VomitCoolDown = "4"
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"
}
}
cFirearmItem EnhancedM2491
{
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 = "30"
BenchRestRotation = "0,0,0,1"
CanBePlacedOnZombie = "false"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.2"
CollisionType = "3"
DisplayName = "50136"
DR2 = "true"
Durability = "200"
EffectOnImpact = "2"
EffectOnVictim = "20"
FatalHitReaction = "50"
FiringRate = "10"
Friction = "25"
HandlingStyle = "3"
HidesFranksCamera = "true"
HitReaction = "51"
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"
MaxDamageDealtPerAttack = ""
NumPelletsPerShot = "1"
PoseAs = "MercAssaultRifle"
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"
ShowInCheatMenu = "true"
SkillRequired = "0"
SurvivorHandlingTwoHands = "true"
SurvivorWeapon = "true"
UniqueItem = "true"
UnlimitedDurability = "true"
VertOffsetFromHandToMuzzle = "0.145"
VibrationPattern = "10"
VomitCoolDown = "4"
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"
}
}
cFirearmItem EnhancedM161
{
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"
AssetFilename = "data/models/weapons/m16"
AttachPropToBoneType = "0"
AttackAudioAssetName0 = "M16HitBody"
AudioActionBits = "256"
AudioFilename = "fx_m16"
AudioItemName = "M16"
AudioUnloadDeferralTime = "3"
BaseBulletDamage = "35"
BenchRestRotation = "0,0,0,1"
CanBePlacedOnZombie = "false"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.01"
CollisionType = "3"
DisplayName = "50009"
DR2 = "true"
DR2PRO = "true"
Durability = "60"
EffectOnImpact = "2"
EffectOnVictim = "0"
FatalHitReaction = "50"
FiringRate = "12"
Friction = "25"
HandlingStyle = "3"
HidesFranksCamera = "true"
HitReaction = "3"
HitReaction0 = "HITREACTION_WEAPON_MEDIUM"
IconFilename = "w_m16"
Impulse = "1"
InteractDistance = "1.3"
InventoryInteractionType = "0"
IsAutomatic = "true"
IsBurstGun = "false"
IsWeapon = "true"
LoadDistance = "25"
LocatorOrientationOffset = "0.000,0.000,0.000,1.000"
LocatorPositionOffset = "0.000,0.000,0.000"
MaxBulletDistance = "50"
MaxBulletsPerClip = "60"
NumPelletsPerShot = "1"
PoseAs = "MercAssaultRifle"
PropEffectLocator0 = "16"
PropEffectLocator2 = "16"
PropEffectLocatorIndex0 = "0"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "9"
PropEffectsOnCondition2 = "12"
PyroEffect0 = "89"
PyroEffect1 = "153"
PyroEffect2 = "65"
RequiresReload = "false"
Restitution = "0.08"
RestrictedByRegion = "false"
Reticle_AccuracyDecreasePerShot = "0.175"
Reticle_ActiveInRangeMode = "true"
Reticle_ActiveInThirdPerson = "false"
Reticle_BestAccuracy = "0.85"
Reticle_MinMovementRateBeforeAccuracyDecrease = "0"
Reticle_ReturnToNormalAccuracyRate = "0.04"
Reticle_Type = "0"
Reticle_WorstAccuracy = "0.3"
ShowInCheatMenu = "true"
SkillRequired = "0"
SurvivorHandlingTwoHands = "true"
SurvivorWeapon = "true"
UnlimitedDurability = "true"
VertOffsetFromHandToMuzzle = "0.1"
VibrationPattern = "5"
VomitCoolDown = "4"
WeaponType = "15"
Weight = "15"
cLimbDestroyInfoItem AR_Gore1
{
Limb0 = "0"
Limb1 = "1"
Limb2 = "2"
mFlags0 = "0"
mFlags1 = "0"
mFlags2 = "0"
mFlags3 = "1024"
mFlags4 = "1024"
ProbabilityOfExploding0 = ".75"
ProbabilityOfExploding1 = ".05"
ProbabilityOfExploding2 = ".05"
}
}
cFirearmItem EnhancedBarrett50Caliber1
{
AchievementCategory = "2"
AimIKLeftAngleLimit = "50"
AimIKRightAngleLimit = "30"
AlternateWeaponViewCam = "24"
AnimationChooserValueForFirearms = "4"
AnimationChooserValueForHand = "11"
AnimationChooserValueForIdle = "1"
AnimationChooserValueForPickup = "1"
AnimationChooserValueForPutdown = "4"
AnimationChooserValueForThrow = "0"
AnimationChooserValueForWalkRun = "1"
AssetFilename = "barrett50caliber"
AudioActionBits = "256"
AudioFilename = "fx_barrett50caliber"
AudioItemName = "Barrett50Caliber"
BaseBulletDamage = "250"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.2"
CollisionType = "3"
DisplayName = "50355"
DR2 = "true"
DR2PRO = "true"
Durability = "20"
EffectOnImpact = "281"
EffectOnVictim = "10"
EjectRagdollUpInTheAir = "false"
FatalHitReaction = "38"
FiringRate = "0.75"
Friction = "25"
HandlingStyle = "3"
HidesFranksCamera = "true"
HitReaction = "74"
IconFilename = "w_barrett50caliber"
Impulse = "550"
InteractDistance = "1.4"
InventoryInteractionType = "0"
Is_Cascading = "true"
IsAutomatic = "false"
IsWeapon = "true"
LoadDistance = "25"
MaxBulletDistance = "100"
MaxBulletsPerClip = "20"
MergedFilename = "data/dynamicprops/Barrett50Caliber"
NumPelletsPerShot = "1"
PropEffectLocator2 = "16"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "9"
PropEffectsOnCondition2 = "12"
PyroEffect0 = "254"
PyroEffect1 = "43"
PyroEffect2 = "152"
RequiresReload = "false"
RestrictedByRegion = "false"
Reticle_AccuracyDecreasePerShot = "0"
Reticle_ActiveInRangeMode = "true"
Reticle_ActiveInThirdPerson = "false"
Reticle_BestAccuracy = "1"
Reticle_MinMovementRateBeforeAccuracyDecrease = "0"
Reticle_ReturnToNormalAccuracyRate = "1"
Reticle_Type = "4"
Reticle_WorstAccuracy = "1"
Reward = "true"
RotationOffset = "0.045"
ShowInCheatMenu = "true"
SurvivorHandlingTwoHands = "true"
SurvivorWeapon = "true"
UnlimitedDurability = "true"
VibrationPattern = "10"
VomitCoolDown = "4"
WeaponType = "15"
Weight = "20"
ZombiePunchThroughCount = "10"
cLimbDestroyInfoItem SniperRifle_Gore
{
Limb0 = "0"
Limb1 = "2"
Limb2 = "1"
Limb3 = "2"
Limb4 = "3"
ProbabilityOfExploding0 = "1"
ProbabilityOfExploding1 = "1"
ProbabilityOfExploding2 = "1"
ProbabilityOfExploding3 = "1"
ProbabilityOfExploding4 = "1"
}
}
cFirearmItem EnhancedMercAssaultRifle1
{
AchievementCategory = "2"
ActionButton0 = "PLAYERBUTTON_WEAPON_ATTACK_RESERVED_FOR_SURVIVOR"
ActionDesiredAnimState0 = "ANIMSTATE_SIDLEAIMGUN"
AimIKLeftAngleLimit = "50"
AimIKRightAngleLimit = "30"
AnimationChooserValueForFirearms = "0"
AnimationChooserValueForHand = "11"
AnimationChooserValueForIdle = "1"
AnimationChooserValueForPickup = "1"
AnimationChooserValueForPutdown = "4"
AnimationChooserValueForWalkRun = "1"
AssetFilename = "data/models/weapons/merc_ar"
AttachPropToBoneType = "0"
AudioActionBits = "256"
AudioCollisionProfile = "0"
AudioFilename = "fx_mercenaryassaultrifle"
AudioItemName = "MercAssaultRifle"
BaseBulletDamage = "35"
BenchRestRotation = "-0.600,0.600,-0.372,0.372"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.01"
CollisionBits = "WORLDCOLLISIONFILTER_DYNAMIC_PROP"
CollisionType = "3"
DisplayName = "50472"
DR2 = "true"
Durability = "45"
EffectOnImpact = "2"
EffectOnVictim = "0"
FatalHitReaction = "73"
FiringRate = "12"
Friction = "25"
HandlingStyle = "3"
HidesFranksCamera = "true"
HitReaction = "51"
HitReaction0 = "HITREACTION_WEAPON_MEDIUM"
IconFilename = "w_akfortyseven"
Impulse = "1"
InteractDistance = "1.3"
InventoryInteractionType = "0"
IsAutomatic = "true"
IsWeapon = "true"
LoadDistance = "25"
MaxBulletDistance = "40"
MaxBulletsPerClip = "45"
MaxDamageDealtPerAttack = "25"
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.225"
Reticle_ActiveInRangeMode = "true"
Reticle_BestAccuracy = "0.825"
Reticle_MinMovementRateBeforeAccuracyDecrease = "1"
Reticle_ReturnToNormalAccuracyRate = "0.0525"
Reticle_Type = "0"
Reticle_WorstAccuracy = "0.1"
Reward = "true"
ShowInCheatMenu = "true"
SurvivorHandlingTwoHands = "true"
SurvivorWeapon = "true"
VertOffsetFromHandToMuzzle = "0.07"
VibrationPattern = "10"
VomitCoolDown = "4"
UnlimitedDurability = "true
WeaponType = "15"
Weight = "15"
cLimbDestroyInfoItem Merc_gore
{
Limb0 = "0"
Limb1 = "1"
Limb2 = "2"
ProbabilityOfExploding0 = ".85"
ProbabilityOfExploding1 = ".35"
ProbabilityOfExploding2 = ".35"
}
cExternalLocatorItem HoldMAR
{
ID = "0"
ParentBone = "-1"
Position = "0.000,-0.110,-0.140"
Rotation = "-0.710,0.160,0.028,0.691"
Type = "9"
}
}
cFirearmItem EnhancedHandGun1
{
AchievementCategory = "2"
ActionButton0 = "PLAYERBUTTON_WEAPON_ATTACK_RESERVED_FOR_SURVIVOR"
ActionDesiredAnimState0 = "ANIMSTATE_SIDLEAIMGUN"
AimIKLeftAngleLimit = "38"
AimIKRightAngleLimit = "45"
AnimationChooserValueForFirearms = "2"
AnimationChooserValueForHand = "11"
AnimationChooserValueForIdle = "0"
AnimationChooserValueForPickup = "0"
AnimationChooserValueForPutdown = "0"
AnimationChooserValueForWalkRun = "0"
AssetFilename = "data/models/weapons/handgun"
AttachPropToBoneType = "0"
AudioActionBits = "256"
AudioFilename = "fx_handgun"
AudioItemName = "HandGun"
BaseBulletDamage = "30"
BenchRestRotation = "0,0,0,1"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.01"
CollisionType = "3"
DisplayName = "50311"
DR2 = "true"
DR2PRO = "true"
Durability = "30"
EffectOnImpact = "2"
EffectOnVictim = "0"
FatalHitReaction = "5"
FiringRate = "3.5"
Friction = "25"
HandlingStyle = "3"
HitReaction = "51"
HitReaction0 = "HITREACTION_WEAPON_MEDIUM"
IconFilename = "w_handgun"
Impulse = "1"
InteractDistance = "1.2"
InventoryInteractionType = "0"
IsWeapon = "true"
LoadDistance = "20"
MaxBulletDistance = "40"
MaxBulletsPerClip = "6"
NumPelletsPerShot = "1"
PropEffectLocator0 = "16"
PropEffectLocatorIndex0 = "0"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "9"
PropEffectsOnCondition2 = "12"
PyroEffect0 = "60"
PyroEffect1 = "43"
PyroEffect2 = "65"
RequiresReload = "false"
Restitution = "0.2"
Reticle_AccuracyDecreasePerShot = "0.6"
Reticle_ActiveInRangeMode = "true"
Reticle_BestAccuracy = "0.915"
Reticle_MinMovementRateBeforeAccuracyDecrease = "0"
Reticle_ReturnToNormalAccuracyRate = "0.035"
Reticle_Type = "0"
Reticle_WorstAccuracy = "0.6"
ShowInCheatMenu = "true"
SkillRequired = "0"
SurvivorHandlingTwoHands = "false"
SurvivorWeapon = "true"
UnlimitedDurability = "true"
VertOffsetFromHandToMuzzle = "0.155"
VibrationPattern = "5"
VomitCoolDown = "4"
WeaponType = "5"
Weight = "6"
cLimbDestroyInfoItem Handgun_gore
{
Limb0 = "0"
ProbabilityOfExploding0 = ".075"
}
cExternalLocatorItem LeftHandHandGun
{
ID = "0"
ParentBone = "-1"
Position = "0.009,-0.080,0.000"
Rotation = "0,0,0,1"
Type = "27"
}
}
cFirearmItem EnhancedSubGun1
{
AchievementCategory = "2"
ActionButton0 = "PLAYERBUTTON_WEAPON_ATTACK_RESERVED_FOR_SURVIVOR"
ActionDesiredAnimState0 = "ANIMSTATE_SIDLEAIMGUN"
AimIKLeftAngleLimit = "38"
AimIKRightAngleLimit = "45"
AnimationChooserValueForFirearms = "2"
AnimationChooserValueForHand = "11"
AnimationChooserValueForIdle = "0"
AnimationChooserValueForPickup = "0"
AnimationChooserValueForPutdown = "0"
AnimationChooserValueForWalkRun = "0"
AssetFilename = "subgun"
AttachPropToBoneType = "0"
AudioActionBits = "256"
AudioCollisionProfile = "0"
AudioFilename = "fx_mercenaryassaultrifle"
AudioItemName = "MercAssaultRifle"
BaseBulletDamage = "40"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.01"
CollisionBits = "WORLDCOLLISIONFILTER_DYNAMIC_PROP"
CollisionType = "3"
DisplayName = "02233"
DR2 = "true"
Durability = "100"
EffectOnImpact = "2"
EffectOnVictim = "0"
FatalHitReaction = "5"
FiringRate = "12"
Friction = "25"
HandlingStyle = "0"
HitReaction = "51"
HitReaction0 = "HITREACTION_WEAPON_MEDIUM"
IconFilename = "w_handgun"
Impulse = "1"
InteractDistance = "1.2"
InventoryInteractionType = "0"
IsAutomatic = "true"
IsWeapon = "true"
LoadDistance = "25"
MaxBulletDistance = "40"
MaxBulletsPerClip = "100"
NumPelletsPerShot = "1"
PropEffectLocator0 = "16"
PropEffectLocator2 = "16"
PropEffectLocatorIndex0 = "0"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "9"
PropEffectsOnCondition2 = "12"
PyroEffect0 = "60"
PyroEffect1 = "43"
PyroEffect2 = "65"
RequiresReload = "false"
Restitution = "0.08"
RestrictedByRegion = "false"
Restitution = "0.2"
Reticle_AccuracyDecreasePerShot = "0.6"
Reticle_ActiveInRangeMode = "true"
Reticle_BestAccuracy = "0.915"
Reticle_MinMovementRateBeforeAccuracyDecrease = "0"
Reticle_ReturnToNormalAccuracyRate = "0.035"
Reticle_Type = "0"
Reticle_WorstAccuracy = "0.47"
Reward = "true"
SurvivorHandlingTwoHands = "false"
SurvivorWeapon = "true"
UnlimitedDurability = "true"
VertOffsetFromHandToMuzzle = "0.2"
VibrationPattern = "5"
WeaponType = "15"
Weight = "10"
RightWristBend = "0,-0.14,0"
cLimbDestroyInfoItem subgun_gore
{
Limb0 = "0"
ProbabilityOfExploding0 = ".075"
}
cExternalLocatorItem lefthandsubgun
{
ID = "0"
ParentBone = "-1"
Position = "0.009,-0.080,0.000"
Rotation = "0,0,0,1"
Type = "27"
}
}
cFirearmItem EnhancedMercArmyM161
{
AchievementCategory = "2"
ActionButton0 = "PLAYERBUTTON_WEAPON_ATTACK_RESERVED_FOR_SURVIVOR"
ActionDesiredAnimState0 = "ANIMSTATE_SIDLEAIMGUN"
AimIKLeftAngleLimit = "50"
AimIKRightAngleLimit = "30"
AnimationChooserValueForFirearms = "0"
AnimationChooserValueForHand = "11"
AnimationChooserValueForIdle = "1"
AnimationChooserValueForPickup = "1"
AnimationChooserValueForPutdown = "4"
AnimationChooserValueForWalkRun = "1"
AssetFilename = "data/models/weapons/m16light"
AttachPropToBoneType = "0"
AudioActionBits = "256"
AudioCollisionProfile = "0"
AudioFilename = "fx_mercenaryassaultrifle"
AudioItemName = "MercAssaultRifle"
BaseBulletDamage = "35"
CollidableQuality = "0"
CollisionAudioDissipationFactor = "0.01"
CollisionBits = "WORLDCOLLISIONFILTER_DYNAMIC_PROP"
CollisionType = "3"
DisplayName = "50009"
DR2 = "true"
Durability = "60"
EffectOnImpact = "2"
EffectOnVictim = "0"
FatalHitReaction = "51"
FiringRate = "12"
Friction = "25"
HandlingStyle = "3"
HidesFranksCamera = "true"
HitReaction = "52"
HitReaction0 = "HITREACTION_WEAPON_MEDIUM"
IconFilename = "w_m16"
Impulse = "1"
InteractDistance = "1.3"
InventoryInteractionType = "0"
IsAutomatic = "true"
IsWeapon = "true"
LoadDistance = "25"
MaxBulletDistance = "40"
MaxBulletsPerClip = "60"
MergedFilename = "data/dynamicprops/M16light"
NumPelletsPerShot = "1"
PropEffectLocator0 = "16"
PropEffectLocator2 = "18"
PropEffectLocatorIndex0 = "0"
PropEffectLocatorIndex2 = "0"
PropEffectsOnCondition0 = "7"
PropEffectsOnCondition1 = "9"
PropEffectsOnCondition2 = "0"
PyroEffect0 = "89"
PyroEffect1 = "153"
PyroEffect2 = "186"
RequiresReload = "false"
Restitution = "0.08"
RestrictedByRegion = "false"
Reticle_AccuracyDecreasePerShot = "0.175"
Reticle_ActiveInRangeMode = "true"
Reticle_ActiveInThirdPerson = "false"
Reticle_BestAccuracy = "0.85"
Reticle_MinMovementRateBeforeAccuracyDecrease = "0"
Reticle_ReturnToNormalAccuracyRate = "0.04"
Reticle_Type = "0"
Reticle_WorstAccuracy = "0.3"
Reward = "false"
SurvivorHandlingTwoHands = "false"
SurvivorWeapon = "true"
UnlimitedDurability = "true"
VertOffsetFromHandToMuzzle = "0.07"
VibrationPattern = "10"
WeaponType = "15"
Weight = "15"
cLimbDestroyInfoItem AR_Gore
{
Limb0 = "0"
Limb1 = "1"
Limb2 = "2"
mFlags0 = "0"
mFlags1 = "0"
mFlags2 = "0"
mFlags3 = "1024"
mFlags4 = "1024"
ProbabilityOfExploding0 = ".75"
ProbabilityOfExploding1 = ".2"
ProbabilityOfExploding2 = ".2"
}
}
cThemeItem Backpack
{
ClothingPartName = "backpack"
ImmuneToGettingSick = "false"
NoAccuracyLostForGuns = "true"
OutfitName = "OUTFIT_BACKPACK"
OutfitId = "OUTFIT_BACKPACK"
RequiredPartsCount = "1"
cEnhancedThemedItem eSixShooter
{
EnhancedItemName = "EnhancedSixShooter1"
ItemName = "SixShooter"
}
cEnhancedThemedItem eShotgun
{
EnhancedItemName = "EnhancedShotgun1"
ItemName = "Shotgun"
}
cEnhancedThemedItem eM249
{
EnhancedItemName = "EnhancedM2491"
ItemName = "M249"
}
cEnhancedThemedItem eM16
{
EnhancedItemName = "EnhancedM161"
ItemName = "M16"
}
cEnhancedThemedItem eBarrett50Caliber
{
EnhancedItemName = "EnhancedBarrett50Caliber1"
ItemName = "Barrett50Caliber"
}
cEnhancedThemedItem eMercAssaultRifle
{
EnhancedItemName = "EnhancedMercAssaultRifle1"
ItemName = "MercAssaultRifle"
}
cEnhancedThemedItem eHandGun
{
EnhancedItemName = "EnhancedHandGun1"
ItemName = "HandGun"
}
cEnhancedThemedItem eSubGun
{
EnhancedItemName = "EnhancedSubGun1"
ItemName = "SubGun"
}
cEnhancedThemedItem eMercArmyM16
{
EnhancedItemName = "EnhancedMercArmyM161"
ItemName = "MercArmyM16"
}
}
cClothingDispenserItem BackpackDispenser
{
AchievementCategory = "8"
AssetFilename = "data/models/interactables/clothesbox"
ClothingEmote = "1"
CollidableQuality = "0"
CollisionType = "3"
DisplayName = "00004"
DR2 = "true"
InteractDistance = "2"
IsFacewear = "true"
LoadDistance = "25"
MergedFilename = "data/dynamicprops/clothesbox"
OutfitName = "OUTFIT_BACKPACK"
OutfitId = "OUTFIT_BACKPACK"
OutfitIdFrank = "OUTFIT_BACKPACK"
Restitution = "0.05"
Unmoveable = "true"
Weight = "100"
}
cOutfitItem OUTFIT_BACKPACK
{
BodyItem = "NONE"
FacewearItem = "facewear_backpack"
FeetOverItem = "NONE"
FeetUnderItem = "NONE"
HeadwearItem = "NONE"
}
cFacewearItem facewear_backpack
{
FacewearAssetFilename = "facewear_backpack"
HeadAssetFilename = "head_naked"
}
Then copy the code below into safehouse.txt and the backpack will appear in the shower in the Safehouse:
cItemPlacement BackpackDispenser
{
ItemName = "BackpackDispenser"
Location = "8.300,-1.067,25.320"
PropState = "-2"
Rotation = "-0.000,0.002,0.000,1.000"
}
For those wondering why I copied the code for the enhanced guns, it's so this mod doesn't conflict with the solider outfit.
Enjoy