How to create icons for new units?

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

How to create icons for new units?

Post by GottaLove88s »

Gents,

I've converted two objects (the barge from Arnhem and the Invasion Barge from Sealion) into a Freighter unit and a Landing Craft Tank unit.

Does anybody know how I can create one of Slith's round icons (see HMS Fernie below) for these new units?
Image
Right now their 'icon' space shows a messy blue blur, but it does correctly show what they're transporting, in this case a Churchill tank in an LCT
Image
Large size graphics here...
Image
Image
Thanks for any advice!
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Amaris
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 929
Joined: Fri Jul 23, 2010 11:08 am
Location: France
Contact:

Re: How to create icons for new units?

Post by Amaris »

Well I use the empty icon file:

Image

I take the 3D model from your screen. And I added it:

Image

Here's how to make an icon without drawing. :oops:
“Take care, my friend; watch your six, and do one more roll… just for me.”
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: How to create icons for new units?

Post by GottaLove88s »

Hey Amaris! That's clever. How did you do that?

Pls could you show me how to do for the LCT as well...? Where do I put these two new icon files? Do they need a particular name?
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Amaris
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 929
Joined: Fri Jul 23, 2010 11:08 am
Location: France
Contact:

Re: How to create icons for new units?

Post by Amaris »

I use Paint.net for that.
I don't remember where I found the empty icon file that I need.
I need too a screenshot of the unit.
I open it with Paint.net. I just copy the unit. I remove the background image around the unit. Then it remains to reduce the size of the unit for the icon:

Image

The icons file must be placed into \DATA\UI\Textures\Icons :!:

Their names was defined into the squad.csv file by the IconID attrib.
“Take care, my friend; watch your six, and do one more roll… just for me.”
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: How to create icons for new units?

Post by GottaLove88s »

Thanks again Amaris... Do these icons have to saved as .dds files, or will they work as .jpg?
You've attached such perfect icons. I'd love to use 'em as is... Please may we?
:D
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Amaris
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 929
Joined: Fri Jul 23, 2010 11:08 am
Location: France
Contact:

Re: How to create icons for new units?

Post by Amaris »

You must convert them into .dds file for the transparency.
Sure, you can use them, welcome. :wink:
“Take care, my friend; watch your six, and do one more roll… just for me.”
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: How to create icons for new units?

Post by GottaLove88s »

Hi Amaris,

Sorry...

I've just realised that I can't read .dds files in my usual editor (cheap and cheerful Photoshop Elements 10 for Mac) :oops: :oops:
Does anyone know of a Mac (or iPad) editor that's cheap (or free) that will let me load .jpg and save as .dds? :mrgreen: :mrgreen:

Thanks!
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Richcat
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 219
Joined: Sun Nov 07, 2010 10:09 pm

Re: How to create icons for new units?

Post by Richcat »

Hi GL88

I use PS elements but on PC

There is a plugin for photoshop from nvida https://developer.nvidia.com/nvidia-tex ... -photoshopbut don't know if its for mac

There is also Gimp with has a seperate dds plugin againhttp://www.gimp.org/ http://code.google.com/p/gimp-dds/
Last edited by Richcat on Tue May 21, 2013 12:02 am, edited 1 time in total.
Cheers
Richcat
jcb989
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1423
Joined: Fri Nov 05, 2010 12:02 am
Location: Bradenton, Florida

Re: How to create icons for new units?

Post by jcb989 »

I found Gimp woefully difficult to learn to use.

I am using DXTBmp which is free if I recall, but I am using it on PC. Maybe there is an equivalent.
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: How to create icons for new units?

Post by GottaLove88s »

Thanks Guys, I can't seem to find a Mac PS Elements version of the NVIDIA texture tools, on that link, darn it...
But I might be looking wrong? Have any other Mac guys done this before? Help!! :oops: :oops:
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Amaris
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 929
Joined: Fri Jul 23, 2010 11:08 am
Location: France
Contact:

Re: How to create icons for new units?

Post by Amaris »

Well try Graphic Converter 8: http://www.lemkesoft.de/en/products/graphic-converter/

Formats (can import & export .dds file): http://www.lemkesoft.de/en/products/gra ... t-formats/

It isn't free but there is a demo version.
“Take care, my friend; watch your six, and do one more roll… just for me.”
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: How to create icons for new units?

Post by GottaLove88s »

Thanks Amaris! I've gone with Graphics Converter 8 (the demo is free and it works perfectly, great tip, merci!)
So, as you can see I've copied the jpeg of your icon (from this thread) but GC8 has interpreted the transparent background as white... ARGH!!
Is there a toggle in GC8 that I can switch so that it will interpret white as transparent when it does the conversion to .dds?

Image
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Amaris
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 929
Joined: Fri Jul 23, 2010 11:08 am
Location: France
Contact:

Re: How to create icons for new units?

Post by Amaris »

You must erase the white background!

I'll send you the files with no white background. :wink: (can't host them simply)
“Take care, my friend; watch your six, and do one more roll… just for me.”
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: How to create icons for new units?

Post by GottaLove88s »

Amaris wrote:You must erase the white background!

I'll send you the files with no white background. :wink: (can't host them simply)
Merci Amaris. Got 'em and very gratefully used! THANK YOU :D :D
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Post Reply

Return to “Battle Academy : Modders Corner ”