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 > A hexing question
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
techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:21
  Old Post 20-07-2002 22:02 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
A hexing question Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Is it possible to hex edit a Sav. file to add fortresses to every square including ocean squares? It's a giga map and the cities are already placed. Please help! Thank you.

DarthVeda is offline DarthVeda
Emperor
My avatar! My precious!
Jan 1970
time: 00:21
  Old Post 20-07-2002 22:09 Visit DarthVeda's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

I should point out to you that the AI will pillage any fortress it gets its hands on in your territory.

Henrik is offline Henrik
Emperor
The European Union, Sweden, Lund
Dec 2000
time: 06:21
  Old Post 20-07-2002 22:30 Visit Henrik's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Not necesarily that is not my experience playing Bonaparte2 (where every tile has a fortress except for the mountains, I think that was done manually though)...

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:21
  Old Post 21-07-2002 00:25 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:
Originally posted by DarthVeda
I should point out to you that the AI will pillage any fortress it gets its hands on in your territory.

The AI on my territory? Is this some kind of joke? Seriously, if someone can come up with something, I'd be very grateful. It's a made for multiplayer project so AI pillaging shouldn't be a problem.

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:21
  Old Post 21-07-2002 01:15 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Inflate your Upload Space

Actually Henrik raises a good point. Does the AI pillage forts, or does it occupy them?

winterfritz is offline winterfritz
Prince
I'm sailing this thing to Mexico
Jan 2002
time: 05:21
  Old Post 21-07-2002 06:49
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Also speaking from my Bonaparte II experience, the AI only very occasionally pillages them. Having fortresses in ocean squares can lead to to other strange effects though; the AI often ends up with land units fortified in the ocean because their transport sunk without them.

Last edited by winterfritz on 21-07-2002 at 06:57

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:21
  Old Post 21-07-2002 08:06 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Tec, is this ToT or MGE?

If it's ToT, then DV, is it within your wizardry to write a CSPL program to do the hex-editing? Maybe even ask whether to put fortresses in sea squares? We could ask Angelo, but I suspect that his mind is currently overloaded with physics. Making all-fortress maps has been an occasional request of many designers.

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:21
  Old Post 21-07-2002 08:23 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Why it is ToT. Quell surprise! Hey DV, how about it?

DarthVeda is offline DarthVeda
Emperor
My avatar! My precious!
Jan 1970
time: 00:21
  Old Post 21-07-2002 10:16 Visit DarthVeda's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Tired of ads?

Hex editing is not my cup of tea... especially in programming languages.

Besides... every map is highly variable; there's no way I could know where each tile's terrain bit is (especially because I can't even operate a simple hex editor on the save files correctly).

It is my experience that AI units pillage anything they can.

Hey tech, since you are working in ToT, you should consider airbases instead of fortresses. They don't provide extra trade, protection, or movement but they do prevent multiple units from being destroyed in a single strike. (This would only work if your scen doesn't have air units).

DarthVeda is offline DarthVeda
Emperor
My avatar! My precious!
Jan 1970
time: 00:21
  Old Post 21-07-2002 10:19 Visit DarthVeda's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Tired of ads?

additionally... you can then use the fortress for an actual fortress.

Henrik is offline Henrik
Emperor
The European Union, Sweden, Lund
Dec 2000
time: 06:21
  Old Post 21-07-2002 10:57 Visit Henrik's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Civilization 2

quote:
Originally posted by DarthVeda
Hey tech, since you are working in ToT, you should consider airbases instead of fortresses. They don't provide extra trade, protection, or movement but they do prevent multiple units from being destroyed in a single strike. (This would only work if your scen doesn't have air units).


Airbases counts as Railroads, atleast in all other versions of civ 2, which is why people haven't used it for stackable squares.

quote:
Originally posted by winterfritz
Also speaking from my Bonaparte II experience, the AI only very occasionally pillages them. Having fortresses in ocean squares can lead to to other strange effects though; the AI often ends up with land units fortified in the ocean because their transport sunk without them.



Only the barbarian AI fortifies units in ocean tiles in my experience (and then only one or two naval units near the start).

DarthVeda is offline DarthVeda
Emperor
My avatar! My precious!
Jan 1970
time: 00:21
  Old Post 21-07-2002 11:20 Visit DarthVeda's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Got spare money?

*cough* I already stated that the Airbase in ToT doesn't work like a rail road or even a road.

Henrik is offline Henrik
Emperor
The European Union, Sweden, Lund
Dec 2000
time: 06:21
  Old Post 21-07-2002 11:28 Visit Henrik's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Get a bigger avatar today!

Bah

What about farmland then? (which it also acts as in the other versions).

DarthVeda is offline DarthVeda
Emperor
My avatar! My precious!
Jan 1970
time: 00:21
  Old Post 21-07-2002 12:25 Visit DarthVeda's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Increase Your PM Length

No. It gives no bonuses of any kind whatsoever. A little further testing has shown that the movement remains affected only by the tile's original movement or any improvements aside from the airbase.

And yes, they do prevent any other units on the tile from being destroyed and dying in a big pile death.

So in summation, Airbases in ToT provide the perfect way to remove stack-death.

Last edited by DarthVeda on 21-07-2002 at 12:31

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:21
  Old Post 21-07-2002 19:49 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Inflate your Upload Space

I have considered using airbases, but this for WWII, so it would have an unfortunate effect on military aviation! I experimented with transporters as well, but they don't create the stacking effect.

I've been looking at Allard's hex-editing document, and despite the fact that I know next to nothing about hex-editing or programming, I think it should be possible to come up with a program to convert a map to all fortresses, or all anything.

Mercator's MapEdit can already do something similar. If you select a "filler" terrain, you can add rivers to every square of that terrain with one click of the mouse. So why not fortresses?

Marko is offline Marko
Prince
Tartu, Estonia
Sep 1999
time: 05:21
Post  Old Post 21-07-2002 20:44 Visit Marko's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton buy from Amazon

In my Struggle for Europe scenario most of land is covered with fortresses and some parts of ocean too. The AI doesn't pillage them (at least i haven't noticed it).

How to create a fortress to ocean square:

1. Change an ocean tile to a land;
2. create a fortress there;
3. change the tile back to sea.

Same about roads/railroads etc.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:21
  Old Post 22-07-2002 00:54 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton buy from Amazon

It won't be possible to add it as a feature to MapEdit (unless I add full savegame support). When loading a map for a new game all terrain improvements are lost, I'm not sure whether they're lost when using ToT's Import Map... thing though...

But as for adding it straight to a savegame using hex-editing, that shouldn't be too difficult, in principle... Does anybody by any chance know a hex editor that supports regular expressions in the find and replace options? That would make life much easier.

In principle, this fortress information would need to be added to several different portions of the savegame. But in this case (the fortresses surely won't have a graphic?), I think that won't be necessary.

I'll have a try at putting fortresses on all squares of a savegame map.

Kull is offline Kull

King
El Paso, TX USA
Mar 1999
time: 22:21
Question  Old Post 22-07-2002 06:56 Visit Kull<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Get a bigger avatar today!

Have you tried Dusty's Mapcopy utility? According to the readme, it's possible to copy improvements from one map to another. Thus if you covered a 20x20 section of another map with fortresses, theoretically you could copy this one section to multiple portions (i.e. all) of your Gigamap. His utility is available here:

http://cullivan.com/civ/tools.html

(This might wipe out the existing improvements though - not certain on that aspect)

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:21
  Old Post 22-07-2002 08:14 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Mercator, shall I email you my savegame?

Kull, welcome back! Does mapcopy work on sav. files?

Kull is offline Kull

King
El Paso, TX USA
Mar 1999
time: 22:21
  Old Post 22-07-2002 08:19 Visit Kull<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Enter the AD-FREE zone

Yes indeed it does!

(I'm only "back" for a few days - then it's off to defend Civilization from the Barbarians....who could have guessed that my fascination with civ and barbarians would turn out to be job-related!)

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:21
  Old Post 22-07-2002 08:47 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Increase Your PM Length

Thanks. It's nice to have you back, even for a few days. And if you haven't already, try building the Great Wall!

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:21
  Old Post 24-07-2002 03:08 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Suffering from ads?

Done!

I created an ad-hoc little program to do it...

In the process, I found a neat little way to manipulate cities:
As you should already know, the Airbase tile improvement is a combination of the Fortress and City "tile improvement" codes. This, by the way, explains some of the (pre-ToT?) airbase bugs, like an airbase acting as road/railroad (just like cities) and having extra food/production (also like cities)...

Anyway, when adding fortresses to all squares, I suddenly got myself a map where all cities had turned into Airbases. And after removing an airbase nothing was left (except the city name). The cities were obviously still there (and accessible via the menus), but not accessible or visible on the map...

Maybe someone can use this idea. I guess this would also make it possible to build a city on that very square again (or adjacent to it), perhaps even multiple times (imagine that, a map with 255 cities all on one square!). That would probably also cause all those city names to appear on top of eachother, making it one big unreadable mess.
Then again, since this would require hex editing anyway (or someone creating a program to do it ), using this fortress trick won't be necessary, since it can all be edited without that just the same.

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:21
  Old Post 24-07-2002 07:39 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Support Apolyton, buy Call to Power 2

That's wonderful. Good work. Are you going to post it on your site? Did you get my file via email? And what do you do to get your cities back?

Marko is offline Marko
Prince
Tartu, Estonia
Sep 1999
time: 05:21
  Old Post 24-07-2002 22:16 Visit Marko's homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by Mercator
As you should already know, the Airbase tile improvement is a combination of the Fortress and City "tile improvement" codes.


If settler could be allowed to build a fortress in a city then it changes the city to airbase

But yes, can you improve the program so that it recognises the city tiles and doesn't create fortresses there?

Btw, your Mapedit 2 is great!

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:21
  Old Post 25-07-2002 02:46 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Support Apolyton buy from Amazon

Whoa, whoa! The "program" I created was about 10 lines of code... And I only created it because I couldn't find a hex editor that could properly do it, and was sure it wasn't too much work... I had no intention to do anything with it. I might work on it, since there apparently is a demand, but I have no intention to give it any sort of priority.

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