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 > I have a ?
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
King George III is offline King George III
Settler
nowhere
Aug 2001
time: 00:15
  Old Post 21-09-2001 10:48
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
I have a ? Support Apolyton

I have recently attempted to create colonies in my game. The actual cities and the unit to settle them were easy enough, but now I want to make it so that some buildings can't be built in a Colony. The question is, how do I add a new string like the "cantbuildinsea" that keeps things like airports from being built underwater? Is there any way? Any help would be greatly appreciated.

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:15
  Old Post 21-09-2001 19:24
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

The best was going to make a slic operation. But i neither know if it is possible nor if someone wants to make it.
How does you colonies work? Are you using the idea i post some weeks a go?

King George III is offline King George III
Settler
nowhere
Aug 2001
time: 00:15
  Old Post 21-09-2001 22:42
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Enter the AD-FREE zone

Not exactly. I wanted to create a city that would grow (although slowly) and build most buildings and units. However, I wanted to disable certain buildings like a capitol (most empires don't build a capitol in a colony). I'm rather rusty on my programing so the slic files might as well be in greek to me.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 22-09-2001 11:16 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I don't know if this will work, but its the only thing I can think of for now...

code:
int_f mod_CanCityBuildBuilding(city_t theCity, int_t theBuilding) { if(theCity == UnitDB(UNIT_COLONY)){ if(theBuilding == BuildingDB(IMPROVE_AIRPORT) || theBuilding == BuildingDB(IMPROVE_GRANARY)){ return 0; // you cant build } else { //otherwise return 1; // you can } } else { // if its not a colony return 1; // it can build anything } }

King George III is offline King George III
Settler
nowhere
Aug 2001
time: 00:15
  Old Post 26-09-2001 06:11
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase Your PM Length

Thanks for the help. Ummm.... by the way, which slc file does this go into, not to sound like a retard or anything.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 26-09-2001 19:02 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Call to Power 2

If you aren't running the MedPack, put it in script.slc or scenario.slc.

If you add it to the MedPack, it may give some errors but that can be solved if you need (and if it works, I'm still not convinced...)

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