1.3 update and whatnot.
This commit is contained in:
parent
608be2e2c9
commit
2f56442ffb
47 changed files with 153 additions and 178 deletions
|
|
@ -893,20 +893,19 @@ Class UFlamethrower : UnrealWeapon
|
|||
invoker.FireEffect();
|
||||
A_AlertMonsters();
|
||||
UTMainHandler.DoFlash(self,Color(32,255,128,0),1);
|
||||
Vector3 x, y, z, x2, y2, z2;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),15*x-2.3*y-2.7*z);
|
||||
Vector3 x, y, z;
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,15,-2.3,-2.7);
|
||||
for ( int i=0; i<2; i++ )
|
||||
{
|
||||
double a = FRandom[FlameT](0,360), s = FRandom[FlameT](0,.05);
|
||||
[x2, y2, z2] = dt_Utility.GetAxes(angle,BulletSlope(),roll);
|
||||
Vector3 dir = dt_Utility.ConeSpread(x2,y2,z2,a,s);
|
||||
[x, y, z] = dt_Utility.GetPlayerAxesAutoAimed(self);
|
||||
Vector3 dir = dt_Utility.ConeSpread(x,y,z,a,s);
|
||||
Actor p = Spawn("UFlame",origin);
|
||||
if ( p.waterlevel > 0 )
|
||||
{
|
||||
p.Destroy();
|
||||
s = FRandom[FlameT](0,.12);
|
||||
dir = dt_Utility.ConeSpread(x2,y2,z2,a,s);
|
||||
dir = dt_Utility.ConeSpread(x,y,z,a,s);
|
||||
p = Spawn("UNapalmSplash",origin);
|
||||
p.scale *= 0.2;
|
||||
p.angle = atan2(dir.y,dir.x);
|
||||
|
|
@ -980,9 +979,7 @@ Class UFlamethrower : UnrealWeapon
|
|||
A_StartSound("flamet/altfire",CHAN_WEAPON,volume:Dampener.Active(self)?.1:1.,pitch:max(.5,1.2-invoker.chargesize/10.));
|
||||
if ( self is 'UTPlayer' ) UTPlayer(self).PlayAttacking3();
|
||||
A_QuakeEx(1+int(0.5*invoker.chargesize),1+int(0.5*invoker.chargesize),1+int(0.5*invoker.chargesize),5+int(1.2*invoker.chargesize),0,64,"",QF_RELATIVE|QF_SCALEDOWN,rollIntensity:0.05+0.01*invoker.chargesize);
|
||||
Vector3 x, y, z;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),10*x-2.3*y-2.7*z);
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,10,-2.3,-2.7);
|
||||
Actor p = Spawn("UNapalmGlob",origin);
|
||||
p.A_SetScale(0.5+invoker.chargesize/3.5);
|
||||
p.angle = angle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue