Author Topic: Shield Icons  (Read 4478 times)

0 Members and 1 Guest are viewing this topic.

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Quote from: mjn.mixael on IRC
<MjnMixael> FFFFFFFFFFFUUUUUUUUUUUUUUUU
<MjnMixael> I can NOT get these shield ANIs to work right
<MjnMixael> F THIS DAMNED GAME

It's 2 AM, I've searched the forums, the wiki and anything else I could think of. I've tried copying palettes from working ANIs and all kinds of other trickery and I can NOT get these things to work. They either don't show up, or the quadrants to respond to getting hit.

Please.... Help....

I'm going to sleep now......

[attachment deleted by ninja]
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Talon 1024

  • 29
  • How do you turn this on?
    • Mods, Games, and Stuff
You had the right palette, but for some reason, it got reversed.  I don't know what's causing the palette to get reversed, but what software are you using to export the paletted bitmaps?
To understand religion, you need to understand morality first. | WCSaga website | WCSaga Forum | 158th website | 158th forum | Project Leader: WC: Hostile Frontier | WCHF Thread at CIC | Wing Blender | Twist of Fate | Multipart turrets on angled surfaces, tutorial included. | My Google Drive stuff | To convert speeds from WC to WCS, multiply both the cruise speed and the Afterburner speed by 0.15625 (5/32)

FS2 Mods I'm waiting on: Inferno 10th Anniversary
Current Project: Contestant Android app, Learn4Life iOS app, Blender Commander (importer).
The FreeSpace Font Foundry is back in action!

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
shouldn't they work as 24bbp images now, or is that just the rest of the HUD?

shield ANIs (and briefing ANIs... and weapon ANIs... etc) have always been wonky, I remember making a few myself and it was insane

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
"generate icon"

screw ANIs.
(´・ω・`)
=============================================================

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
generate icon? Wut?

I tried... moar info plz.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Comment out "$Shield Icon:" line and add "Generate icon" flag.
Voila! No need to mess with anis.

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
meh... the shields on the "generate icon" thingy don't look all that great

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
"generate icon" as a flag in ships.tbl makes the game render the model from a top-down view as a shield icon.
You get full-color too!

But the shield bars aren't that great, yeah, they form a box.
(´・ω・`)
=============================================================

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Meh.. I'd rather get these working. Also, I used Photoshop.

I guess it's worth asking.. anyone willing to try and fix them for me? I've had about as much frustration with these as I can take for now...
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Use MS Paint. I'm serious. Open an existing ANI in Paint, paste in your frame, and save as BMP. It will preserve the palette of the existing image.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Photoshop does it too.
(´・ω・`)
=============================================================

  

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Photoshop does it too.

Apparently not correctly.

Use MS Paint. I'm serious. Open an existing ANI in Paint, paste in your frame, and save as BMP. It will preserve the palette of the existing image.

then do you use Bright to make the .pcx files?
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
I does it correctly when I do it.
Otherwise HeadANIs wouldn't work either.
(´・ω・`)
=============================================================

 

Offline bigchunk1

  • bigchunk1 = Awesome²
  • 29
  • ...and by awesome I mean Jerk!
Here's how I make them, and I got them to work:

Step 1: Go into your Freespace directory and look in the sparky.vp in the hud folder. Look for a retail .ani with a shield border that will fit your ship. Open one of the retail made shield .anis and extract it into a clean folder. Open the .ani using Aniview and export the .ani as separate frames. 

Step 2: Open fred and get rid of gridlines, stars and labels. Take a screenshot from the top of the fighter you want to make a shield .ani for.

Step3: Open the first frame in your extracted retail .ani using a program that can import .pcx (I like gimp for this) and paste your freded image on top of it. Your pasted image should turn grey because your paint program converted the screenshot to greyscale for you. Make sure you line it up well so it will fit inside the shield. You might need to scale it.

Edit: also might want to darken the background to ensure it's pure black. This will make the background transparent.

Step 4: Go into .ani builder and build the images as a 'command briefing or animation' type. You should now see your new fighter as part of the shield ani. Give it a new name to be used as a table reference.

Step 5: Double check table references in the ships.tbl, make sure you got the newly made .ani in <mod>/data/hud and it should be good to go. 

That's all I do and it works. Not exactly sure why these won't work. You might be using the wrong .ani type or you might have the incorrect .pcx format. Should be greyscale with the appropriate dimensions.
BP Multi
The Antagonist
Zacam: Uh. No, using an effect is okay. But you are literally using the TECHROOM ani as the weapon effect.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Ok, I did exactly that. The one for the Shrike works, but the others still don't seem to change intensity when fired upon in-game. Could it be something in the tables?

EDIT: I'm 90% sure it's a table issue. I swapped the icon the Shrike uses to the one I made for the Mustang Alpha. The icon worked properly in-game. What the crap kind of table settings can cause the icon's shield quadrants to seem like they aren't registering hits?

EDIT2: I've attached the table I'm using.. the ships in question are at the top, Shrike, Mustang Alpha, Mustang Beta, Kestrel.


EDIT3: Nope, I'm a frakking tard... POFs need shield meshes to register shield hits. It just dawned on me. So now.. what's the most successful way of creating shield meshes?

[attachment deleted by ninja]
« Last Edit: May 22, 2011, 03:36:15 pm by mjn.mixael »
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline bigchunk1

  • bigchunk1 = Awesome²
  • 29
  • ...and by awesome I mean Jerk!
Load (using load button while shield is selected in pcs2) them from other models and scale/move them into place using pcs2.
BP Multi
The Antagonist
Zacam: Uh. No, using an effect is okay. But you are literally using the TECHROOM ani as the weapon effect.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Load (using load button while shield is selected in pcs2) them from other models and scale/move them into place using pcs2.

Brilliance, thank you.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
then do you use Bright to make the .pcx files?

Bright might try to repallettize them. Just convert with IrfanView.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Just as an answer to the OP... Photoshop handles palettes strangely, me and Backslash ran into this
exact issue years ago and had to make a custom palette that would work with Photoshop specifically.
PSP seems to work fine for whatever reason.

I've attached it for ya.

[attachment deleted by ninja]
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
oh hey, that's pretty sweet, thanks!
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.