Deprecate use of ROTATING. Fix rotation of many items.

This commit is contained in:
Mari the Deer 2023-01-11 20:05:53 +01:00
commit 06e2e2c55c
39 changed files with 70 additions and 158 deletions

View file

@ -582,7 +582,11 @@ Class SWWMWeapon : Weapon abstract
override void Tick()
{
Super.Tick();
if ( !Owner ) return;
if ( !Owner )
{
angle -= (180./64.);
return;
}
if ( !Owner.player || (Owner.player.ReadyWeapon != self) || !(Owner.player.WeaponState&WF_WEAPONSWITCHOK) || (Owner.player.WeaponState&WF_DISABLESWITCH) )
{
tooltipsent = false;
@ -687,6 +691,7 @@ Class SWWMWeapon : Weapon abstract
+WEAPON.NOALERT;
+WEAPON.NODEATHINPUT;
+FLOATBOB;
+INTERPOLATEANGLES;
+DONTGIB;
FloatBobStrength 0.25;
}
@ -697,6 +702,7 @@ Class SWWMDualWeaponGiver : Inventory
{
Mixin SWWMOverlapPickupSound;
Mixin SWWMRespawn;
Mixin SWWMRotatingPickup;
bool bUsePickup;
SWWMWeapon giveme[2];

View file

@ -7,6 +7,7 @@ Class HellblazerX : SWWMItemOverlay
{
RenderStyle "Translucent";
Alpha .5;
+INTERPOLATEANGLES;
}
States
{