Author Topic: Vehicle gun round selection icons  (Read 1040 times)

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Vehicle gun round selection icons
« on: 01-11-2009, 19:11:33 »
How on earth did you guys make 150x44 dds files??
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline Fabien

  • Newbie
  • *
  • Posts: 40
  • FrH Developer - FH Betatester
    • View Profile
Re: Vehicle gun round selection icons
« Reply #1 on: 01-11-2009, 21:11:08 »
You can use GIMP or Photoshop with their DDS plugin ;)

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Re: Vehicle gun round selection icons
« Reply #2 on: 02-11-2009, 01:11:36 »
No I can't, the size needs to be a ^2 (128x32, 512x512, 1024x2048, etc).
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline Toddel

  • Administrator
  • ******
  • Posts: 714
  • Donate for the biggest BattleField Mod Supporter!!
    • View Profile
Re: Vehicle gun round selection icons
« Reply #3 on: 02-11-2009, 15:11:05 »
iirc all Hud related pictures are png´s renamed to dds

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Re: Vehicle gun round selection icons
« Reply #4 on: 02-11-2009, 19:11:20 »
Not according to Irfanview, it always tells me if an image is named wrongly (which it does for several FH2 dds files) but not these. In fact if I rename them to .png irfanview says they're wrongly named dds files. Photoshop also opens them fine using the dds plugin.

They are also the wrong filesize to be png's. Unless I'm missing something... I'll try it out anyway.
It's half naked people on boats. That's all.
Here in Finland we call that "summer".

Offline Toddel

  • Administrator
  • ******
  • Posts: 714
  • Donate for the biggest BattleField Mod Supporter!!
    • View Profile
Re: Vehicle gun round selection icons
« Reply #5 on: 02-11-2009, 20:11:44 »
this png stuff is for minimap stuff. i missread your question. you mean the weapon ability icons. where you seöect a rifle for example? iirc they are packed on a atlas map. at least in fh2. so it doesnt matter how big they are because in the end the file will be packed on a bigger 2048x2048 texture.

Offline [130.Pz]S.Lainer

  • FH-Betatester
  • ***
  • Posts: 1.934
    • View Profile
    • 130th
Re: Vehicle gun round selection icons
« Reply #6 on: 02-11-2009, 22:11:00 »
  I think he is talking about gun rounds for the tanks and such (AP-HE PZG40).  But to be honest I try to avoid getting in Paaskys head.  It is a dark and scary place.
http://www.bfewaw.com/campaigns/waw24/promo/campaign/waw24banner1.png
The purpose of this deployment was to "annoy and defy the United States ... on her with Bofors 40 mm guns from a range of 650

Offline Kev4000

  • Developer
  • ******
  • Posts: 1.039
  • FH2 "special" coder
    • View Profile
Re: Vehicle gun round selection icons
« Reply #7 on: 03-11-2009, 09:11:01 »
They're 8888 .dds files, which doesn't follow the power of 2 limitation IIRC. They're also generated into an atlas to save on drawcalls.
However, we should've just kept them all .tga files to simplify it, as they're converted into atlases in .dds anyway.
« Last Edit: 03-11-2009, 09:11:58 by Kev4000 »

Offline Paasky

  • Sr. Member
  • ****
  • Posts: 1.801
  • DON'T PANIC! DON'T PANIC!
    • View Profile
Re: Vehicle gun round selection icons
« Reply #8 on: 03-11-2009, 14:11:03 »
Yeah, I'm making a Panzer I and it has normal MG & AP MG rounds.

Thanks kev, 8888 worked.
It's half naked people on boats. That's all.
Here in Finland we call that "summer".