Author Topic: Feature: HUD indication when carrying flag(s)  (Read 9761 times)

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: HUD indication when carrying flag(s)
« Reply #20 on: January 21, 2008, 03:08:16 AM »
It's like 10% of a build! :|

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Feature: HUD indication when carrying flag(s)
« Reply #21 on: January 21, 2008, 12:24:28 PM »
Not sure if I should do a release with just a couple small enhancements or wait until I have something more.

I meant screenshot.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: HUD indication when carrying flag(s)
« Reply #22 on: January 22, 2008, 01:42:32 AM »
Oh, it's just the flag icon in place of the mask.  Not really much to see...  Not at my desktop right now, so I can't take a screenshot.  Also, it's server-side, not client-side.

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Feature: HUD indication when carrying flag(s)
« Reply #23 on: February 05, 2008, 12:01:31 AM »
...
I've also had times where I thought I picked up a single flag when I've picked up two from a flag drop.

i like the idea of changing the player's own icon to a flag rather than messing with the team icon any further.
since hud items are just image files, what about this: make a few copies of the flag icon and put a number on the flag in an editor (e.g. just '2' i guess... unless there are maps that have more flags than that), so that depending on the number of flags possessed, it just picks the corresponding image to display.
that way you don't have to worry about how many hud spots there are.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: HUD indication when carrying flag(s)
« Reply #24 on: February 06, 2008, 07:56:30 PM »
i like the idea of changing the player's own icon to a flag rather than messing with the team icon any further.
since hud items are just image files, what about this: make a few copies of the flag icon and put a number on the flag in an editor (e.g. just '2' i guess... unless there are maps that have more flags than that), so that depending on the number of flags possessed, it just picks the corresponding image to display.
that way you don't have to worry about how many hud spots there are.

That could certainly be done, but the downside is that it uses more texture memory and who knows how many flags might be in a map.  I guess I could just make one for "2+".

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Feature: HUD indication when carrying flag(s)
« Reply #25 on: February 06, 2008, 10:30:54 PM »
How about you leave the number out of the picture?  Just put some text over the flag?  That way you don't need any additional textures.  Reuse the flag from the team status (resize via script maybe?) and overlay text to show how may flags you have or to show the combined point value.

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Feature: HUD indication when carrying flag(s)
« Reply #26 on: February 07, 2008, 12:04:34 AM »
i think this applies...

... the HUD is already "full".  I think all 32 HUD slots are used.
;)

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Feature: HUD indication when carrying flag(s)
« Reply #27 on: February 07, 2008, 12:36:23 AM »
Then script it to overlay the text.

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Feature: HUD indication when carrying flag(s)
« Reply #28 on: February 07, 2008, 12:59:33 AM »
isnt that the same as the "nested HUD slots" you asked about before?

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Feature: HUD indication when carrying flag(s)
« Reply #29 on: February 07, 2008, 11:06:52 AM »
Extremely similar.