1.3 update, cleaning up and GZDoom 4.11 features.
This commit is contained in:
parent
66e5a1c74c
commit
ac4c53b3ef
21 changed files with 279 additions and 351 deletions
|
|
@ -388,9 +388,9 @@ Class UTRocketLauncher : UTWeapon
|
|||
A_QuakeEx(2+num,2+num,2+num,6+num,0,1,"",QF_RELATIVE|QF_SCALEDOWN,rollIntensity:0.1+num*0.05);
|
||||
Vector3 x, y, z, x2, y2, z2;
|
||||
double a, s;
|
||||
[x, y, z] = dt_Utility.GetAxes(angle,pitch,roll);
|
||||
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),10*x+3*y-3*z);
|
||||
[x2, y2, z2] = dt_Utility.GetAxes(angle,BulletSlope(),roll);
|
||||
[x, y, z] = dt_Utility.GetPlayerAxes(self);
|
||||
Vector3 origin = dt_Utility.GetFireOffset(self,10,3,-3);
|
||||
[x2, y2, z2] = dt_Utility.GetPlayerAxesAutoAimed(self);
|
||||
Actor p;
|
||||
if ( weap.bAltFire )
|
||||
{
|
||||
|
|
@ -469,8 +469,8 @@ Class UTRocketLauncher : UTWeapon
|
|||
while ( a = Actor(t.Next()) )
|
||||
{
|
||||
if ( !a.bSHOOTABLE || (a.Health <= 0) || a.bKilled || !a.bIsMonster || a.bCorpse || (a == self) || isTeammate(a) || !CheckSight(a) ) continue;
|
||||
Vector3 viewdir = dt_Utility.Vec3FromAngle(angle,pitch);
|
||||
Vector3 reldir = level.Vec3Diff(Vec2OffsetZ(0,0,player.viewz),a.Vec2OffsetZ(0,0,a.pos.z+a.height*0.5));
|
||||
Vector3 viewdir = dt_Utility.GetPlayerViewDir(self);
|
||||
Vector3 reldir = level.Vec3Diff(dt_Utility.GetPlayerEye(self),a.Vec2OffsetZ(0,0,a.pos.z+a.height*0.5));
|
||||
double reldist = reldir.length();
|
||||
if ( reldist > 2000 ) continue;
|
||||
if ( reldir.unit() dot viewdir < 0.99 ) continue;
|
||||
|
|
@ -507,6 +507,7 @@ Class UTRocketLauncher : UTWeapon
|
|||
Weapon.AmmoGive 6;
|
||||
UTWeapon.DropAmmo 3;
|
||||
UTWeapon.NameColor "FF 00 00";
|
||||
UTWeapon.BobDamping .35;
|
||||
}
|
||||
States
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue