Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization II > Civ2-Test of Time > Improving Unit Colour Visibility
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:23
  Old Post 07-11-2002 21:08
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Improving Unit Colour Visibility Support Apolyton, pre-order Civilization IV

Hi, well i found out that the units.bmp can be altered so instead of the little dot of dark colour, you can get a big bar across the top, above the health bar, which makes it much easier to see whos on whos side...

Just wondering if you all know about this already? I found this useful because i dont usually use animated units with their in-built team colours...

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:23
  Old Post 08-11-2002 01:43 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Tired of ads?

I'm not sure if you mean simply adding a coloured line to the non-animated unit graphic which would be the same no matter who owned the unit, or actually increasing the size of the box which shows the civ colour of the civ which owns the unit? Can you send us a screen shot?

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:23
  Old Post 08-11-2002 07:20 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
At the other end of the spectrum Avatar Enlargement: We've got the solution

Interesting. Expanding the pink region works to make the civ color larger.

I've been playing with the opposite idea - making the unit key small, with a light 'shield' for better contrast of the status letter (e.g. F, m, i, etc.). Then, I use a flag in the unit icon itself to show the civ (Alex/Nemo-style).

In the attachment:

Left - Bedouins using a unit key with a larger pink area
Middle - Bedouins with a minimalist unit key
Right - example unit keys
Top - original
2nd - brighter, less shadowing
3rd - expanded civ color (a la Daftpanzer, I think)
bottom - shadowless healthbar, neutralized civ color

These images are on the rough side (don't look at the camel's foot), but hopefully they show the concept.

Anyone else have ideas?

Attachment: exunitkey.png
This has been downloaded 129 time(s).

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:23
  Old Post 08-11-2002 11:30 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Increase the size of your Attachments

After looking at this a little further, I think I can see a few rules for colors in the unit key box of the units.bmp.

1) The top left pixel in the unit key box defines the transparent color. I don't fully understand this yet, but if a pixel in any other location is either the 'purple' transparent color of the units.bmp, or the color in the top left pixel, it becomes transparent on the civ screen.

2) The hitpoint bar appears to be hard coded as a 20x2 rectangle starting at column 11, row 5. Anything in this rectangle will be overwritten, regardless of the unit's hp status.

3) If you use the 'pink' transparent color of the units.bmp file almost anywhere in the unit key box (excepting 1 & 2 above), that pixel gets translated as the civ color (the city.bmp color mixed with gray[?]). Stacked units show 'staggered stacked' of unit keys with the 'one in the back' having a darker civ color (offset = ~4 pixels).

4) Within the limitations above, other colors are used without any adjustment by ToT.

A template for a large unit key should be attached (3x and 1x scale). I wouldn't recommend it for games with high unit density.

Now let's see what the artists create!

Attachment: unitkeytemplate.png
This has been downloaded 118 time(s).

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:23
  Old Post 09-11-2002 03:34 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

I think this one's (attached) very stylish (perhaps more suitable for the more modern scenarios)...

A little side note: The sprites allow you to assign the civ color to any pixel (in the desired shade as well), so technically, that would allow us to create shields like in earlier Civ2. The only two problems then are the healthbar and the command-letter (or what do you call it?), both seem to be fixed in place...

Attachment: healthbar.gif
This has been downloaded 113 time(s).

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:23
  Old Post 10-11-2002 06:38 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

Hard coding the location of the unit key bugs me. Right now, it's fixed at a upper central position in the square above. Any game with high unit density begins to look muddled.

Merc, nice touch with the built-in meter surrounding the health bar.

A (somewhat) related question. Is there a color in Cities.bmp that translates to the 'civ color' in the game? Case sent me some nice occupied airfield icons that contained flags. In MGE, they were the color of the occupying civ. In ToT, bright red.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:23
  Old Post 10-11-2002 18:51 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Bright red may have been because it was not owned by a civ, thus a barbarian (red) air field. Try moving a unit into it to see if it changes.

Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:23
  Old Post 10-11-2002 20:13
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton buy from Amazon

Thanks for the replies on this...

What i meant was, i had changed that top right corner of the units.bmp that defines how the dot of colour and health bar will look. I copied the same bright pink colour from the little blob of colour thats normally to the left of the health bar and painted over the dark purple area above the health bar. I ended up with something similar to boco's pic.

So in game, the civ colour is shown all across the top of the health bar. You can put in a grey border with black shadow to make it look nice... ill try and post a pic.

I just found it useful for my scenario, cos im using some different civ colours etc. which would make the units difficult to make out otherwise.

/edit i found my old site with some screenshots:

pic1

pic2

pic3

Last edited by Daftpanzer on 10-11-2002 at 20:21

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:23
  Old Post 11-11-2002 02:21 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Inflate your Upload Space

DP, you've opened a whole new area of unit editing for ToT. Thanks.

WK, unfortunately, the red in the attached icons stays red in ToT, even when occupied with a non-red civ.

In MGE, the red tents and flags immediately change color when placed on the map via shift-F8. Takes the color of the current civ's turn. Changes color when occupied by another civ.

(In case someone uses these icons, remember to credit Case.)

Attachment: case airbases.png
This has been downloaded 111 time(s).

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:23
  Old Post 11-11-2002 18:03 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Inflate your Upload Space

I noticed that too... I guess that's the downside of not having 256 paletted colors.

Daftpanzer is offline Daftpanzer
Warlord
Cydonia
Mar 2002
time: 05:23
  Old Post 13-11-2002 16:53
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
DP, you've opened a whole new area of unit editing for ToT. Thanks.


anytime!

(did i acutally contribute something useful for once? )

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:23
  Old Post 08-01-2003 05:27 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Command Letters in Unit Keys Support Apolyton, buy Civilization 2

Just a slight update. Those command letters signifying 'fortify', 'mine', and 'go to' take up a lot of real estate. In the left of the figure, there are 3 keys at regular scale:

1) A key that makes the command letter more visible at the cost of real estate given to the civ color.

2) Merc's slick straight edge 'metered' key.

3) A minimal key with no civ color (relies on flags in the unit icons).

On the right, the panels show how Civ2 places command letters on the 'shield'. It's an edited screen dump of units with orders caught in a max zoom view, then recolored with the colors from the unitkey section in my units.bmp.

The letters are centered on the shield, and as you change zoom, they get recentered. This can offset their position in the shield a 'half pixel' relative to the original units.bmp scale.

Attachment: mykeys.png
This has been downloaded 68 time(s).

DarthVeda is offline DarthVeda
Emperor
My avatar! My precious!
Jan 1970
time: 00:23
  Old Post 08-01-2003 10:27 Visit DarthVeda's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Full PM-box? Change here!

damn that's awesome! I'll have to throw that into Kyokujitsu right away!

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:23.
Apolyton Time is 00:23.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0484 seconds (91.22% PHP - 8.78% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net