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:
parent
6950bb48a1
commit
e562754f00
43 changed files with 760 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue