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 > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > advanceicon.txt
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
  Old Post 25-11-2001 23:31
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
advanceicon.txt Support Apolyton, pre-order Civilization IV

hi folks

does anyone know if advanceicon.txt has any other use than to translate the Icon field in Advance.txt to an actual filename.
for what i can can see the rest of the file is leftovers from ctp1.
please prove me wrong if i am wrong because it will affect the program im making very much. thanks in advance.

klaus

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 26-11-2001 23:06 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Remove this text

Actual all the *icon.txt files except the uniticon.txt are leftover from CTP1. All the icon information from advances, concepts, wonders, buildings, tile improvements and terrains were moved to the uniticon.txt.

The only use for that file (I think) is to be there for the game engine.

quote:
Originally posted by kaan
it will affect the program im making very much.


I guess that is something like Easy Mod for CTP1 or something like I would call Fast Mod a program that edits the text file automaticly by adding the according icons to the uniticon.txt for instance.

Good to see you back Klaus.

-Martin

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
  Old Post 29-11-2001 16:59
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Hi again Martin

Why am i not really surpriced that it was you that answered my question
Good to see you again too

Well the program im making is no less that an emulation of the ctp2.exe itself, this sound like a very big job and it is. Therefore im starting out just parsing all the text files from the game dir and getting them representet in a object oriented fasion. The next step after this will be to make a working Great Library based on the parsed information and based on parsed .ldl files for the window layout. For all this im using Java and its really turning out good until now. Status on the project is that advance.txt is getting parsed into Advance objects that reside in a container class with 100% succes. I'm working on unit.txt right now and its coming along quite nice

If anyone is interested in seeing the source for parsing the advance.txt ill be happy to post it

klaus

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
  Old Post 29-11-2001 23:16 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton buy from Amazon

Wow,

that's really a huge project, a rewrite of the ctp.exe.

You will need to know a lot of more stuff finally for instance the *.rim *.til and *spr. file format. And all the slic stuff.....

But this is amazing when it's finished.

-Martin

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
Post  Old Post 29-11-2001 23:48
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton

yes it will be a major challenge to get all the graphics displayed correctly, thats why im starting with the great library but it will eventually be done, other than that i dont think it will be too hard to write a compiler for SLIC or to make multiplayer work, hehehe who am i kidding this will be hard indeed but i am counting on getting some help from you guys when i have a plan laid out for it all

klaus

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 30-11-2001 21:59 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

I am afraid Klaus that you have to start with slic earlier as you whish if you want to get the Great Library entirely to work.

Here is an example from the government section:

code:
[GOVERNMENT_TECHNOCRACY_PREREQ] Requires: ATABASE_ADVANCES,ADVANCE_TECHNOCRACY>Technocracy Max Cities: {GovernmentDB(Government[0]).TooManyCitiesThreshold} Martial Law: {GovernmentDB(Government[0]).MaxMartialLawUnits} Unit Upkeep: {GovernmentDB(Government[0]).SupportCoef}% Max ATABASE_CONCEPTS,CONCEPT_SCIENCE_SETTING>Science: {GovernmentDB(Government[0]).MaxScienceRate}% Sci. Output: {GovernmentDB(Government[0]).KnowledgeCoef}% [END] [GOVERNMENT_TECHNOCRACY_STATISTICS] Rations: {GovernmentDB(Government[0]).RationsExpectation*3+12} Food Output: {GovernmentDB(Government[0]).FoodCoef}% Workday: {GovernmentDB(Government[0]).WorkdayExpectation*-2+8} Prod Output: {GovernmentDB(Government[0]).ProductionCoef}% Wages: {GovernmentDB(Government[0]).WagesExpectation*2+5} Gold Output: {GovernmentDB(Government[0]).GoldCoef}% Crime Rate: {GovernmentDB(Government[0]).CrimeCoef}% [END]


All the text in the brackets is direct data base access via slic code. So you have now to start to write the slic interpreter. Yes a CTP2 without slic would be something very below than Civ3.

So first you should finish all the data bases on that the Great Library take access.

But that is not a so easy job either. Because there is a lot of stuff that can be used in theese files and aren't used.

Maybe a string list of the ctp2.exe could help you. I allready used a string grabber on the ctp2.exe. Here is the whole list for everyone.

-Martin

Attachment: ctp2.zip
This has been downloaded 5 time(s).

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
  Old Post 02-12-2001 03:59
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Call to Power 2

thanks Martin for bringing that part of the great library file to my attention, looks like ill have to make the SLIC compiler before i planned it, of at least the framework of the SLIC compiler with som functions enabled. now if someone could get me the complete list of build in functions and events that can be called from SLIC i will be gratefull (hint hint)
I know that there is one on the homepage here but it doesnt show the mod functions and there is an html error preventing me from seeing some of those that are there.

im posting a .zip file with the sourcecode used to parse the advance.txt file
inside there are some *.java files, these can be read in any text editor like notepad or editplus. if you wish to compile and run the sourcecode you will need to obtain the latest jdk on java.sun.com if you have any questions about this file, just ask

klaus

Edit: attachment deleted since its obsolete

Last edited by kaan on 18-12-2001 at 18:41

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:16
  Old Post 02-12-2001 04:20 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:
Originally posted by kaan
now if someone could get me the complete list of build in functions and events that can be called from SLIC i will be gratefull (hint hint)

On Locutus' website is the list of functions and variables as an EditPlus addon file so that you can see in colour.

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
  Old Post 02-12-2001 04:32
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

hi there IW
since i havent been around locutus homepage for ages, do you happen to have an URL?

BTW what do you think of the source?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
  Old Post 03-12-2001 02:42 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Here is the whole slic documentation that I have. It contains *.shtml files from Apolyton *.htm files from Locutus homepage and his slic.xls and finally my flag list. It is an improved version of the one that is available on Hexagonian's homepage, but not really finished.

To get edit plus 2 slic syntax files for edit plus and a link to Locutus home page and some other stuff about slic visit this thread:

http://apolyton.net/forums/showthre...?threadid=33181

-Martin

Attachment: slic.zip
This has been downloaded 7 time(s).

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:16
  Old Post 03-12-2001 03:50 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by kaan
hi there IW
since i havent been around locutus homepage for ages, do you happen to have an URL?

Nah, sorry, but there is a link above every post he makes if it is still important. Following Martin's post it probably isn't...

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
Exclamation  Old Post 06-12-2001 02:01
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Units.txt Avatar Enlargement: We've got the solution

The parser for Units.txt is now functional, the last bugs were hard to find but easy to correct
now i need only to write comments in the source code for easy reference later, and then ill publish them here.

IW you are absolutely right! martin has really outdone himself this time and provided more info about slic than ill probably need Thanks Martin

I havent done a decent roadmap yet but heres the start of it.

write core parsers:
Advance.txt Done
Units.txt Done
Buildings.txt
Wonder.txt
Terrain.txt
Goods.txt
Tileimp.txt
Govern.txt
Orders.txt
Concept.txt

I try not to think about that this is only the very small beginning

klaus

Last edited by kaan on 06-12-2001 at 02:37

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
  Old Post 06-12-2001 02:40
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Help yourself to an AD-FREE life

heres the file containing all of my sourcecode until now.
from the next post i will only post updated and new files.

klaus

Attachment: ctp2.zip
This has been downloaded 6 time(s).

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
Exclamation  Old Post 07-12-2001 04:03
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
buildings.txt Put an end to popups!

buildings.txt done

this one was easy and fast

klaus

Attachment: building.zip
This has been downloaded 5 time(s).

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
  Old Post 10-12-2001 19:45
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Wonder.txt Support Apolyton, buy GURPS/ Alpha Centauri

parsing of Wonder.txt Done

klaus

Attachment: wonder.zip
This has been downloaded 6 time(s).

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
Post  Old Post 19-12-2001 22:27
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Terrain.txt Support Apolyton, buy Civilization III: Complete

terrain.txt was a tough one to get nailed and i may have to change it at a later time, but here it is

i have exams coming in the next 3 weeks so dont expect too much, just remember that it doesnt mean that i have given up on this

klaus

Attachment: terrain.zip
This has been downloaded 5 time(s).

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:16
  Old Post 20-12-2001 03:11
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Goods.txt Support Apolyton, buy Alpha Centauri

i must be in a productive mood today
goods.txt was real simple so here it is.

klaus

Attachment: goods.zip
This has been downloaded 6 time(s).

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    top of page
Rate This Thread:
archivepost
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.0449 seconds (90.42% PHP - 9.58% MySQL) with 31 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