User:Benjamin/Sandbox: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 44: Line 44:
|
|
{| class="wikitable" style="width:100%"
{| class="wikitable" style="width:100%"
! <sup>1</sup> Hitscan
! style="width:20%;" | <sup>1</sup> Hitscan
|-
| {{compact begin code}}Damage[Index] = class<InstantFire>(Fire[Index]).default.DamageMax;{{compact end code}}
| {{compact begin code}}Damage[Index] = class<InstantFire>(Fire[Index]).default.DamageMax;{{compact end code}}
|-
|-
! <sup>2</sup> Projectile
! <sup>2</sup> Projectile
|-
| {{compact begin code}}Damage[Index] = class<BaseProjectileFire>(Fire[Index]).default.ProjectileClass.default.Damage;{{compact end code}}
| {{compact begin code}}Damage[Index] = class<BaseProjectileFire>(Fire[Index]).default.ProjectileClass.default.Damage;{{compact end code}}
|-
|-
! <sup>3</sup> Healing (M7A3MMedicGun, MP7MMedicGun, KrissMMedicGun, MP5MMedicGun)
! <sup>3</sup> Healing (M7A3MMedicGun, MP7MMedicGun, KrissMMedicGun, MP5MMedicGun)
|-
| {{compact begin code}}Damage[1] = class<KFMedicGun>(Weapon).default.HealBoostAmount{{compact end code}}
| {{compact begin code}}Damage[1] = class<KFMedicGun>(Weapon).default.HealBoostAmount{{compact end code}}
|-
|-
! <sup>4</sup> Melee
! <sup>4</sup> Melee
|-
| {{compact begin code}}Damage[Index] = class<KFMeleeFire>(Fire[Index]).default.MeleeDamage;{{compact end code}}
| {{compact begin code}}Damage[Index] = class<KFMeleeFire>(Fire[Index]).default.MeleeDamage;{{compact end code}}
|}
|}

Latest revision as of 14:09, 18 December 2012

NOTES

Weapons(HealBoostAmount) - How much each dart heals
Weapons(HealAmmoCharge) - Current charge (regenerative ammo)
Weapons(AmmoRegenRate) - How often the charge regenerates (seconds, recharges by 20*perkregenrate points)

<1> Represent healing with a + before the damage value.
<2> Head multiplier is ignored for healing, which is always the alt-fire of all medic guns
<3> Only used for medic guns, and always only alt-fire
Damage is only mentioned twice if the alt-fire uses a different projectile
? All 1-shot weapons fire and reload in the same animation, so only use ReloadTime.
Attribute Accessing
Name
Name = Pickup.default.ItemName;
Perk
Perk = KFGameType(Level.Game).default.LoadedSkills[Pickup.default.CorrespondingPerkIndex].default.VeterancyName;
Cost
Cost = Pickup.default.Cost;
Weight
Weight = Pickup.default.Weight;
CanSellBuy
CanSellBuy = !Weapon.default.bKFNeverThrow;
AmmoCost
Pickup.default.AmmoCost;
AmmoCapacity
if (Fire[Index] != none && !IsMeleeFire(Fire[Index]) && Fire[Index].default.AmmoClass != none) Capacity[Index] = Fire[Index].default.AmmoClass.default.MaxAmmo;
MagazineCapacity
Weapon.default.MagCapacity;
Damage
1 Hitscan
Damage[Index] = class<InstantFire>(Fire[Index]).default.DamageMax;
2 Projectile
Damage[Index] = class<BaseProjectileFire>(Fire[Index]).default.ProjectileClass.default.Damage;
3 Healing (M7A3MMedicGun, MP7MMedicGun, KrissMMedicGun, MP5MMedicGun)
Damage[1] = class<KFMedicGun>(Weapon).default.HealBoostAmount
4 Melee
Damage[Index] = class<KFMeleeFire>(Fire[Index]).default.MeleeDamage;
SplashRadius NA
ImpactDamage NA
HeadMultiplier NA
FireRate NA
ReloadTime NA
Spread NA
Pellets NA
MaxPens NA
PenReduction NA
Range NA
RangeAngle NA
RegenRate NA

ItemForSale(0)=Class'KFMod.MP7MPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HealingDamage, HeadMultiplier(1, 2)
FireRate(1, 2), ReloadTime, Spread(1, 2)
RegenRate


ItemForSale(1)=Class'KFMod.MP5MPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HealingDamage, HeadMultiplier(1, 2)
FireRate(1, 2), ReloadTime, Spread(1, 2)
RegenRate


ItemForSale(2)=Class'KFMod.M7A3MPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HealingDamage, HeadMultiplier(1, 2)
FireRate(1, 2), ReloadTime, Spread(1, 2)
RegenRate


ItemForSale(3)=Class'KFMod.KrissMPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HealingDamage, HeadMultiplier(1, 2)
FireRate(1, 2), ReloadTime, Spread(1, 2)
RegenRate


ItemForSale(4)=Class'KFMod.ShotgunPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread, Pellets
MaxPens, PenReduction


ItemForSale(5)=Class'KFMod.BoomStickPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
ReloadTime, Spread, Pellets(1, 2)
MaxPens, PenReduction


ItemForSale(6)=Class'KFMod.KSGPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread, Pellets
MaxPens, PenReduction


ItemForSale(7)=Class'KFMod.NailGunPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread, Pellets
MaxPens, PenReduction


ItemForSale(8)=Class'KFMod.BenelliPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread, Pellets
MaxPens, PenReduction


ItemForSale(9)=Class'KFMod.GoldenBenelliPickup'

SAME AS BenelliPickup


ItemForSale(10)=Class'KFMod.AA12Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread, Pellets
MaxPens, PenReduction


ItemForSale(11)=Class'KFMod.SinglePickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(12)=Class'KFMod.DualiesPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(13)=Class'KFMod.WinchesterPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(14)=Class'KFMod.Magnum44Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(15)=Class'KFMod.DeaglePickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(16)=Class'KFMod.MK23Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(17)=Class'KFMod.CrossbowPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity
Damage, HeadMultiplier
ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(18)=Class'KFMod.Dual44MagnumPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(19)=Class'KFMod.DualMK23Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(20)=Class'KFMod.DualDeaglePickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(21)=Class'KFMod.M14EBRPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(22)=Class'KFMod.M99Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity
Damage, HeadMultiplier
ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(23)=Class'KFMod.BullpupPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(24)=Class'KFMod.ThompsonPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(25)=Class'KFMod.AK47Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(26)=Class'KFMod.GoldenAK47pickup'

SAME AS AK47Pickup


ItemForSale(27)=Class'KFMod.M4Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(28)=Class'KFMod.MKb42Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(29)=Class'KFMod.SCARMK17Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(30)=Class'KFMod.FNFAL_ACOG_Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(31)=Class'KFMod.KnifePickup'

Perk, Cost, Weight, CanSellBuy
Damage(1, 2), HeadMultiplier
FireRate(1, 2)
Range(1, 2), RangeAngle(1, 2)


ItemForSale(32)=Class'KFMod.MachetePickup'

Perk, Cost, Weight, CanSellBuy
Damage(1, 2), HeadMultiplier
FireRate(1, 2)
Range(1, 2), RangeAngle(1, 2)


ItemForSale(34)=Class'KFMod.AxePickup'

Perk, Cost, Weight, CanSellBuy
Damage(1, 2), HeadMultiplier
FireRate(1, 2)
Range(1, 2), RangeAngle(1, 2)


ItemForSale(35)=Class'KFMod.KatanaPickup'

Perk, Cost, Weight, CanSellBuy
Damage(1, 2), HeadMultiplier
FireRate(1, 2)
Range(1, 2), RangeAngle(1, 2)


ItemForSale(36)=Class'KFMod.GoldenKatanaPickup'

SAME AS KatanaPickup


ItemForSale(37)=Class'KFMod.ScythePickup'

Perk, Cost, Weight, CanSellBuy
Damage(1, 2), HeadMultiplier
FireRate(1, 2)
Range(1, 2), RangeAngle(1, 2)


ItemForSale(38)=Class'KFMod.ChainsawPickup'

Perk, Cost, Weight, CanSellBuy
Damage(1, 2), HeadMultiplier
FireRate(1, 2)
Range(1, 2), RangeAngle(2)


ItemForSale(39)=Class'KFMod.DwarfAxePickup'

Perk, Cost, Weight, CanSellBuy
Damage(1, 2), HeadMultiplier
FireRate(1, 2)
Range(1, 2), RangeAngle(1, 2)


ItemForSale(40)=Class'KFMod.ClaymoreSwordPickup'

Perk, Cost, Weight, CanSellBuy
Damage(1, 2), HeadMultiplier
FireRate(1, 2)
Range(1, 2), RangeAngle(1, 2)


ItemForSale(41)=Class'KFMod.CrossbuzzsawPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity
Damage, HeadMultiplier
ReloadTime, Spread
MaxPens, PenReduction


ItemForSale(42)=Class'KFMod.MAC10Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(43)=Class'KFMod.FlareRevolverPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
ImpactDamage, Damage, SplashRadius, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(44)=Class'KFMod.FlameThrowerPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
ImpactDamage, Damage, SplashRadius, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(45)=Class'KFMod.DualFlareRevolverPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
ImpactDamage, Damage, SplashRadius, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(46)=Class'KFMod.TrenchgunPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, HeadMultiplier
FireRate, ReloadTime, Spread, Pellets
MaxPens, PenReduction


ItemForSale(47)=Class'KFMod.HuskGunPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity
ImpactDamage, Damage, SplashRadius, HeadMultiplier
FireRate, Spread


ItemForSale(48)=Class'KFMod.M79Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity
ImpactDamage, Damage, SplashRadius, HeadMultiplier
ReloadTime, Spread


ItemForSale(49)=Class'KFMod.GoldenM79Pickup'

SAME AS GoldenM79Pickup


ItemForSale(50)=Class'KFMod.PipeBombPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity
Damage, SplashRadius
RateOfFire


ItemForSale(51)=Class'KFMod.M32Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
ImpactDamage, Damage, SplashRadius, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(52)=Class'KFMod.LAWPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
ImpactDamage, Damage, SplashRadius, HeadMultiplier
FireRate, ReloadTime, Spread


ItemForSale(53)=Class'KFMod.M4203Pickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity(1,2), MagazineCapacity
ImpactDamage(2), Damage(1,2), SplashRadius(2), HeadMultiplier(1,2)
FireRate(1,2), ReloadTime, Spread(1,2)


ItemForSale(54)=Class'KFMod.ZEDGunPickup'

Perk, Cost, Weight, CanSellBuy
AmmoCost, AmmoCapacity, MagazineCapacity
Damage, SplashRadius, HeadMultiplier
FireRate(1,2), ReloadTime, Spread(1,2)


(Doesn't use impact damage since it overrides ProcessTouch)
(Both firemodes share ammo pool)