Before you can add the code changes to implement the Area Powerup feature you first must have added the code changes for the Scripted Hud as described here and here. That done, we can move on to the new code changes. All changes take place in the CGame module. It must be stressed that you have the latest version of the UI source code in your source tree before attempting any code changes.
cg_newdraw.c
In the CG_DrawAreaPowerUp function about line 832 add the following :
char num[16];
// Changed for Powerup
int w ;
// end changed for Powerup
int sorted[MAX_POWERUPS];
and at about line 906 make these changes :
Com_sprintf (num, sizeof(num), "%i", sortedTime[i] / 1000);
// Changed for Powerup
w = ((r2.w * .75) - CG_Text_Width( num, scale, 0 ))/2;
CG_Text_Paint(r2.x + w + 1, r2.y + r2.h, scale, color, num, 0, 0, 0);
// end changed for Powerup
*inc += r2.w + special;