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
|
|
@ -894,12 +894,12 @@ Class UFlamethrower : UnrealWeapon
|
|||
A_AlertMonsters();
|
||||
UTMainHandler.DoFlash(self,Color(32,255,128,0),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),15*x-2.3*y-2.7*z);
|
||||
for ( int i=0; i<2; i++ )
|
||||
{
|
||||
double a = FRandom[FlameT](0,360), s = FRandom[FlameT](0,.05);
|
||||
[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);
|
||||
Actor p = Spawn("UFlame",origin);
|
||||
if ( p.waterlevel > 0 )
|
||||
|
|
@ -981,7 +981,7 @@ Class UFlamethrower : UnrealWeapon
|
|||
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_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-2.3*y-2.7*z);
|
||||
Actor p = Spawn("UNapalmGlob",origin);
|
||||
p.A_SetScale(0.5+invoker.chargesize/3.5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue