1.1.3 mini-update:
- Added hacky ammo displays. - Removed swingers. - Updated patron credits.
This commit is contained in:
parent
475447905f
commit
eaf19d3007
55 changed files with 293 additions and 199 deletions
|
|
@ -637,6 +637,22 @@ Class FlakMag : UTCasing
|
|||
|
||||
Class FlakCannon : UTWeapon
|
||||
{
|
||||
FlakCannonLED ammoled;
|
||||
|
||||
override void DoEffect()
|
||||
{
|
||||
Super.DoEffect();
|
||||
if ( !ammoled )
|
||||
{
|
||||
let ti = ThinkerIterator.Create("FlakCannonLED");
|
||||
while ( ammoled=FlakCannonLED(ti.Next()) ) break;
|
||||
if ( !ammoled ) ammoled = FlakCannonLED(Spawn("FlakCannonLED"));
|
||||
}
|
||||
if ( !Owner || !Owner.player || (Owner != players[consoleplayer].Camera) ) return;
|
||||
ammoled.mygun = self;
|
||||
TexMan.SetCameraToTexture(ammoled,"FlakALed",90);
|
||||
}
|
||||
|
||||
action void A_Loading( bool first = false )
|
||||
{
|
||||
if ( first ) A_StartSound("flak/load",CHAN_WEAPONMISC,CHANF_OVERLAP);
|
||||
|
|
@ -651,7 +667,6 @@ Class FlakCannon : UTWeapon
|
|||
A_StartSound("flak/fire",CHAN_WEAPON);
|
||||
invoker.FireEffect();
|
||||
UTMainHandler.DoFlash(self,Color(160,255,96,0),1);
|
||||
UTMainHandler.DoSwing(self,(FRandom[Flak](-0.3,-0.8),FRandom[Flak](-0.5,0.5)),4,-1.5,2,SWING_Spring,2,2);
|
||||
A_AlertMonsters();
|
||||
A_QuakeEx(1,1,1,3,0,1,"",QF_RELATIVE|QF_SCALEDOWN,rollIntensity:0.05);
|
||||
Vector3 x, y, z;
|
||||
|
|
@ -710,7 +725,6 @@ Class FlakCannon : UTWeapon
|
|||
A_StartSound("flak/altfire",CHAN_WEAPON);
|
||||
invoker.FireEffect();
|
||||
UTMainHandler.DoFlash(self,Color(128,255,96,0),1);
|
||||
UTMainHandler.DoSwing(self,(FRandom[Flak](-0.4,-0.8),FRandom[Flak](0.4,0.8)),4,-1,3,SWING_Spring,3,5);
|
||||
A_AlertMonsters();
|
||||
A_QuakeEx(2,2,2,6,0,1,"",QF_RELATIVE|QF_SCALEDOWN,rollIntensity:0.1);
|
||||
Vector3 x, y, z;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue