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 > Download the Super Apolyton Pack 2 Unit Updater
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 12-01-2003 21:04
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Download the Super Apolyton Pack 2 Unit Updater Help yourself to an AD-FREE life

This download includes English, German and French versions of the Unit Updater.

This slic file allows you to update some of your current units when you discover a new technology. You can only upgrade your units in the turn you have discovered the said technology, if you don't update them or if you only update part of your units you won't be able to do it later in the next turns (I would have liked it to be possible but I don't have the lesser idea on how to achieve this ).

For each updated unit you will have to pay the production cost of the new unit in gold. You would thus have to pay 10000 gold to update 10 machine gunners to marines.

Remember the AI civilizations will also use the updater.

The main goal I had in mind with the updater was to get rid of the necessity to build new units and move them throughout my empire in order to replace the older units scattered on the map, a process I found painful in the later part of the game when you have many cities and units. This explains why I have not increased the cost needed to upgrade the units as I would like it to be rather easy. If you think these costs are too low you can edit the APOL_Updater.slc and increase them. You can also play with the govern.txt file in your CtP2 folder and increase the Unit Rush Buy costs in order to lower the gold resources of the human player (as suggested by Hexagonian in the thread I posted in the Apolyton CtP2 Forum before converting the cradle updater).

The readme included in the zip file repeats the preceding sentences, details the installing process and gives to the "non-slic litterates" like me the datas they need to alter the APOL_Updater.slic to suit their needs.

Note: the APOL_main_str.txt included in the zip file only corrects three pronouns which are typical remnants of the "cut and paste" method we all use. If the Super Apolyton Pack 2 is correctly installed in your computer you don't need to replace your current APOL_main_str.txt file with the one included in this zip. Unless you prefer the corrected message to be displayed instead.

I have wrongly deleted the attachment, you will find the file to download four posts farther.

Last edited by Tamerlin on 16-01-2003 at 07:24

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

What did you change on the APOL_main_str.txt, so that the English version needed do be included in the *.zip file?

-Martin

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 12-01-2003 22:13
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Avatar Enlargement: We've got the solution

quote:
Originally posted by Martin Gühmann
What did you change on the APOL_main_str.txt, so that the English version needed do be included in the *.zip file?

-Martin


I corrected three pronouns in the message displayed when you only have one unit to update. "Them" was used instead of "it".

I should have mentioned it in the readme.

Initial post edited to include your comment Martin, thanks!

Last edited by Tamerlin on 12-01-2003 at 22:26

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:25
Post  Old Post 13-01-2003 02:21 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Well in this case you should also include the German version of the file. I found some mistakes in it and I forgot to translate one sentence.

-Martin

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

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 13-01-2003 03:05
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase the size of your Attachments

The Super Apolyton Unit Updater Download is here (including English, German and French versions):

Attachment: apol_updater.zip
This has been downloaded 43 time(s).

Last edited by Tamerlin on 13-01-2003 at 03:16

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 16-01-2003 05:18
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Get a bigger avatar today!

Has anyone used the APOL_Updater.slc so far?

I would be glad to hear some comments, be them nice or bad...

Does anyone has an idea on how the Unit Updater could be modified in order to allow for the upgrade of units after the turn following the technological discovery?

Would it be possible to create a new unit order called "Upgrade"?

The cost of an upgrade could thus be highly increased and considered as an alternative to building new units.

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:25
  Old Post 16-01-2003 06:34
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Hi, Tamerlin

I'm working on a new version of the Updater that will allow you to update units after you've obtained the advance. Actually, it's pretty well done: just needs a bit more debugging.

Here's the write-up from my Great Library:

quote:

Certain advances will allow you to update some of your military units. For example, researching iron working will allow you to update your Warriors to Legions.

1) When you get the advance. At this point you have the option of updating land units that are in cities or forts, sea units that are in cities, or air units that are in cities or airbases. There is a cost involved and if you don't have enough gold you won't be able to update your units.

2) Using the 'Sleep' button. To update units that are still obsolete because they weren't in the proper location or you couldn't afford it, you can move them to a city (or fort, or airbase) and press the 'Sentinel' button. You'll then get a message asking if you want to update the unit. This procedure can be automated.


Also, when you get the advance, instead of just being able to run through your units in only one direction, I've fixed it so you can go back and forth. See the attached screenshot.

When it's finally debugged, you'll be able to paste your data arrays straight into it. But there's a couple of other things you'll have to adjust too. I'll give you a hand with them when it's ready.

Peter

Attachment: image2.jpg
This has been downloaded 271 time(s).

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 16-01-2003 06:52
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton

Hi Peter,

I would like to thank you for the unit updater it greatly eases the flow of the game and removes what I considered as one of the last flaws of CtP2.

quote:
Originally posted by Peter Triggs
I'm working on a new version of the Updater that will allow you to update units after you've obtained the advance. Actually, it's pretty well done: just needs a bit more debugging.


This is an excellent news, when do you think it will be ready?

I am really eager to use such a wonderfull tool.

quote:
When it's finally debugged, you'll be able to paste your data arrays straight into it. But there's a couple of other things you'll have to adjust too. I'll give you a hand with them when it's ready.


As soon as it is ready I convert it to the Super Apolyton Pack 2.


Last edited by Tamerlin on 16-01-2003 at 07:25

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:25
  Old Post 16-01-2003 11:48
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Got spare money?

Peter, I am sorry that you havent seen this code i have done befor

But i have already accomplished the unit updater after the advance granting.

It works when you fortify an army in one of your cities if the army has a obsolete unit it upgrades it. If it does you get a message asking you to upgrade it. The idea was create a new order button rather than fortify one. Although the fortify can be pretty annoying but works nicely.

The code was based on yours old one (same functions and events used, the unit from army scroling and saving unit type in tmp global variable, etc...). Although it is unrecognizebly. A whole new work. I remember i have told you that i was working on that and i just needed the original game unit which has been finished by Tamerlin.

Anyway here it is the strings are in the message.txt file. It only conatins the messages for the updater.

I am sorry to hear we have worked in paralel, Peter.

Attachment: newupdater.zip
This has been downloaded 13 time(s).

Last edited by Pedrunn on 17-01-2003 at 20:29

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 16-01-2003 16:41
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Hi Pedrunn,

quote:
Originally posted by Pedrunn
Anyway here it is the strings are in the message.txt file. It only contains the messages for the updater.


I have translated the newupdater strings, do I have to create a new APOL_newupdater_str.txt file and activate it in the APOL_Strings.txt (english folder) and in the APOL_gamefile.txt (default folder, actually I don't know if this file must be changed) or can I simply copy and paste the new strings in the APOL_main_str.txt (english folder for the original file, french folder for the translated strings)?

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 17-01-2003 06:28
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Newupdater problem with OK string Full PM-box? Change here!

I have incorporated the newupdater into the Apolyton Pack installed in my computer.

I renamed your file APOL_newupdater.slc and enabled it in the APOL_main.slc located in the default folders.

I then added the new strings into the APOL_main_str.txt in the English and French folders and tried to run the game. When it loaded the slic and their corresponding strings it generated a string error as the CtP2 program was unable to find the OK string (needed for the OK button) in the string DB.

I added OK "Yes" in the English and French APOL_main_str.txt files and the game loaded successfully.

I didn't have the time to test your New Updater (as I was busy trying to solve this problem) but I will post a feedback as soon as I have.

By the way, is it necessary to add the new strings into the APOL_slicstrings.txt in the language folders?

Last edited by Tamerlin on 17-01-2003 at 06:53

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:25
  Old Post 17-01-2003 20:27
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Got spare money?

I added yhe OK string, still i dont believe there is no ok button in CTP2 original game
BTW, Tamerlin the best translation is "Ok" or "Close". Once you test it you will see that "yes" just dont fit.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 17-01-2003 21:10
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:
Originally posted by Pedrunn
I added yhe OK string, still i dont believe there is no ok button in CTP2 original game
BTW, Tamerlin the best translation is "Ok" or "Close". Once you test it you will see that "yes" just dont fit.


OK, I have been confused by the fact there is also an EXIT button which is often translated as "close" in french as far as computer programs are concerned.

Can I post the APOL_newupdater on the Forum as soon as I have tested it? It will be credited to you of course.

Btw, is it necessary to add the new strings into the APOL_slicstrings.txt in the language folders?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:25
Post  Old Post 18-01-2003 03:15 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Full PM-box? Change here!

The is not only one ok button in the game there are severals here are two strings I found in the GM1_ldl_str.txt (German version):

BUTTON_CLOSE "OK"
BUTTON_OK "OK"

So the ok button is there to use it in slic code just use just add an ID_ in fron of BUTTON_ and the other string names. Like this:

ID_BUTTON_OK "OK"

So no additional string is needed for the game.

-Martin

Engineer_J is offline Engineer_J
Settler

Dec 2002
time: 05:25
  Old Post 25-01-2003 02:17
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Help yourself to an AD-FREE life

I started a new game with the updater, but it never asked me to update any units? I was playing the Super Apol Pack with Good Mod, it the updater only good for the regular Super Apol Pack?

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 25-01-2003 06:58
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Remove this text

quote:
Originally posted by Engineer_J
I started a new game with the updater, but it never asked me to update any units? I was playing the Super Apol Pack with Good Mod, it the updater only good for the regular Super Apol Pack?


The Updater I have posted is only working with the Apolyton Pack but can easily be adapted to the GoodMod (at least I think so).

But I have checked the GoodMod files and Martin is using a different structure than Dale which means I don't know exactly which files must be changed as some are called GM1, GM2 and others GM1_MM2.

Martin will certainly give us a hint that will allow me to guide you.

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:25
  Old Post 25-01-2003 19:04
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Suffering from ads?

Engineer_j,

Did you

quote:

Edit the APOL_main.slic file you will found in your C:\Program Files\Activision\Call To Power 2\ctp2_data\default\gamedata folder and add the following line at the end :
#include "APOL_updater.slc"

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 25-01-2003 21:21
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
Originally posted by Peter Triggs
Did you...


Hi Peter,

This is what I was about to reply yesterday but Engineer_J is playing with Martin's GoodMod, though I think this line must be added in the GoodMod equivalent of the APOL_main.slc file, I don't know how this file is named in the GoodMod.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:25
Post  Old Post 25-01-2003 23:39 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Enter the AD-FREE zone

There is no APOL_main.slc in GoodMod, the additional slic files are all added at the end of the GM1_APOL_script.slc file, as I made own versions of half of Dale's slic files and as I added my own files to the script.slc anyway the APOL_main.slc became obsolete. So you have to add this line:

#include "APOL_updater.slc"

to the end of the GM1_script.slc if you want to use the unit updater with the CityMod2 version and the above line needs to be added to the GM1_APOL_script.slc if you want to use it with the ApolytonPack version of GoodMod.

-Martin

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 26-01-2003 07:22
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Tired of ads?

Thanks for your help Martin, it's very kind of you to take some of your time to give us some advices.

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:25
  Old Post 26-01-2003 07:48
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Full PM-box? Change here!

Ahh, I see.

I incorporated GoodMod into SAP straightaway because I'd never contemplate playing any version of CTP2 that doesn't contain GoodMod. But I did it slightly differently than Martin's official version.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:25
  Old Post 27-01-2003 02:50 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Help yourself to an AD-FREE life

Nice sig Peter

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:25
  Old Post 27-01-2003 05:24
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Get a bigger avatar today!

I thought it would contrast nicely with yours

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:25
  Old Post 27-01-2003 20:56 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Get a bigger avatar today!

I think it does. We should see how many adjacent posts we can make in the Civ3/RoN forums

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 30-01-2003 08:33
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Pedrunn,

I am currently testing your Updater.slc and I have noticed some problems:

1 - When the units to be updated are part of an army with other units, the Fortify order don't ask me if I want to update my units when I have previously refused to do so (not quite sure of this one).

2 - When there are several units to update in an army and I click the button asking to show me them the Updater enters a kind of limited loop and ends up returning a message like ChooseObsUnitToUpgrade (or something very close to this) while I am sent at the other side of the map.

3 - If I disperse the units inside an army and give each unit I want to update the individual order to Fortify, I am asked if I want to update it (even if I have already refused previously in the turn) but I am not charged any gold for the update if I click on the Upgrade them all button. I never thought a free update could not be cool before.

Have you already tested the slic file and corrected these bugs?

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:25
  Old Post 30-01-2003 09:36
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Tamerlin
2 - When there are several units to update in an army and I click the button asking to show me them the Updater enters a kind of limited loop and ends up returning a message like ChooseObsUnitToUpgrade (or something very close to this) while I am sent at the other side of the map.

It is not a loop. Every message is for a single unit to upgrade.
Ex. If your army is made of 3 archers and a warrior. It will appear 4 messages (not loops) for each one of these units. In this case 4.
Once it all ends the message "ChooseObsUnitToUpgrade" clearly is a mistake and known by me . It should say: "All units of this army have been checked. There is nothing to do here anymore". I will fix this message.
So there is no bug here!

quote:
Originally posted by Tamerlin
3 - If I disperse the units inside an army and give each unit I want to update the individual order to Fortify, I am asked if I want to update it (even if I have already refused previously in the turn) but I am not charged any gold for the update if I click on the Upgrade them all button. I never thought a free update could not be cool before.


There is a bug here indeed. In which i did not noticed in my testings. I will try to find a solution for it!

quote:
Originally posted by Tamerlin

1 - When the units to be updated are part of an army with other units, the Fortify order don't ask me if I want to update my units when I have previously refused to do so (not quite sure of this one).


Couldnt reproduce you this commenting! How did you tested. Could you test it again! In case the bug is for real tell how did you do it! :confuse:

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 30-01-2003 18:00
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Browse Apolyton AD-FREE

quote:
Originally posted by Pedrunn

It is not a loop. Every message is for a single unit to upgrade.


This I knew, the "loop" I was writing about is the "ChooseObsUnitToUpgrade" message (but it was not clear in my post).

quote:
Once it all ends the
message "ChooseObsUnitToUpgrade" clearly is a mistake and known by me. It should say: "All units of this army have been checked. There is nothing to do here anymore". I will fix this message.
So there is no bug here!


OK!

quote:
There is a bug here indeed. In which i did not noticed in my testings. I will try to find a solution for it!


Could you post it when you have the time to finish it, I would like to use your updater.

quote:
Couldnt reproduce you this commenting! How did you tested. Could you test it again! In case the bug is for real tell how did you do it! :confuse:


I have tried to reproduce it but I have not been able to reach the same result.
However I have noticed the Updater does not always produce the same result, especially when there is a single unit to update, it does not use the appropriate message box and ask you if you want to update all the units. The updater sometimes displays the "ChooseObsUnitToUpgrade", sometimes not.

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 31-01-2003 06:59
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Peter Triggs,

What about your own version of the updater? I would like to adapt it to the Super Apolyton Pack 2 and test it.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:25
Post  Old Post 31-01-2003 18:56 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

As far as I know Peter's unit updater is basically the Cradly unit updater. So you already converted it to the standert version of the game.

-Martin

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 31-01-2003 18:59
Edit/Delete Message Reply w/Quote
#30 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

quote:
Originally posted by Martin Gühmann
As far as I know Peter's unit updater is basically the Cradly unit updater. So you already converted it to the standert version of the game.

-Martin


Peter is working on a new version of his updater, you should look higher on this page if you want to see how it works, one of the main differences is you can update your units in the turns following the discoveries through the sleep order.

 
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:25.
Apolyton Time is 00:25.
    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.0680 seconds (91.53% PHP - 8.47% 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