1.3 update and whatnot.
This commit is contained in:
parent
608be2e2c9
commit
2f56442ffb
47 changed files with 153 additions and 178 deletions
|
|
@ -367,16 +367,15 @@ Class FlameGun : UnrealWeapon
|
|||
if ( bAlt ) A_QuakeEx(2,2,2,6,0,1,"",QF_RELATIVE|QF_SCALEDOWN,rollIntensity:0.1);
|
||||
else A_QuakeEx(1,1,1,2,0,1,"",QF_RELATIVE|QF_SCALEDOWN,rollIntensity:0.1);
|
||||
if ( !Dampener.Active(self) ) A_AlertMonsters();
|
||||
Vector3 x, y, z, x2, y2, z2, dir;
|
||||
Vector3 x, y, z, dir;
|
||||
double a, s;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),10*x-3*y-z);
|
||||
[x2, y2, z2] = dt_Utility.GetAxes(angle,BulletSlope(),roll);
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,10,-3,-1);
|
||||
[x, y, z] = dt_Utility.GetPlayerAxesAutoAimed(self);
|
||||
for ( int i=0; i<(bAlt?1:3); i++ )
|
||||
{
|
||||
a = FRandom[FlameGun](0,360);
|
||||
s = FRandom[FlameGun](0,bAlt?0.:.06);
|
||||
dir = dt_Utility.ConeSpread(x2,y2,z2,a,s);
|
||||
dir = dt_Utility.ConeSpread(x,y,z,a,s);
|
||||
let p = Spawn(bAlt?"UFireball2":"UFireball",origin);
|
||||
p.angle = atan2(dir.y,dir.x);
|
||||
p.pitch = asin(-dir.z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue