Peacemaker implemented, with some minor model adjustments.

Fixed ammo bars in hud being positioned incorrectly if a weapon in the slot has no ammo.
Sentries now will also complain if the terrain is too steep or you're trying to deploy them in mid-air.
Adjusted protomag spin animation. Still not perfect but I tried my best.
Guess what: more PNG optimization.
This commit is contained in:
Marisa the Magician 2019-09-15 01:49:30 +02:00
commit e562754f00
43 changed files with 760 additions and 17 deletions

View file

@ -345,6 +345,7 @@ Class UnrealHUD : BaseStatusBar
for ( int j=0; j<aslots[i].Size(); j++ )
{
let amo = aslots[i][j];
if ( amo.Amount <= 0 ) continue;
AmmoBarSize = 16*min(1.0,amo.Amount/double(amo.MaxAmount));
CurX = HalfHUDX-3+realslot*6+(4./nammo)*cbar;
CurY = HalfHUDY+29-AmmoBarSize;