PDA

View Full Version : Horizontal Bars


Uisor
08-10-2004, 11:59 AM
I'm trying to make health and bullettime bars horizontal, well they already are horizontal, but they still work like normal MP2 bars.

What I wonder is that have anyone previously tried this and if yes, have they succeeded in it? And ofcorse would be kind enough to help me out whit this.

So the main question is, how I can make the bars decrease from right to left?

Attached is a screen to show how the current HUD looks.

Sheikah
08-10-2004, 12:05 PM
off topic: Is this a map made by you? - if not - where can I get it?
(It's the subway scene from The Matrix, eh?)

Joonas
08-10-2004, 12:05 PM
What I wonder is that have anyone previously tried this and if yes, have they succeeded in it?



Yes and yes. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif

ADM
08-10-2004, 12:07 PM
What I wonder is that have anyone previously tried this and if yes, have they succeeded in it?



Yes and yes. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif



Joonas.. this is usually where people explain how to do it http://forums.3drealms.com/ubbthreads/images/graemlins/wink.gif

MentalSentinel
08-10-2004, 12:07 PM
A typical Joonas answer http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif.
Maybe you care enough to explain this?
I haven't tried this, thought it was hardcoded, didn't take a look at it. But if it is not hardcoded it's great news.
I'll have a look at it right now http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif.

Rico
08-10-2004, 12:58 PM
It's no different than what we did to change the Civil Unrest HUD. Go look at our source files and you'll see how to reposition and completely change the hud Uisor.

Just give credit to the team or Code_Warrior.

Higginson
08-10-2004, 01:21 PM
Speaking of horizontal bars, is that possible for the loading bars on a loading screen?

Uisor
08-10-2004, 01:27 PM
What I wonder is that have anyone previously tried this and if yes, have they succeeded in it?



Yes and yes. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif



I know, I have played Operative, but haven't seen any for MP2.


off topic: Is this a map made by you? - if not - where can I get it?
(It's the subway scene from The Matrix, eh?)



Yes it's made by me and it's the subway from The Matrix. It's not yet downloadable, because it will be part of "The Agents", Matrix project of mine.

Joonas
08-10-2004, 02:56 PM
What I wonder is that have anyone previously tried this and if yes, have they succeeded in it?



Yes and yes. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif



Joonas.. this is usually where people explain how to do it http://forums.3drealms.com/ubbthreads/images/graemlins/wink.gif



Lovely, but I don't know how to do that. http://forums.3drealms.com/ubbthreads/images/graemlins/wink.gif

MrUniq
08-10-2004, 04:51 PM
I'd like to know this as well...is it these values that require it to be changed?

[HealthSpecific]
LowHealth = 1.0; // normalized 0..1 health
ShowInverseHealth = true; // true = use "painbar", false = use healthbar

// these variables only matter for the player
[DamageFlash]
MinimumHitPoints = 1; // amount of hitpoints to lose at once to trigger the flash
MinimumColor = A5000010;
MinimumFadeOutTime = 0.05;
MinimumStayInTime = 0.1;

MaximumHitPoints = 140; // amount of hitpoints where to clamp the flash
MaximumColor = A50000D0;
MaximumFadeOutTime = 1.0;
MaximumStayInTime = 0.1;

[Visibility]
Duration = 2.10;
FadeInTime = 0.05;
FadeOutTime = 2.0;

[Sprites]
{
[RegenerationSprite]
// reference point must be DOWN for this sprite
ReferencePoint = DOWN;
Position = ( 25, 478, 0 );
Width = 45;
Height = 89.0;
Filename = "bitmaps\Health_Max_Foreground.dds";
DefaultVertexAlpha = 192;

[Sprite]
// reference point must be DOWN for this sprite
ReferencePoint = DOWN;
Position = ( 25, 478, 0 );
Width = 45;
Height = 90.0;
Filename = "bitmaps\Health_Max_Foreground.dds";
DefaultVertexAlpha = 255;

[BackgroundSprite]
// reference point must be DOWN for this sprite
ReferencePoint = DOWN;
Position = ( 25, 478, 0 );
Width = 45;
Height = 90.0;
Filename = "bitmaps\Health_Max_Background.dds";
DefaultVertexAlpha = 128;
}

Robert
08-11-2004, 06:57 AM
Speaking of horizontal bars, is that possible for the loading bars on a loading screen?


The loading bars are already horizontal

Higginson
08-11-2004, 11:50 AM
Damn it, I meant vertical :P