Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  CtP2-Creation/AI
  Harbors for seaside towns only?

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   Harbors for seaside towns only? Format for Better Printing
PaulWilliams
Settler
France
Mar 2001
posted March 26, 2001 01:58   Click Here to See the Profile for PaulWilliams   send a private message to PaulWilliams Visit PaulWilliams's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Anyone know the instruction to limit buildings (such as harbors) to seaside towns only? And can the principle be extended further to other terrain types?
Martin Gühmann
Warlord
Berlin, Germany
Mar 2001
posted March 26, 2001 04:16   Click Here to See the Profile for Martin GühmannClick Here to Email Martin Gühmann  send a private message to Martin Gühmann
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Paul,

I think you mean the tileimprovement port.
Take a look into the tileimp.txt there you will find the lines:

CantBuildOn TERRAIN_BROWN_HILL
CantBuildOn TERRAIN_BROWN_MOUNTAIN
CantBuildOn TERRAIN_DEAD
CantBuildOn TERRAIN_DESERT
CantBuildOn TERRAIN_FOREST
CantBuildOn TERRAIN_GLACIER
CantBuildOn TERRAIN_GRASSLAND
CantBuildOn TERRAIN_HILL
CantBuildOn TERRAIN_JUNGLE
CantBuildOn TERRAIN_MOUNTAIN
CantBuildOn TERRAIN_PLAINS
CantBuildOn TERRAIN_SWAMP
CantBuildOn TERRAIN_TUNDRA
CantBuildOn TERRAIN_WATER_DEEP
CantBuildOn TERRAIN_WATER_RIFT
CantBuildOn TERRAIN_WATER_TRENCH
CantBuildOn TERRAIN_WATER_VOLCANO
CantBuildOn TERRAIN_WHITE_HILL
CantBuildOn TERRAIN_WHITE_MOUNTAIN

for the TILEIMP_PORT. I think TERRAIN_WATER_BEACH is not in the list.

-Martin

Dale
Prince
Melbourne, Australia
Dec 2000
posted March 26, 2001 17:20   Click Here to See the Profile for DaleClick Here to Email Dale  send a private message to Dale Visit Dale's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Or another way in SLIC (if he means an actual building in a city, like harbour-guns):

Using the mod_CanBuildBuilding (or whatever it's called) you could check each neighbor (tile) and see if the terrain is a water or beach terrain. If yes, then the return is true the city can build a harbour.

------------------
Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

WesW
apolyton.net/wes
Huntsville, Al., USA
b.02-15-99
posted March 26, 2001 20:07   Click Here to See the Profile for WesWClick Here to Email WesW  send a private message to WesWSend a Message to UIN: 84799350 Visit WesW's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Get the Med mod and check out the Harbor improvement.
PaulWilliams
Settler
France
Mar 2001
posted March 28, 2001 13:41   Click Here to See the Profile for PaulWilliams   send a private message to PaulWilliams Visit PaulWilliams's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Err .. I'm probably being a bit thick, but where can I find the Med Mod? I can see the alpha version of the sequal, but not the original...
Immortal Wombat
Prince
and pauper
Dec 2000
posted March 28, 2001 14:43   Click Here to See the Profile for Immortal WombatClick Here to Email Immortal Wombat  send a private message to Immortal WombatSend a Message to UIN: 114083698
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
http://apolyton.net/wes

Wes' site contains all Med Mods past and present

MrFun
Prince
United States, Iowa
Nov 2000
posted March 29, 2001 10:39   Click Here to See the Profile for MrFun   send a private message to MrFun Visit MrFun's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
You mean to tell me that on our real Earth, that none of the Great Lakes cities of Canada and United States have harbors? wow
PaulWilliams
Settler
France
Mar 2001
posted April 02, 2001 08:55   Click Here to See the Profile for PaulWilliams   send a private message to PaulWilliams Visit PaulWilliams's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Duh! The answer was there all the time:

CoastalBuilding

As found in the entry for battlements...

Now, I wonder whether the CTP2 program recognises any other statements like that...

Martin Gühmann
Warlord
Berlin, Germany
Mar 2001
posted April 02, 2001 14:31   Click Here to See the Profile for Martin GühmannClick Here to Email Martin Gühmann  send a private message to Martin Gühmann
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:

Originally posted by PaulWilliams on 04-02-2001 08:55 AM
Duh! The answer was there all the time:

CoastalBuilding

As found in the entry for battlements...

Now, I wonder whether the CTP2 program recognises any other statements like that...

I took a look into the ctp2.exe and there are all the statements also unused ones.

-Martin

Immortal Wombat
Prince
and pauper
Dec 2000
posted April 03, 2001 07:06   Click Here to See the Profile for Immortal WombatClick Here to Email Immortal Wombat  send a private message to Immortal WombatSend a Message to UIN: 114083698
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
quote:

Originally posted by Martin Gühmann on 04-02-2001 02:31 PM
I took a look into the ctp2.exe and there are all the statements also unused ones.

What unused ones are there ? This could save a lot of SLIC work

Martin Gühmann
Warlord
Berlin, Germany
Mar 2001
posted April 03, 2001 14:35   Click Here to See the Profile for Martin GühmannClick Here to Email Martin Gühmann  send a private message to Martin Gühmann
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I made a value/flag list I should send it to Omni, but it is not finished, I just copied the lines from the ctp2.exe. There is no documentation yet.

-Martin

Apolyton Civilization Site Forums
> > > CtP2-Creation/AI Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

AltaVista Type or paste text or Web address (beginning with http://) here:
Powered
by Systran
Translate from: 

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | HAC | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War | WesW's Ctp1/2 Site