1.3 update and whatnot.
This commit is contained in:
parent
608be2e2c9
commit
2f56442ffb
47 changed files with 153 additions and 178 deletions
|
|
@ -308,8 +308,8 @@ Class BigGun : UnrealWeapon
|
|||
action void A_Eject()
|
||||
{
|
||||
Vector3 x, y, z;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),4*x+y*12-z*4);
|
||||
[x, y, z] = dt_Utility.GetPlayerAxes(self);
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,4,12,-4);
|
||||
let c = Spawn("BigCasing",origin);
|
||||
c.vel = x*FRandom[Junk](-1.5,1.5)+y*FRandom[Junk](2,4)+z*FRandom[Junk](-1,2);
|
||||
}
|
||||
|
|
@ -327,14 +327,13 @@ Class BigGun : UnrealWeapon
|
|||
invoker.FireEffect();
|
||||
UTMainHandler.DoFlash(self,Color(32,255,128,0),1);
|
||||
A_QuakeEx(2,2,2,3,0,1,"",QF_RELATIVE|QF_SCALEDOWN,rollintensity:0.12);
|
||||
Vector3 x, y, z, x2, y2, z2;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
vel -= x*(player.onground?9.5:2.5);
|
||||
Vector3 x, y, z;
|
||||
vel -= dt_Utility.GetPlayerViewDir(self)*(player.onground?9.5:2.5);
|
||||
vel.z += (player.onground?2.8:.25);
|
||||
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),10*x+y*5-z*1);
|
||||
[x2, y2, z2] = dt_Utility.GetAxes(angle,BulletSlope(),roll);
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,10,5,-1);
|
||||
[x, y, z] = dt_Utility.GetPlayerAxesAutoAimed(self);
|
||||
double a = FRandom[BigGun](0,360), s = FRandom[BigGun](0,bAlt?0.2:0.05);
|
||||
Vector3 dir = dt_Utility.ConeSpread(x2,y2,z2,a,s);
|
||||
Vector3 dir = dt_Utility.ConeSpread(x,y,z,a,s);
|
||||
if ( !invoker.t ) invoker.t = new("BigTracer");
|
||||
invoker.t.ignoreme = self;
|
||||
invoker.t.hitlist.Clear();
|
||||
|
|
@ -537,8 +536,8 @@ Class BigGun : UnrealWeapon
|
|||
BIGR X 2
|
||||
{
|
||||
Vector3 x, y, z, origin;
|
||||
[x,y,z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),x*5.-z*9.);
|
||||
[x,y,z] = dt_Utility.GetPlayerAxes(self);
|
||||
origin = dt_Utility.GetFireOffset(self,5,0,-9);
|
||||
let c = Spawn("BigMag",origin);
|
||||
c.angle = angle;
|
||||
c.pitch = pitch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue