Author Topic: Question regarding shield status on hud  (Read 1879 times)

0 Members and 1 Guest are viewing this topic.

Question regarding shield status on hud
I couldn't find any info in the Wiki or Karajorma's faq nor digging through 50 pages of this topic forum. What specifics are required for the shield icon on the hud?
I know it's index (256 color pallete) 112*93  pcx files blah0000.... blah0004.pcx merged with anibuilder.   
No keyframes (at least the ulysses shield-f01 properties said 0) and 30fps. (15fps doesn't work either)
Anibuilder reported no problems and the table has been updated for the file, however the ani doesn't appear on the hud in game.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: Question regarding shield status on hud
You have to add the animation filename to hud.tbl too. :)
Freelance Modeler | Amateur Artist

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Question regarding shield status on hud
i dont know, the hud tbl has been obsolete for ages and you can just get away putting the shield icon in the ships table.
the thing is that the sheild icons use a rather strict pallette. its stored as 8 bit but you only really have 15 shades of grey to work with. index 0 being black and index 15 being white. index is very important so dont let photoshop change your color indicies. best bet is extracting a frame from a shield icon with aniview open the color table in photoshop and save it as a pal file (not an act as they tend to mix up your indicies). then when converting your icon to index, load that pal file photoshop will match to the closest color in the pallette.

the icons are rendered with additive alpha so it makes the sheild segments grow smaller by darkening the pixel colors. if you look at sheild icons you find that the outermost part of the shield is really bright and becomes progressivly darker as it gets closer to the ship. this is so as their darkened they will eventually become zero and will disapear in the additive blending (because theires noting to add), this gives the effect of making the shilds apear thiner as they are weakened.

*feature request*
any chance we can get support for 32bit eff hud icons? rather than using the old meathod of rendering them. what about we give the shield segments alpha chanels and then multiply them (the alpha channels) by the percentage of sheilds in that segment. this would mean you could have color icons and fancyer shield effects. id really like to get away from the old ani format. its working with it tends to burn up a modders time. i dont know about you but i hate working with indexed color.
« Last Edit: March 14, 2006, 10:02:59 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
Re: Question regarding shield status on hud
Yuck still not working right. Think I'll wait till later to give it another shot.

I second Nukes request or even a 256 color pallete would be nice.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: Question regarding shield status on hud
Ah, I assumed you were doing it the retail way, for retail, in which case you would have needed to do the hud thing. I wasn't aware hud.tbl had been renderred obsolete.
Freelance Modeler | Amateur Artist

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Re: Question regarding shield status on hud
I made a walkthrough tutorial for this stuff a few years ago.  You can find it by going to the HLP main page, clicking on the "Resources" link in the left side bar, and then clicking on the Modding Tutorials link that comes up.  Follow my directions, and you should get perfect results. :)

Edit: Hmm, apparently that link is broken.  So here is the direct link while I get the admin to fix that one.
« Last Edit: March 15, 2006, 07:00:37 pm by Sesquipedalian »
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Question regarding shield status on hud
Ah, I assumed you were doing it the retail way, for retail, in which case you would have needed to do the hud thing. I wasn't aware hud.tbl had been renderred obsolete.

retail or not making shield icons hasnt changed much sence the beginning. the only change really is that you dont need a referance to your icon in the hud.tbl.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
Re: Question regarding shield status on hud
I made a walkthrough tutorial for this stuff a few years ago.  You can find it by going to the HLP main page, clicking on the "Resources" link in the left side bar, and then clicking on the Modding Tutorials link that comes up.  Follow my directions, and you should get perfect results. :)

Edit: Hmm, apparently that link is broken.  So here is the direct link while I get the admin to fix that one.

That did the trick! I think the palette on mine was messed up, not sure exactly.
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

  

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: Question regarding shield status on hud
Ah, I assumed you were doing it the retail way, for retail, in which case you would have needed to do the hud thing. I wasn't aware hud.tbl had been renderred obsolete.

retail or not making shield icons hasnt changed much sence the beginning. the only change really is that you dont need a referance to your icon in the hud.tbl.

Which is what I was referring to.
Freelance Modeler | Amateur Artist

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Re: Question regarding shield status on hud
I made a walkthrough tutorial for this stuff a few years ago.  You can find it by going to the HLP main page, clicking on the "Resources" link in the left side bar, and then clicking on the Modding Tutorials link that comes up.  Follow my directions, and you should get perfect results. :)

Edit: Hmm, apparently that link is broken.  So here is the direct link while I get the admin to fix that one.

That did the trick! I think the palette on mine was messed up, not sure exactly.
:) Glad to be of service.  Nice to know that all that work still helps people out.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting