Thread Tools
Old September 28, 2002, 17:08   #1
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 09:40
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
tga question
In the orders.txt there's an entry CPIcon with an tga file. I was trying to look for that file but couldn't find it. Is that entry even used?
Then there's the entry DefaultIcon, but no special OrderIcon.txt.

What I did find are the tga's uco###.tga which seem to be the cursors, but I really have no clue.

Anybody more experienced in this?
mapfi is offline  
Old September 28, 2002, 18:31   #2
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 10:40
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
CPIcon is the icon you find on the order button bank. The indices with the cursors are really strange it seems that there is a index shift by +1 if you enter InvalidCursor 2 then it seems UC003.tga is used. Of course to clear this up, just use the Trial and Error method.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old September 29, 2002, 06:03   #3
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 09:40
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
Thanks.
So the DefaultIcon entry is useless?
And where would I find the CPIcon? The name's upsi##.tga
mapfi is offline  
Old September 29, 2002, 07:25   #4
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 10:40
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by mapfi
Thanks.
So the DefaultIcon entry is useless?
And where would I find the CPIcon? The name's upsi##.tga
DefaultIcon is a link to the uniticon.txt for the Great Library.

The upsi##.tga files are located in the *.zfs files in the picture folder use the zfs reader by Martin the Dane you find in the Great Apolyton Directory.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old September 29, 2002, 15:58   #5
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 09:40
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
Is it possible to change one of the tgas in that zfs file?
Can I give the CPIcon an entry that refers to a tga file that I put in the pictures folder?
Can I add new cursors with the next available number?

(I'm asking to save me some testing work since you seem to know that stuff terribly well!)
mapfi is offline  
Old September 29, 2002, 16:57   #6
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 10:40
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by mapfi
Is it possible to change one of the tgas in that zfs file?
It is not possible, but it isn't necessary either, because first the game will search for an *.tga file in the picture directory and use it, is there no *.tga file then it looks into the *.zfs file for an according *.rim file.

Quote:
Originally posted by mapfi
Can I give the CPIcon an entry that refers to a tga file that I put in the pictures folder?
Yes, as I explained above.

Quote:
Originally posted by mapfi
Can I add new cursors with the next available number?
I never tried this but should be possible.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old September 30, 2002, 02:47   #7
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 09:40
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
Thanks for the valuable info. I'll try next weekend.
mapfi is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:40.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team