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 > Scenario League / Civ2-Creation -Archive > The real reason AI would not build ships!
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
Gothmog is offline Gothmog
Prince
Minas Morgul
Jan 1970
time: 00:13
Lightbulb  Old Post 13-01-2001 19:57
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
The real reason AI would not build ships! Support Apolyton, buy GURPS/ Alpha Centauri

A few weeks ago I asked for help in this forum about a scenario I'm making. The problem was that the AI would not build ships. Well, the problem has been solved, and I have stumbled upon the real reason why there was a problem in the first place.

The reason was that I had used the mapcopy utility to bring an updated map into the scenario, but I didn't use mapcopy properly!

What you need to do, and this is clearly stated in the mapcopy documentation, is use the ANALYZE MAP function in the civ ii map editor. This updates the map file with something called the "body counter". Each land mass in the map is assigned a number and each tile belonging to the land mass gets that number. You can see that number to the right of the coordinates of a terrain tile in the game.

If you don't use the ANALYZE MAP function before saving your map, what gets imported into the scenario file are "body counter" values of zero. The AI uses these values for trade calculations and apparently for deciding whether to build land or sea units. With one apparent land mass, why build ships?

Somewhere along the line, I must have reimported an analyzed map into the scenario and fixed the problem without knowing it. Before I had thought the AI problem had something to do with population values or unit values, but this was surely not the case.

All of this brings up a question. If you start a regular civ game with a map that has not had an analyze map done to it, will that game's AI be all fouled up?

Jay Bee is offline Jay Bee
Moderator
Valladolid, CA
Jan 1970
time: 06:13
Post  Old Post 13-01-2001 20:11 Visit Jay Bee's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Lose 30 kilos (of popups)

Sorry if it's a dumb question but... what's mapcopy?

SCDARS is offline SCDARS
Warlord

Sep 1999
time: 06:13
Thumbs up  Old Post 13-01-2001 20:34 Visit SCDARS's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Full PM-box? Change here!

quote:

Originally posted by Jay Bee on 01-13-2001 10:11 AM
Sorry if it's a dumb question but... what's mapcopy?

It's a quite smart tool maed by Dusty and allows some map operations (see http://www.sidgames.com/hosted/ziggurat/zother.cfm )

Carl, that's a very valauable insight...
I was already wondering why I couldn't reproduce the solution as you described it (rising the population about 50%, changing some values etc.) - no it's clear as I somehow had an older savegame. I regret I couldn't help you with this problem, but it seems you didn't need my advice


Another application I could think of: Perhaps it would be easy to force the AI to build more ships by changing a map from an ocean world -> normal world without analyzing the map?

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:13
Question  Old Post 14-01-2001 00:54 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Very interesting. But how did you learn this?

Mao is offline Mao
Deity
Apolyton
Jun 1999
time: 00:13
Post  Old Post 14-01-2001 01:57
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Lose 30 kilos (of popups)

ewwwwwww!!!! SidGames bad! BAD! BAD!

Jay Bee is offline Jay Bee
Moderator
Valladolid, CA
Jan 1970
time: 06:13
  Old Post 14-01-2001 02:40 Visit Jay Bee's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Remove this text

Hmm this is interesting. As I posted before I had the same problem as Gothmog with Celts & Iberians. But I made the map from scratch (I did not even know that a mapcopy thing even existed). I do not remember if I used the analyzemap thing with it, but most likely I didn't.

So perhaps the problem does not reside in using mapcopy but in NOT using analyzemap?

I second Techumseh's question, how did you find out?


PS. Mao, if you ever see this, we are waiting for your spamming...uh, spanglish posts at the new Spanish Civ Site forum!

St Leo is offline St Leo
King of Scenario League
Member of the Apolyton Social Democratic Party
Jul 2005
time: 00:13
  Old Post 14-01-2001 11:19 Visit St Leo<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Mao, you are one of the most open-minded people I've ever had the privilege of meeting.

------------------
St. Leo
http://www.sidgames.com/hosted/ziggurat/
http://www.sidgames.com/forums/

Gothmog is offline Gothmog
Prince
Minas Morgul
Jan 1970
time: 00:13
Post  Old Post 15-01-2001 21:24
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Avatar Enlargement: We've got the solution

How did I find out?
1. I never had complete faith that the population explanation was the right one.
2. After I got the scenario working, I once again imported a map with the mapcopy utility. Then the scenario broke down again.
3. Then I read through the mapcopy documentation more thoroughly like I should have done in the first place. When I saw the stuff about the "body counter", I knew what the problem had been all along.

I think it is absolutely necessary to analyze the map if you use mapcopy to copy map changes made in the map editor into the CIV2 scenario editor. Otherwise trade and the AI will be fouled up. That's the main point I wanted to make with this thread.

Note to Jay Bee.
The procedure for using mapcopy is
1. Load your scenarios map from the sav file into the regular CIV II map editor.
2. Make your terrain changes. Sometimes, it is easier to change terrain in the map editor than the scenario editor when you have a lot of changes or rivers are involved.
3. Use the analyze map function. This updates the body counter information. (Initially I did not do this, therefore I had the AI problems.)
4. Save the changes to a mp file.
5. Import the mp file into the sav file using mapcopy.

Jay Bee is offline Jay Bee
Moderator
Valladolid, CA
Jan 1970
time: 06:13
Question  Old Post 15-01-2001 23:41 Visit Jay Bee's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:

Originally posted by Gothmog on 01-15-2001 11:24 AM
I think it is absolutely necessary to analyze the map if you use mapcopy to copy map changes made in the map editor into the CIV2 scenario editor. Otherwise trade and the AI will be fouled up. That's the main point I wanted to make with this thread.



OK, but what if you did not use mapcopy at all? Would then AnalyeMap be necessary?

  < 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:
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.0377 seconds (89.71% PHP - 10.29% 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