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 > Call To Power II > CtP2-Creation/AI/Mods/Scenarios > Problem with CTC great leaders
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
Marko Polo is offline Marko Polo
Warlord
Finland, Lohja (60km NW to Helsinki)
Dec 2000
time: 05:26
  Old Post 03-02-2005 18:08
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Problem with CTC great leaders Tired of ads?

I started the to play Call to Conquest mod with latest playtest version. Seems to work but I got this strange problem:

I recaptured my city and the game told me that I've received a great leader, Hammurabi. However, I got the abolitionist unit instead?! It was a normal abolitionist and having that unit prevented me making more slavers so I disbanded it.

I played on and now I got another great leader, Cyrus. But once again, I got abolitionist instead. Any ideas what's going on?

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:26
  Old Post 03-02-2005 20:34 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton or Terrorists Win

Thats strange maybe something in the slic file? maybe you have to reload slic?

Marko Polo is offline Marko Polo
Warlord
Finland, Lohja (60km NW to Helsinki)
Dec 2000
time: 05:26
  Old Post 04-02-2005 08:19
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Inflate your Upload Space

Reloading slic doesn't help.

I did a test, I copied my playtest savegames to the original (patched) CTP2, then loaded the situation where I'm about to capture the town that gives me Cyrus. I reloaded slic, ended turn and set the parameters the same as when I started to play. Now it gave me the correct Cyrus unit! So there is a compatibilaty issue between playtest and CTC.

Watching units.txt I see that abolitionist unit is the first unit at that database. That leads me to wonder if "createunit" function has been changed at playtest so that there are more parameters added (just a wild guess). So that function would get zero as index to unit db instead of the correct Cyrus unit index and return abolitionist as result.

Also, I've had problems with unit updating. For examle, when I get a new advance playtest will never activate the dialog "you have obsolete units, do u want to upgrade". Sentinel update works with two cases, with upgrading warriors to legions and early catapults to catapults but not with feudalism advance (hoplites to pikemen, legions to man at arms) and chivalry (won't upgrade mounted archers to knights).

My parameters:
buildings destroyed: 10
disasters: low
surrender: default
great leaders: on
autopilot: off

Marko Polo is offline Marko Polo
Warlord
Finland, Lohja (60km NW to Helsinki)
Dec 2000
time: 05:26
  Old Post 04-02-2005 08:24
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Here is the save game just before I should get Cyrus. Do reloadslic, end turn, then capture that town.

Attachment: cyrus.zip
This has been downloaded 2 time(s).

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:26
Post  Old Post 23-02-2005 23:59 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase Your PM Length

That's odd in an event handler it does work but it doesn't work in a message box.

This code works as expected, int0 and int1 are filled in displayed by the message box:

code:
HandleEvent(ArmyClicked)'MG_TestSomething'post{ int0 = UnitDB(UNIT_CYRUS); int1 = UnitDB(); MessageAll('MGMAETestMessage'); }


But if I do it inside of the message box nothing happens:

code:
MessageBox'MGMAETestMessage'{ Text(ID_TEST_MESSAGE_FOR_MAE); Duration(1); int2 = UnitDB(UNIT_CYRUS)+1; int3 = 9+1; MessageType("GIFT"); }


It seems a more general problem of evaluating code within a message box. Retrieving the unit index doesn't work. Assigning neither 9 nor 9+1 doesn't work either.

-Martin

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