1.3 update and whatnot.
This commit is contained in:
parent
608be2e2c9
commit
2f56442ffb
47 changed files with 153 additions and 178 deletions
|
|
@ -48,9 +48,7 @@ Class Bonesaw : UnrealWeapon
|
|||
FTranslatedLineTarget t;
|
||||
double slope = AimLineAttack(angle,DEFMELEERANGE,t,0.,ALF_CHECK3D);
|
||||
FLineTraceData d;
|
||||
Vector3 x, y, z, origin;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),z*4);
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,0,0,4);
|
||||
LineTrace(angle,DEFMELEERANGE,slope,TRF_ABSPOSITION,origin.z,origin.x,origin.y,data:d);
|
||||
if ( d.HitType != TRACE_HitNone )
|
||||
{
|
||||
|
|
@ -90,8 +88,8 @@ Class Bonesaw : UnrealWeapon
|
|||
{
|
||||
invoker.special1++;
|
||||
Vector3 x, y, z, origin;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),x*15-z*4);
|
||||
[x, y, z] = dt_Utility.GetPlayerAxes(self);
|
||||
origin = dt_Utility.GetFireOffset(self,15,0,-4);
|
||||
if ( waterlevel >= 3 )
|
||||
{
|
||||
UTMainHandler.DoKnockback(self,x,5000);
|
||||
|
|
@ -113,8 +111,8 @@ Class Bonesaw : UnrealWeapon
|
|||
invoker.FireEffect();
|
||||
A_AlertMonsters();
|
||||
Vector3 x, y, z, origin;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),x*15-z*4);
|
||||
[x, y, z] = dt_Utility.GetPlayerAxes(self);
|
||||
origin = dt_Utility.GetFireOffset(self,15,0,-4);
|
||||
if ( waterlevel >= 3 )
|
||||
{
|
||||
UTMainHandler.DoKnockback(self,x,20000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue