Prepare fixtures

This commit is contained in:
dkanus 2026-07-14 20:27:09 +07:00
commit 9c94356263
6021 changed files with 722805 additions and 22 deletions

View file

@ -0,0 +1,10 @@
class DamTypeRocketLauncher extends DamTypeLAW;
defaultproperties
{
WeaponClass=class'RocketLauncher'
DeathString="%k killed %o (WTF Explosion)."
FemaleSuicide="%o blew herself into a nuclear explosion."
MaleSuicide="%o Blew himself into a nuclear explosion."
}

View file

@ -0,0 +1,18 @@
// Created by Mistery, fixed and uploaded by NikC-
class MutMRWTF extends Mutator;
function ModifyPlayer(Pawn Player)
{
super.ModifyPlayer(Player);
Player.GiveWeapon(string(class'RocketLauncher'));
}
defaultproperties
{
bAddToServerPackages=True
GroupName="KF-MRWTF"
FriendlyName="WTF Rocket Launcher Mut"
Description="Adds the WTF Rocket Launcher removed from WTF mod"
}

View file

@ -0,0 +1,10 @@
class RocketLauncher extends LAW;
defaultproperties
{
FireModeClass(0)=class'RocketLauncherFire'
Description="A DEADLY WEAPON."
PickupClass=class'RocketLauncherPickup'
ItemName="WTF Rocket Launcher"
}

View file

@ -0,0 +1,12 @@
class RocketLauncherAmmo extends KFAmmunition;
defaultproperties
{
AmmoPickupAmount=1
MaxAmmo=3
InitialAmount=3
IconMaterial=Texture'KillingFloorHUD.Generic.HUD'
IconCoords=(X1=4,Y1=350,X2=110,Y2=395)
ItemName="Rockets"
}

View file

@ -0,0 +1,25 @@
class RocketLauncherFire extends LAWFire;
function projectile SpawnProjectile(Vector Start, Rotator Dir)
{
local Projectile P;
if (FRand() <= 0.05)
P = Weapon.Spawn(class'RocketLauncherProjWTF',,, Start, Dir);
else
P = Weapon.Spawn(ProjectileClass,,, Start, Dir);
if (P == none)
return none;
P.Damage *= DamageAtten;
return P;
}
defaultproperties
{
AmmoClass=class'RocketLauncherAmmo'
ProjectileClass=Class'KFMod.LAWProj'
}

View file

@ -0,0 +1,29 @@
class RocketLauncherPickup extends KFWeaponPickup;
defaultproperties
{
Weight=13.000000
cost=3000
AmmoCost=500
BuyClipSize=1
PowerValue=100
SpeedValue=20
RangeValue=64
Description="A DEADLY WEAPON."
ItemName="WTF Rocket Launcher"
ItemShortName="WTF Rocket Launcher"
AmmoItemName="Nuclear Rockets"
AmmoMesh=StaticMesh'KillingFloorStatics.LAWAmmo'
CorrespondingPerkIndex=6
EquipmentCategoryID=3
MaxDesireability=0.790000
InventoryType=class'RocketLauncher'
RespawnTime=60.000000
PickupMessage="You got the WTF Rocket Launcher"
PickupSound=Sound'KF_LAWSnd.LAW_Pickup'
PickupForce="AssaultRiflePickup"
StaticMesh=StaticMesh'KF_pickups_Trip.Super.LAW_Pickup'
CollisionRadius=35.000000
CollisionHeight=10.000000
}

View file

@ -0,0 +1,117 @@
class RocketLauncherProjWTF extends LAWProj;
#exec AUDIO IMPORT NAME="WTFBOOM" FILE="WTFBOOM.wav"
var() int WaitCounter;
var() float ShakeRadius;
var sound BOOMSound;
simulated function Timer()
{
WaitCounter++;
if (WaitCounter == 20)
{
// BEEP BEEP BEEP WHAT THE FU-
PlaySound(BOOMSound, , 10.0, , 5000.0);
}
else if (WaitCounter == 28)
{
if (SmokeTrail != none)
{
SmokeTrail.HandleOwnerDestroyed();
}
SetDrawScale(0.05);
// BWWWAAAUUUUUUU-BWAHAHAHAHAHAHA
spawn(class'RocketLauncherProjWTFExplosion', self,, self.Location, rotator(self.Location));
if (ROLE == ROLE_AUTHORITY)
KFGameType(Level.Game).DramaticEvent(1.0);
Explode(Self.Location,Self.Location);
}
else if (WaitCounter > 28 && WaitCounter < 56)
{
if (Role == ROLE_Authority)
{
Damage *= 0.97;
}
Explode(self.Location, self.Location);
}
else if (WaitCounter >= 56)
{
Destroy();
}
}
simulated function Explode(vector HitLocation, vector HitNormal)
{
local Controller C;
local PlayerController LocalPlayer;
bHasExploded = True;
BlowUp(HitLocation);
LocalPlayer = Level.GetLocalPlayerController();
if ((LocalPlayer != none) && (VSize(Location - LocalPlayer.ViewTarget.Location) < ShakeRadius))
LocalPlayer.ShakeView(RotMag, RotRate, RotTime, OffsetMag, OffsetRate, OffsetTime);
for (C = Level.ControllerList; C != none; C = C.NextController)
{
if ((PlayerController(C) != none) && (C != LocalPlayer) && (VSize(Location - PlayerController(C).ViewTarget.Location) < ShakeRadius))
{
C.ShakeView(RotMag, RotRate, RotTime, OffsetMag, OffsetRate, OffsetTime);
}
}
}
function TakeDamage(int Damage, Pawn InstigatedBy, Vector Hitlocation, Vector Momentum, class<DamageType> damageType, optional int HitIndex){}
simulated singular function HitWall(vector HitNormal, actor Wall)
{
Landed(HitNormal);
}
simulated function Landed(vector HitNormal)
{
Velocity = vect(0, 0, 0);
SetPhysics(PHYS_Falling);
SetTimer(0.25, true);
AmbientSound = none;
}
simulated function ProcessTouch(actor other, vector HitLocation)
{
if (other == none || other == Instigator || other.Base == Instigator)
return;
if (bHasExploded)
return;
if (Instigator != none)
{
OrigLoc = Instigator.Location;
}
Landed(HitLocation);
}
defaultproperties
{
ShakeRadius=2400.000000
ImpactDamage=1
Speed=1000.000000
MaxSpeed=1000.000000
Damage=3000.000000
DamageRadius=1800.000000
MyDamageType=class'DamTypeRocketLauncher'
LifeSpan=30.000000
BOOMSound=sound'WTFBOOM'
}

View file

@ -0,0 +1,94 @@
class RocketLauncherProjWTFExplosion extends Emitter;
defaultproperties
{
Begin Object Class=SpriteEmitter Name=InitialFireBlast
UseColorScale=True
FadeOut=True
RespawnDeadParticles=False
SpinParticles=True
UniformSize=True
AutomaticInitialSpawning=False
BlendBetweenSubdivisions=True
ColorScale(1)=(RelativeTime=0.300000,Color=(B=255,G=255,R=255))
ColorScale(2)=(RelativeTime=0.667857,Color=(B=89,G=172,R=247,A=255))
ColorScale(3)=(RelativeTime=1.000000,Color=(B=128,G=128,R=128,A=255))
MaxParticles=500
StartLocationShape=PTLS_Sphere
SphereRadiusRange=(Min=1.000000,Max=1.000000)
SpinsPerSecondRange=(X=(Min=0.100000,Max=0.100000),Y=(Min=0.100000,Max=0.100000),Z=(Min=0.100000,Max=0.100000))
StartSizeRange=(X=(Min=600.000000,Max=600.000000),Y=(Min=600.000000,Max=600.000000),Z=(Min=600.000000,Max=600.000000))
InitialParticlesPerSecond=5000.000000
Texture=Texture'KillingFloorTextures.LondonCommon.fire3'
TextureUSubdivisions=4
TextureVSubdivisions=4
LifetimeRange=(Min=0.300000,Max=0.300000)
StartVelocityRange=(X=(Min=-7000.000000,Max=7000.000000),Y=(Min=-7000.000000,Max=7000.000000),Z=(Min=7000.000000))
End Object
Emitters(0)=SpriteEmitter'MRLWTF.RocketLauncherProjWTFExplosion.InitialFireBlast'
Begin Object Class=SpriteEmitter Name=GroundSmokeRingExpanding
UseColorScale=True
FadeOut=True
RespawnDeadParticles=False
SpinParticles=True
UniformSize=True
BlendBetweenSubdivisions=True
ColorScale(1)=(RelativeTime=0.300000,Color=(B=155,G=155,R=255))
ColorScale(2)=(RelativeTime=0.500000,Color=(B=255,G=255,R=255,A=255))
MaxParticles=300
StartLocationShape=PTLS_Sphere
SphereRadiusRange=(Min=1.000000,Max=1.000000)
SpinsPerSecondRange=(X=(Min=0.100000,Max=0.100000),Y=(Min=0.100000,Max=0.100000),Z=(Min=0.100000,Max=0.100000))
StartSizeRange=(X=(Min=300.000000,Max=300.000000),Y=(Min=300.000000,Max=300.000000),Z=(Min=300.000000,Max=300.000000))
ParticlesPerSecond=100.000000
Texture=Texture'kf_fx_trip_t.Misc.smoke_animated'
TextureUSubdivisions=8
TextureVSubdivisions=8
LifetimeRange=(Min=2.000000,Max=2.000000)
StartVelocityRange=(X=(Min=-1000.000000,Max=1000.000000),Y=(Min=-1000.000000,Max=1000.000000))
End Object
Emitters(1)=SpriteEmitter'MRLWTF.RocketLauncherProjWTFExplosion.GroundSmokeRingExpanding'
Begin Object Class=SpriteEmitter Name=SmokeColumnUpwards
UseColorScale=True
FadeOut=True
RespawnDeadParticles=False
SpinParticles=True
UseSizeScale=True
UniformSize=True
BlendBetweenSubdivisions=True
Acceleration=(Z=-50.000000)
ColorScale(1)=(RelativeTime=0.300000,Color=(B=155,G=155,R=255))
ColorScale(2)=(RelativeTime=0.500000,Color=(B=255,G=255,R=255,A=255))
FadeOutStartTime=2.000000
MaxParticles=300
StartLocationShape=PTLS_Sphere
SphereRadiusRange=(Min=1.000000,Max=1.000000)
SpinsPerSecondRange=(X=(Min=0.100000,Max=0.100000),Y=(Min=0.100000,Max=0.100000),Z=(Min=0.100000,Max=0.100000))
SizeScale(1)=(RelativeTime=0.500000,RelativeSize=0.250000)
SizeScale(2)=(RelativeTime=0.750000,RelativeSize=1.000000)
StartSizeRange=(X=(Min=750.000000,Max=750.000000),Y=(Min=750.000000,Max=750.000000),Z=(Min=750.000000,Max=750.000000))
ParticlesPerSecond=10.000000
Texture=Texture'kf_fx_trip_t.Misc.smoke_animated'
TextureUSubdivisions=8
TextureVSubdivisions=8
StartVelocityRange=(Z=(Min=500.000000,Max=500.000000))
End Object
Emitters(2)=SpriteEmitter'MRLWTF.RocketLauncherProjWTFExplosion.SmokeColumnUpwards'
AutoDestroy=True
LightType=LT_Flicker
LightHue=30
LightSaturation=100
LightBrightness=600.000000
LightRadius=600.000000
bNoDelete=False
bDynamicLight=True
AmbientSound=Sound'Amb_Destruction.Fire.Kessel_Fire_Small_Vehicle'
LifeSpan=7.000000
bFullVolume=True
SoundVolume=255
SoundRadius=2400.000000
}

View file

@ -0,0 +1,14 @@
<html>
<head><title>Index of /kf_sources/MRLWTF/Classes/</title></head>
<body>
<h1>Index of /kf_sources/MRLWTF/Classes/</h1><hr><pre><a href="../">../</a>
<a href="DamTypeRocketLauncher.uc">DamTypeRocketLauncher.uc</a> 27-Oct-2021 18:38 280
<a href="MutMRWTF.uc">MutMRWTF.uc</a> 27-Oct-2021 18:38 404
<a href="RocketLauncher.uc">RocketLauncher.uc</a> 27-Oct-2021 18:38 219
<a href="RocketLauncherAmmo.uc">RocketLauncherAmmo.uc</a> 27-Oct-2021 18:38 246
<a href="RocketLauncherFire.uc">RocketLauncherFire.uc</a> 27-Oct-2021 18:39 482
<a href="RocketLauncherPickup.uc">RocketLauncherPickup.uc</a> 27-Oct-2021 18:38 783
<a href="RocketLauncherProjWTF.uc">RocketLauncherProjWTF.uc</a> 27-Oct-2021 18:38 2714
<a href="RocketLauncherProjWTFExplosion.uc">RocketLauncherProjWTFExplosion.uc</a> 27-Oct-2021 18:38 4013
</pre><hr></body>
</html>