Multi-image SBARINFO bars

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Dancso
Posts: 1906
Joined: Wed Oct 11, 2006 10:39 am
Location: at home.. Status: lazy like hell

Multi-image SBARINFO bars

Post by Dancso »

Hallo thar.

I am wondering if it is possible to make a bar with SBARINFO which has more than one foreground images -- So you could, for example use bars to display health over 100.

D:

Ideas? Been looking around the wiki but i'm blind. :wink:
Blzut3
 
 
Posts: 3210
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Multi-image SBARINFO bars

Post by Blzut3 »

Not yet.
User avatar
Dancso
Posts: 1906
Joined: Wed Oct 11, 2006 10:39 am
Location: at home.. Status: lazy like hell

Re: Multi-image SBARINFO bars

Post by Dancso »

Blzut3 wrote:Not yet.
Does that mean, it is under work or has been suggested as a feature?
Blzut3
 
 
Posts: 3210
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Multi-image SBARINFO bars

Post by Blzut3 »

Strife has a similar feature. Of course Strife's bars are independent of graphics, but I'll probably work a similar feature into drawbar.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Multi-image SBARINFO bars

Post by wildweasel »

I would absolutely love this if it were implemented. Then I could make my status bars that much more minimalistic...
User avatar
Dancso
Posts: 1906
Joined: Wed Oct 11, 2006 10:39 am
Location: at home.. Status: lazy like hell

Re: Multi-image SBARINFO bars

Post by Dancso »

wildweasel wrote:I would absolutely love this if it were implemented. Then I could make my status bars that much more minimalistic...
>Clicky<

Meh, Got inspired by both one of yours, and an addon from world of warcraft lolage.
I know, the bars need to be more transparent.
(yellow bars show the ammo)

Speaking of which... A nice feature like "sethudsize" with SBARINFO would come in handy with this also because numbers scaled to 320x200 don't look very good with this statusbar of mine. :\ But if i put no scale then it goes tiny :P
User avatar
Caligari87
Admin
Posts: 6234
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Multi-image SBARINFO bars

Post by Caligari87 »

Can I steal that for later use? :D I'd play Doom with that in a heartbeat.

8-)
User avatar
Dancso
Posts: 1906
Joined: Wed Oct 11, 2006 10:39 am
Location: at home.. Status: lazy like hell

Re: Multi-image SBARINFO bars

Post by Dancso »

Well here you go:
>Clickey<
For personal use only :P

I must warn you however, that you can not see the actual amounts shown on the bars (unless you also use some extra sbarinfo stuff for this, or ACS) and the bars are currently too opaque (even though i've set it 50% opacity it still seems more than that) will try 25% later and of course will do some number display for it.

The reason i didnt put in numbers already is for compatibility with skulltag :P Since you cant use custom ACS stuff, only SBARINFO, I either have to wait until sethudsize is avalible for sbarinfo, or use too big numbers.
Blzut3
 
 
Posts: 3210
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Multi-image SBARINFO bars

Post by Blzut3 »

Or use HIRESTEX/TEXTURES.
User avatar
Dancso
Posts: 1906
Joined: Wed Oct 11, 2006 10:39 am
Location: at home.. Status: lazy like hell

Re: Multi-image SBARINFO bars

Post by Dancso »

Blzut3 wrote:Or use HIRESTEX/TEXTURES.
That's what i've been using to scale the images.
Blzut3
 
 
Posts: 3210
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: Multi-image SBARINFO bars

Post by Blzut3 »

You can also scale FONTDEFS fonts with it.
User avatar
Caligari87
Admin
Posts: 6234
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Multi-image SBARINFO bars

Post by Caligari87 »

So I may just be a retard, but how do you use this status bar? I've tried just dragging and dropping onto GZDoom (v1.1.04), but I get nothing. Do I need to add a definition?

8-)
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Multi-image SBARINFO bars

Post by wildweasel »

SBARINFO is currently only available in SVN builds, so go get yourself one of those.
User avatar
Caligari87
Admin
Posts: 6234
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Multi-image SBARINFO bars

Post by Caligari87 »

Ah, thanks

8-)
User avatar
Dancso
Posts: 1906
Joined: Wed Oct 11, 2006 10:39 am
Location: at home.. Status: lazy like hell

Re: Multi-image SBARINFO bars

Post by Dancso »

Also make sure you have the zdoom hud selected. The others should be invisible because of my sbarinfo lump, so that means if you had the good old statusbar on, change it to the one where the zdoom hud usually is.

I use GZDoom 1.1.4 (r993) and it works for me, and i don't believe this is an SVN version. I also think this is the latest proper release (non-SVN) so it should be fine? D:
Locked

Return to “Editing (Archive)”