1.3 update, cleaning up and GZDoom 4.11 features.

This commit is contained in:
Marisa the Magician 2023-08-25 23:45:52 +02:00
commit ac4c53b3ef
21 changed files with 279 additions and 351 deletions

View file

@ -416,9 +416,7 @@ Class Translocator : UTWeapon
A_StartSound("transloc/throw",CHAN_WEAPON);
invoker.FireEffect();
A_AlertMonsters();
Vector3 x, y, z;
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),10*x-8*y-12*z);
Vector3 origin = dt_Utility.GetFireOffset(self,10,-8,-12);
let p = Spawn("TranslocatorModule",origin);
p.target = self;
p.angle = angle;
@ -591,9 +589,7 @@ Class OldTranslocator : Translocator
A_StartSound("transloc/throw",CHAN_WEAPON);
invoker.FireEffect();
A_AlertMonsters();
Vector3 x, y, z;
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
Vector3 origin = (pos.x,pos.y,player.viewz)+15.0*x-10.0*y-4.0*z;
Vector3 origin = dt_Utility.GetFireOffset(self,10,-10,-4);
let p = Spawn("OldTranslocatorModule",origin);
p.target = self;
p.angle = angle;