NEVERMIND IT'S COMPLETELY FUCKING BROKEN.

This commit is contained in:
Marisa the Magician 2021-01-24 15:32:38 +01:00
commit 7c43dafd6a
6 changed files with 35 additions and 5 deletions

View file

@ -8,6 +8,16 @@ Class PulseGunLED : Actor
Actor base, digits[3], bar;
transient PulseGun mygun;
Default
{
+NOGRAVITY;
+NOBLOCKMAP;
+NOINTERACTION;
+DONTSPLASH;
Radius .1;
Height 0;
}
override void PostBeginPlay()
{
SetOrigin((PULSELEDBASE+64,128,99),false);
@ -46,6 +56,16 @@ Class FlakCannonLED : Actor
Actor base, digits[3];
transient FlakCannon mygun;
Default
{
+NOGRAVITY;
+NOBLOCKMAP;
+NOINTERACTION;
+DONTSPLASH;
Radius .1;
Height 0;
}
override void PostBeginPlay()
{
SetOrigin((FLAKLEDBASE+32,64,45),false);
@ -72,6 +92,16 @@ Class MinigunLED : Actor
Actor base, digits[3];
transient Minigun mygun;
Default
{
+NOGRAVITY;
+NOBLOCKMAP;
+NOINTERACTION;
+DONTSPLASH;
Radius .1;
Height 0;
}
override void PostBeginPlay()
{
SetOrigin((MINILEDBASE+32,32,18),false);

View file

@ -307,7 +307,7 @@ Class UTRocketLauncher : UTWeapon
}
if ( !Owner || !Owner.player || (Owner != players[consoleplayer].Camera) ) return;
ammoled.mygun = self;
TexMan.SetCameraToTexture(ammoled,"RAmmoLed",90);
//TexMan.SetCameraToTexture(ammoled,"RAmmoLed",90);
}
override void PostBeginPlay()

View file

@ -650,7 +650,7 @@ Class FlakCannon : UTWeapon
}
if ( !Owner || !Owner.player || (Owner != players[consoleplayer].Camera) ) return;
ammoled.mygun = self;
TexMan.SetCameraToTexture(ammoled,"FlakALed",90);
//TexMan.SetCameraToTexture(ammoled,"FlakALed",90);
}
action void A_Loading( bool first = false )

View file

@ -87,7 +87,7 @@ Class Minigun : UTWeapon
}
if ( !Owner || !Owner.player || (Owner != players[consoleplayer].Camera) ) return;
ammoled.mygun = self;
TexMan.SetCameraToTexture(ammoled,"MiniALed",90);
//TexMan.SetCameraToTexture(ammoled,"MiniALed",90);
}
action void A_FireBullet( bool alt = false )

View file

@ -579,7 +579,7 @@ Class PulseGun : UTWeapon
}
if ( !Owner || !Owner.player || (Owner != players[consoleplayer].Camera) ) return;
ammoled.mygun = self;
TexMan.SetCameraToTexture(ammoled,"PAmmoLed",90);
//TexMan.SetCameraToTexture(ammoled,"PAmmoLed",90);
}
override int, int, bool, bool GetClipAmount()