1.3 update and whatnot.
This commit is contained in:
parent
608be2e2c9
commit
2f56442ffb
47 changed files with 153 additions and 178 deletions
|
|
@ -206,15 +206,15 @@ Class SMiniGun : UnrealWeapon
|
|||
invoker.special1 = (invoker.special1%4)+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),10*x-y*2-z*2);
|
||||
[x, y, z] = dt_Utility.GetPlayerAxes(self);
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,10,-2,-2);
|
||||
[x2, y2, z2] = dt_Utility.GetPlayerAxesAutoAimed(self);
|
||||
for ( int i=0; i<(bAlt?4:1); i++ )
|
||||
{
|
||||
if ( bAlt && !weap.DepleteAmmo(weap.bAltFire,true,1) ) break;
|
||||
int pos = bAlt?i:invoker.special1;
|
||||
origin = level.Vec3Offset(origin,x*(!(pos%2)?-1.5:1.5)+y*(pos<2?-1.5:1.5));
|
||||
double a = FRandom[Minigun](0,360), s = FRandom[Minigun](0,bAlt?0.12:0.03);
|
||||
[x2, y2, z2] = dt_Utility.GetAxes(angle,BulletSlope(),roll);
|
||||
Vector3 dir = dt_Utility.ConeSpread(x2,y2,z2,a,s);
|
||||
vel -= dir*(player.onground?3:1.2);
|
||||
vel.z += (player.onground?0.8:.1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue