Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

KFMod.SPThompsonSMG


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
//=============================================================================
// SPThompsonSMG
//=============================================================================
// A Steampunk Thompson Sub Machine Gun
//=============================================================================
// Killing Floor Source
// Copyright (C) 2013 Tripwire Interactive LLC
// - IJC Weapon Development and John "Ramm-Jaeger" Gibson
//=============================================================================
class SPThompsonSMG extends ThompsonSMG
	config(user);

simulated function AddReloadedAmmo()
{
	super.AddReloadedAmmo();

	ResetReloadAchievement();
}

function ResetReloadAchievement()
{
	local PlayerController PC;
	local KFSteamStatsAndAchievements KFSteamStats;

	PC = PlayerController( Instigator.Controller );

	if ( PC != none )
	{
		KFSteamStats = KFSteamStatsAndAchievements(PC.SteamStatsAndAchievements);

		if ( KFSteamStats != none )
		{
         	KFSteamStats.OnReloadSPTorBullpup();
		}
	}
}

defaultproperties
{
     MagCapacity=40
     ReloadRate=3.800000
     WeaponReloadAnim="Reload_IJC_spThompson_Drum"
     SleeveNum=0
     TraderInfoTexture=Texture'KF_IJC_HUD.Trader_Weapon_Icons.Trader_SteamPunk_Tommygun'
     MeshRef="KF_IJC_Summer_Weps1.Steampunk_Thompson"
     SkinRefs(1)="KF_IJC_Summer_Weapons.Steampunk_Thompson.Steampunk_Thompson_cmb"
     SelectSoundRef="KF_SP_ThompsonSnd.KFO_SP_Thompson_Select"
     HudImageRef="KF_IJC_HUD.WeaponSelect.SteamPunk_Tommygun_Unselected"
     SelectedHudImageRef="KF_IJC_HUD.WeaponSelect.SteamPunk_Tommygun_Selected"
     AppID=210943
     FireModeClass(0)=Class'KFMod.SPThompsonFire'
     Description="Thy weapon is before you. May it's drum beat a sound of terrible fear into your enemies."
     Priority=123
     GroupOffset=19
     PickupClass=Class'KFMod.SPThompsonPickup'
     AttachmentClass=Class'KFMod.SPThompsonAttachment'
     ItemName="Dr. T's Lead Delivery System"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 13-10-2023 03:17:28.000 - Creation time: Fri 13-10-2023 03:19:08.957 - Created with UnCodeX