Revert weapon conversion
This patch reverts first step of global weapon conversion that would have halted the release of the next version for too long.
This commit is contained in:
parent
3c46801714
commit
12d95e387e
757 changed files with 10788 additions and 4046 deletions
15
sources/Weapons/Playable/Pistols/Contender/NiceContender.uc
Normal file
15
sources/Weapons/Playable/Pistols/Contender/NiceContender.uc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
class NiceContender extends NiceScopedWeapon;
|
||||
simulated function PostBeginPlay(){
|
||||
local AutoReloadAnimDesc reloadDesc;
|
||||
autoReloadsDescriptions.Length = 0;
|
||||
reloadDesc.canInterruptFrame = 3 / 37;
|
||||
reloadDesc.trashStartFrame = 21 / 37;
|
||||
reloadDesc.resumeFrame = 13 / 37;
|
||||
reloadDesc.speedFrame = 3 / 37;
|
||||
reloadDesc.animName = 'Fire';
|
||||
autoReloadsDescriptions[0] = reloadDesc;
|
||||
super.PostBeginPlay();
|
||||
}
|
||||
defaultproperties
|
||||
{
lenseMaterialID=1
scopePortalFOVHigh=8.000000
scopePortalFOV=8.000000
tileSize=512
ZoomMatRef="NicePackT.Contender.gdcw_acog_FB"
ScriptedTextureFallbackRef="NicePackT.Contender.alpha_lens_64x64"
CrosshairTexRef="NicePackT.Contender.gdcw_acog"
bChangeClipIcon=True
hudClipTexture=Texture'KillingFloorHUD.HUD.Hud_Single_Bullet'
reloadType=RTYPE_AUTO
bHasScope=True
ZoomedDisplayFOVHigh=25.000000
MagCapacity=1
ReloadRate=1.376000
ReloadAnim="Reload"
ReloadAnimRate=1.000000
WeaponReloadAnim="Reload_HuntingShotgun"
Weight=3.000000
bHasAimingMode=True
IdleAimAnim="Iron_Idle"
StandardDisplayFOV=55.000000
SleeveNum=3
TraderInfoTexture=Texture'NicePackT.Contender.g2contender_trader'
bIsTier2Weapon=True
MeshRef="NicePackA.Contender.G2ContenderMesh"
SkinRefs(0)="NicePackT.Contender.Contender_diffuse_cmb"
SkinRefs(1)="NicePackT.Contender.alpha_lens_64x64"
SkinRefs(2)="NicePackT.Contender.uv1024_cmb"
SkinRefs(3)="KF_Weapons2_Trip_T.hands.BritishPara_Hands_1st_P"
SkinRefs(4)="NicePackT.Contender.Bullet_cmb"
SelectSoundRef="NicePackSnd.Contender.G2_Pickup"
HudImageRef="NicePackT.Contender.g2contender_unselected"
SelectedHudImageRef="NicePackT.Contender.g2contender_selected"
PlayerIronSightFOV=40.000000
ZoomTime=0.285000
ZoomedDisplayFOV=25.000000
FireModeClass(0)=Class'NicePack.NiceContenderFire'
FireModeClass(1)=Class'KFMod.NoFire'
PutDownAnim="PutDown"
PutDownAnimRate=1.000000
AIRating=0.550000
CurrentRating=0.550000
Description="Thompson G2 Contender - hinting pistol"
DisplayFOV=55.000000
Priority=120
InventoryGroup=2
GroupOffset=16
PickupClass=Class'NicePack.NiceContenderPickup'
PlayerViewOffset=(X=13.000000,Y=14.000000,Z=-5.500000)
BobDamping=4.500000
AttachmentClass=Class'NicePack.NiceContenderAttachment'
ItemName="Thompson Contender"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceContenderAmmo extends NiceAmmo;
|
||||
defaultproperties
|
||||
{
WeaponPickupClass=Class'NicePack.NiceContenderPickup'
AmmoPickupAmount=8
MaxAmmo=40
InitialAmount=10
PickupClass=Class'NicePack.NiceContenderAmmoPickup'
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=4,Y1=350,X2=110,Y2=395)
ItemName=".35 rem"
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceContenderAmmoPickup extends NiceAmmoPickup;
|
||||
defaultproperties
|
||||
{
AmmoAmount=8
InventoryType=Class'NicePack.NiceContenderAmmo'
PickupMessage=".35 rem"
StaticMesh=StaticMesh'KillingFloorStatics.XbowAmmo'
CollisionRadius=25.000000
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceContenderAttachment extends NiceAttachment;
|
||||
defaultproperties
|
||||
{
mMuzFlashClass=Class'ROEffects.MuzzleFlash3rdPistol'
MovementAnims(0)="JogF_HuntingShotgun"
MovementAnims(1)="JogB_HuntingShotgun"
MovementAnims(2)="JogL_HuntingShotgun"
MovementAnims(3)="JogR_HuntingShotgun"
TurnLeftAnim="TurnL_HuntingShotgun"
TurnRightAnim="TurnR_HuntingShotgun"
CrouchAnims(0)="CHwalkF_HuntingShotgun"
CrouchAnims(1)="CHwalkB_HuntingShotgun"
CrouchAnims(2)="CHwalkL_HuntingShotgun"
CrouchAnims(3)="CHwalkR_HuntingShotgun"
WalkAnims(0)="WalkF_HuntingShotgun"
WalkAnims(1)="WalkB_HuntingShotgun"
WalkAnims(2)="WalkL_HuntingShotgun"
WalkAnims(3)="WalkR_HuntingShotgun"
CrouchTurnRightAnim="CH_TurnR_HuntingShotgun"
CrouchTurnLeftAnim="CH_TurnL_HuntingShotgun"
IdleCrouchAnim="CHIdle_HuntingShotgun"
IdleWeaponAnim="Idle_HuntingShotgun"
IdleRestAnim="Idle_HuntingShotgun"
IdleChatAnim="Idle_HuntingShotgun"
IdleHeavyAnim="Idle_HuntingShotgun"
IdleRifleAnim="Idle_HuntingShotgun"
FireAnims(0)="Fire_HuntingShotgun"
FireAnims(1)="Fire_HuntingShotgun"
FireAnims(2)="Fire_HuntingShotgun"
FireAnims(3)="Fire_HuntingShotgun"
FireAltAnims(0)="Fire_HuntingShotgun"
FireAltAnims(1)="Fire_HuntingShotgun"
FireAltAnims(2)="Fire_HuntingShotgun"
FireAltAnims(3)="Fire_HuntingShotgun"
FireCrouchAnims(0)="CHFire_HuntingShotgun"
FireCrouchAnims(1)="CHFire_HuntingShotgun"
FireCrouchAnims(2)="CHFire_HuntingShotgun"
FireCrouchAnims(3)="CHFire_HuntingShotgun"
FireCrouchAltAnims(0)="CHFire_HuntingShotgun"
FireCrouchAltAnims(1)="CHFire_HuntingShotgun"
FireCrouchAltAnims(2)="CHFire_HuntingShotgun"
FireCrouchAltAnims(3)="CHFire_HuntingShotgun"
HitAnims(0)="HitF_HuntingShotgun"
HitAnims(1)="HitB_HuntingShotgun"
HitAnims(2)="HitL_HuntingShotgun"
HitAnims(3)="HitR_HuntingShotgun"
PostFireBlendStandAnim="Blend_HuntingShotgun"
PostFireBlendCrouchAnim="CHBlend_HuntingShotgun"
MeshRef="NicePackA.Contender.G2Contender_3rd"
DrawScale=2.200000
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
class NiceContenderFire extends NiceFire;
|
||||
defaultproperties
|
||||
{
EffectiveRange=25000.000000
ProjectileSpeed=30000.000000
FireAimedAnim="Fire"
RecoilRate=0.100000
maxVerticalRecoilAngle=350
maxHorizontalRecoilAngle=175
bRandomPitchFireSound=False
FireSoundRef="NicePackSnd.Contender.G2_Shot"
StereoFireSoundRef="NicePackSnd.Contender.G2_Shot"
NoAmmoSoundRef="KF_SCARSnd.SCAR_DryFire"
DamageType=Class'NicePack.NiceDamTypeContender'
DamageMin=156
DamageMax=156
bWaitForRelease=True
TransientSoundVolume=1.800000
FireForce="AssaultRifleFire"
FireRate=1.600000
AmmoClass=Class'NicePack.NiceContenderAmmo'
ShakeRotMag=(X=5.000000,Y=7.000000,Z=3.000000)
ShakeRotRate=(X=10000.000000,Y=10000.000000,Z=10000.000000)
ShakeOffsetMag=(X=5.000000,Y=5.000000,Z=5.000000)
BotRefireRate=3.570000
FlashEmitterClass=Class'ROEffects.MuzzleFlash1stKar'
aimerror=0.000000
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
class NiceContenderPickup extends NiceWeaponPickup;
|
||||
defaultproperties
|
||||
{
Weight=3.000000
AmmoCost=8
|
||||
cost=1000
BuyClipSize=1
PowerValue=60
SpeedValue=35
RangeValue=90
Description="Thompson G2 Contender - hunting pistol"
ItemName="Thompson Contender"
ItemShortName="Contender"
AmmoItemName=".35 rem"
CorrespondingPerkIndex=2
EquipmentCategoryID=2
MaxDesireability=0.790000
InventoryType=Class'NicePack.NiceContender'
PickupMessage="You got the Thompson G2 Contender"
PickupSound=Sound'NicePackSnd.Contender.G2_Pickup'
PickupForce="AssaultRiflePickup"
StaticMesh=StaticMesh'NicePackSM.Contender.G2Contender_sm'
DrawScale=2.000000
CollisionRadius=10.000000
CollisionHeight=5.000000
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
class NiceDamTypeContender extends NiceDamageTypeVetSharpshooter
|
||||
abstract;
|
||||
defaultproperties
|
||||
{
|
||||
stunMultiplier=1.500000
|
||||
HeadShotDamageMult=2.500000
WeaponClass=Class'NicePack.NiceContender'
DeathString="%k killed %o with Contender."
FemaleSuicide="%o shot herself in the foot."
MaleSuicide="%o shot himself in the foot."
bRagdollBullet=True
bBulletHit=True
FlashFog=(X=600.000000)
KDamageImpulse=1850.000000
KDeathVel=150.000000
KDeathUpKick=5.000000
VehicleDamageScaling=0.800000
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue