Building Icons

Development of artwork, requests, suggestions, samples, or if you have artwork to offer. Primarily for the artists.
Message
Author
User avatar
pd
Graphics Lead Emeritus
Posts: 1924
Joined: Mon Mar 08, 2004 6:17 pm
Location: 52°16'N 10°31'E

Re: Building Icons

#106 Post by pd »

eleazar wrote:I suggest you delete the file manually then update SVN.
The file never existed, it can't. I've emptied the entire folder even without any faulty files visible, but that didn't do anything.
Geoff the Medio wrote:
pd wrote:Still broken for me.
Try SVN clean up (in the right-click TortoiseSVN menu).
Didn't work either. Neither globally nor on the specific folder.

User avatar
eleazar
Design & Graphics Lead Emeritus
Posts: 3858
Joined: Sat Sep 23, 2006 7:09 pm
Location: USA — midwest

Re: Building Icons

#107 Post by eleazar »

I dunno, perhaps try a different client? Your problem seems to be local, since the repository has moved on, and the command-line client never had any problems with "?" in filenames.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12725
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Building Icons

#108 Post by Geoff the Medio »

eleazar wrote:I dunno, perhaps try a different client? Your problem seems to be local, since the repository has moved on, and the command-line client never had any problems with "?" in filenames.
It's not a matter of command-line vs. graphical interface; the ? are a problem with filenames on Windows.

pd, try updating to revision 4141 or so (there's a command in the menu to do so), and then updating to the latest, deleting the default/data/art/icons/building/ directory before and after each update.

User avatar
pd
Graphics Lead Emeritus
Posts: 1924
Joined: Mon Mar 08, 2004 6:17 pm
Location: 52°16'N 10°31'E

Re: Building Icons

#109 Post by pd »

Going back to 4141 seemed to work just fine, but updating to the most current one produced the same error message as before. Very strange.
Anyway, I've deleted everything and got it all fresh again. That did the trick.

User avatar
eleazar
Design & Graphics Lead Emeritus
Posts: 3858
Joined: Sat Sep 23, 2006 7:09 pm
Location: USA — midwest

Re: Building Icons

#110 Post by eleazar »

Sorry about the trouble.

User avatar
coCoKNIght
Space Squid
Posts: 67
Joined: Sun Jun 06, 2010 6:04 pm
Location: Basel, Switzerland

Re: Building Icons

#111 Post by coCoKNIght »

Hi, it looks like it's been some years since somebody posted something here. What happened? The To-Do list on the first post of this thread needs updating. Could you do that @Josh? It seems there have been some building icon additions to the game apart from the ones posted in this thread. Is there another place where this is discussed and where progress on building icons is being tracked?

Transformer (Organic):
256x256 on black:
Image
64x64 on black:
Image
64x64 transparent:
Image

Source Blender file: http://cocoknight.com/freeorion/transfo ... rmer.blend
As stated in the source file, the graphics in this post are released under the Creative Commons Attribution-ShareAlike 3.0 licence (http://creativecommons.org/licenses/by-sa/3.0/).

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12725
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Building Icons

#112 Post by Geoff the Medio »

coCoKNIght wrote:Could you do that @Josh?
He hasn't been on the forums in ~8 months, so probably not.
Is there another place where this is discussed and where progress on building icons is being tracked?
Also probably not.

Committed the icon.

User avatar
coCoKNIght
Space Squid
Posts: 67
Joined: Sun Jun 06, 2010 6:04 pm
Location: Basel, Switzerland

Re: Building Icons

#113 Post by coCoKNIght »

Thanks Geoff!

I've been going through the building type list in Pedia and I've encountered several building types which use the general purpose building type icon even though an appropriate specific icon for this building type already exists. I think the following building type icons should be linked to the corresponding existing icon:

- Artificial Moon should probably use the same icon as Resonant Moon Special since that's what it does (Terraforming is already handled this way)
- Gaia Transformation should probably use the same icon as Gaia Special since that's what it does (Terraforming is already handled this way)
- Colony Base should probably use the same icon as Colony Base Ship since that's what it produces.

The following Icons could theoretically be linked to their corresponding tech Icons. However, since they're supposed to have different styles, I wouldn't necessarily recommend doing this. Also I think it is likely that these techs will evolve and one day lead to more than just the one building type:
- Industrial Center could theoretically use the same Icon as Industrial Centers Tech, or - if researched - Greater Industrial Center Tech/Supreme Industrial Center Tech. (There's an inconsistency here btw. First tech name is plural, second and third are singular.)
- Planetary Cloaking Device could theoretically use the same Icon as Planetary Cloaking Device Tech since (currently) that's the only thing this does (This tech has no unique icon yet, though)
- Spatial Distortion Generator could theoretically use the same Icon as Spatial Distortion Generator Tech since (currently) that's the only thing this does (This tech has no unique icon yet, though)
- Stargate could theoretically use the same Icon as Stargate Tech since (currently) that's the only thing this does (This tech has no unique icon yet, though)
Edit (forgot to add):
- Artificial Planet could theoretically use the same Icon as Artificial Planet Tech since (currently) that's the only thing this does

User avatar
coCoKNIght
Space Squid
Posts: 67
Joined: Sun Jun 06, 2010 6:04 pm
Location: Basel, Switzerland

Re: Building Icons

#114 Post by coCoKNIght »

Stargate:

64x64 on black:
Image
64x64 transparent:
Image

Source Blender file: http://cocoknight.com/freeorion/stargate/stargate.blend
The graphics in this post are released under the Creative Commons Attribution-ShareAlike 3.0 licence (http://creativecommons.org/licenses/by-sa/3.0/).

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12725
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Building Icons

#115 Post by Geoff the Medio »

coCoKNIght wrote:Stargate
committed

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12725
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Building Icons

#116 Post by Geoff the Medio »

coCoKNIght wrote:I think the following building type icons should be linked to the corresponding existing icon...
Could you make a patch that implements that?

User avatar
coCoKNIght
Space Squid
Posts: 67
Joined: Sun Jun 06, 2010 6:04 pm
Location: Basel, Switzerland

Re: Building Icons

#117 Post by coCoKNIght »

Geoff the Medio wrote:Could you make a patch that implements that?
My thought was, to simply use the existing images either via a symbolic link or via a copy of the image file. Or are you asking for a Diff of the file that states what building icon uses which image file?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12725
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Building Icons

#118 Post by Geoff the Medio »

You don't need to copy anything... Just add the icon files to the building definitions in buildings.txt, similar the previous change...

https://sourceforge.net/p/freeorion/code/7232/#diff-2

Make a patch that does that for the suggested icons.

User avatar
coCoKNIght
Space Squid
Posts: 67
Joined: Sun Jun 06, 2010 6:04 pm
Location: Basel, Switzerland

Re: Building Icons

#119 Post by coCoKNIght »

Well, here goes my first patch ever.
Some considerations:
The resonant moon icon is only available in 128x128.
The colony base icon is only available in 256x256.
Is it alright to use these sizes for building icons?

Code: Select all

Index: default/buildings.txt
===================================================================
--- default/buildings.txt	(revision 7235)
+++ default/buildings.txt	(working copy)
@@ -813,7 +813,7 @@
             activation = Source
             effects = Destroy
     ]
-    icon = ""
+    icon = "icons/specials_large/gaia.png"
     
 BuildingType
     name = "BLD_ART_BLACK_HOLE"
@@ -1302,7 +1302,7 @@
             ]
             activation = Source
             effects = AddSpecial "RESONANT_MOON_SPECIAL"
-    icon = ""
+    icon = "icons/specials_huge/resonant_moon.png"
 
 BuildingType
     name = "BLD_TRANSFORMER"
@@ -1470,7 +1470,7 @@
             activation = Source
             effects = Destroy
     ]
-    icon = ""
+    icon = "icons/ship_hulls/colony_base_hull_small.png"
 
 BuildingType
     name = "BLD_EXPERIMENTOR_OUTPOST"

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12725
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Building Icons

#120 Post by Geoff the Medio »

coCoKNIght wrote:The resonant moon icon is only available in 128x128.
The colony base icon is only available in 256x256.
Is it alright to use these sizes for building icons?
If they look OK, yes. They will be resized to fit the available space, which in some cases is very tiny for a building icon, so something design at 256x256 might not look very good in that case...

Edit: I can't get that patch to apply. Please post it as a patch file, not as text in the post.

Post Reply