4.10 support:
- CORRECTPIXELSTRETCH where needed on models. - Replace CoordUtil.GetAxes with quaternion version.
This commit is contained in:
parent
249b91e397
commit
1c84fc4e88
49 changed files with 151 additions and 147 deletions
|
|
@ -206,7 +206,7 @@ Class SMiniGun : UnrealWeapon
|
|||
invoker.special1 = (invoker.special1%4)+1;
|
||||
}
|
||||
Vector3 x, y, z, x2, y2, z2;
|
||||
[x, y, z] = dt_CoordUtil.GetAxes(pitch,angle,roll);
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),10*x-y*2-z*2);
|
||||
for ( int i=0; i<(bAlt?4:1); i++ )
|
||||
{
|
||||
|
|
@ -214,7 +214,7 @@ Class SMiniGun : UnrealWeapon
|
|||
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_CoordUtil.GetAxes(BulletSlope(),angle,roll);
|
||||
[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