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: Call To Power > CtP-Creation > Messagebox icons, a potential question for MR. Ogre
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Diemar is offline Diemar
Chieftain
Tåstrup, Sjælland, Denmark
Jul 1999
time: 05:13
Question  Old Post 22-07-1999 06:05
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Messagebox icons, a potential question for MR. Ogre Remove this text

You are not able to create message icons with the sprite tool. You can create various sprites and effects but not the messagebox icons.

I want to create an icon with applies to The new genre of information to The cctp-player I am writing.

SO how do I convert a .tga file to a messagebox icon that CCTP can find? I hope that I can avoid writing an entire spitetool, which can create messagebox icons. This can be done with The information you get with the sprite tool.


Enslave them all!

Thomas Diemar.

Diemar is offline Diemar
Chieftain
Tåstrup, Sjælland, Denmark
Jul 1999
time: 05:13
Thumbs up  Old Post 22-07-1999 06:07
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Get a bigger avatar today!

And by The way, I must admit that I find it awesome that Mr. Ogre takes the time to help us amateur programmers out!!!

Thanks, thanks and once again thanks for your time Mr. Ogre!


Enslave them all!

Thomas Diemar.
[This message has been edited by Diemar (edited July 21, 1999).]

Mr Ogre is offline Mr Ogre
Warlord
Azeroth
Jan 1970
time: 05:13
Post  Old Post 22-07-1999 10:42 Visit Mr Ogre's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

No conversion is necessary. If you have a tga file, you can just drop it in default\graphics\pictures, add 2 lines to default\gamedata\messageicon.txt. One line for the icon you're making, one line for the "selected" version - for which we always use the same icon(an X), but you can use another if you want. Don't forget to add two to the number at the top of messageicon.txt. That's it, you're all set, you can use your new icon in a messagebox with MessageType("WHATEVER_NAME_YOU_USED");

Atahualpa is offline Atahualpa
Emperor
Hawthrone
Mar 1999
time: 06:13
Question  Old Post 22-07-1999 17:12 Visit Atahualpa's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Enter the AD-FREE zone

thx Mr Ogre.
Do you also know the image size of all those icons? Are they 96x72?

ATa

Diemar is offline Diemar
Chieftain
Tåstrup, Sjælland, Denmark
Jul 1999
time: 05:13
Question  Old Post 22-07-1999 17:38
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

As I couldn’t find any ’upsxxx.tga’ files in any subdirectory i assumed that conversion was needed.
Thanks for The quick response.

Ehh, I’m just started on this ctp programming, and would like to ask some ‘dumb’ questions.
Is there any way to specify The size and placement (x1,y1,x2,y2) of a messagebox?
Is there any specific size a messageicon (x*Y) is to have?

Once again thanks for your help, it is very much appreciated.


Enslave them all!

Thomas Diemar.

[This message has been edited by Diemar (edited July 22, 1999).]

Depp is offline Depp
Prince
Stockholm, Sweden
Jan 1970
time: 05:13
Talking  Old Post 22-07-1999 19:59
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Lose 30 kilos (of popups)

Great, It Works!!!! A new icon for is really easy to make. I have already made one for the celebration messages, so now one can dismiss then without looking. Before it used the warning icon which can have big news!

I took the smile dude they use in the cityscreen and streched him out and used a normal messageiconbackground and voila!

Then i made a funcky looking RANK icon!

By the way, i took an icon from a screenshot at 1024X768 and that war 33X33 pixels ...

33X33X64K works great!

Thanks mr Ogre!
[This message has been edited by Depp (edited July 22, 1999).]

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:13.
Apolyton Time is 00:13.
    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.0333 seconds (87.20% PHP - 12.80% 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