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 > Getting Started With SLIC
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:16
  Old Post 01-10-2002 12:44 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Tired of ads?

1) there are 3
2) don't think so...
3) You can change food by placing invisible tile improvements around the city, or by adding buildings that work like granaries, but this is less useful, because we can only have 64 buildings.
4) probably, but it's so phenomenally high that to all intents and purposes it's irrelevant.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 01-10-2002 20:00 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by thetaste
2) I've been eyeing up these .ldl files. Is it possible to create our own and link them to SLIC. I basically want sliders.


Unfortunatly it is not possible to add new elements to the UI, it is only possible to modify the existing ones. For everything else you have to use message boxes unfortunately the are very limited.

-Martin

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 02-10-2002 01:13 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by Pedrunn
How can i make txt files to be open with editplus and not the notepad as in the windows default ? (I use win98)


In addition to what SMIFFGIG said, you can put a shortcut to EditPlus into your Send To directory (In the Windows directory in 95-based versions, or else the user directory in NT-based versions) and then use right-click->Send To->EditPlus, or if you want all text files to open with EditPlus whenever you double click you can change the settings of the File Type under Tools->Folder options in Explorer.

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:16
  Old Post 02-10-2002 01:19 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Support Apolyton buy from Amazon

Editplus comes up as a default right-click option anyway, so I do it that way now. The only files I have associated with it are its own BAK files, and the TileEdit SRC files.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 02-10-2002 12:57 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Support Apolyton, buy Civilization 2

hi

Had a few problems with some slic

Does any one know why the hasbuilding command isn’t working.

And why i can't remove slaves form my city.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 02-10-2002 20:39 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by The Big Mc
Does any one know why the hasbuilding command isn�t working.


Maybe because it is called CityHasBuilding. If not you should post your code.

quote:
Originally posted by The Big Mc
And why i can't remove slaves form my city.


Because there is no function that allows it. Sad but true.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 03-10-2002 18:16 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

That sends my move slave commands I made to the bin.

Had an idea a slave must count as a pop so if I remove say x pop till I get down to my slaves and then remove a further pop it should kill that slave. Problem is I don’t know any code to get the number of slaves.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 16-10-2002 13:23 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Tired of ads?

Martin I found a way to remove slaves. all i needed to do was create a array to store the number of slaves per city and then remove the pop.

any way could you send me some code with the has building working on it something simple like

citybeginturn
has billding
addefect

Ok

Pedrunn is offline Pedrunn
King
of Natal, Brazil
Jul 2001
time: 02:16
  Old Post 16-10-2002 15:19
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Avatar Enlargement: We've got the solution

The IW plague function uses.

code:
void_f Plague (int_t thePlayer){ int_t tmpPlayer; tmpPlayer = thePlayer; //if(IsHumanPlayer(tmpPlayer)){ // take this line out in if you do want to affect the AI //message(1, 'startdata'); int_t CityCount; player[0] = tmpPlayer; CityCount = player[0].cities - 1; PlaguedCityCounter = 0; int_t i; for(i = 0; i < CityCount; i = i + 1){ //message(1, 'testdata'); int_t PPChance; PPChance = random(100); city_t PlaguedCity; GetCityByIndex(tmpPlayer, i, PlaguedCity); if(PlaguedCity.population >= 5){ // // Building that reduce plague chance are: // Granary, Aqueduct, Food Silo, Sewer System, hospital // // Start = 50/50 chance of plague in PlaguedCity // if(CityHasBuilding(PlaguedCity, "IMPROVE_GRANARY")){ PPChance = PPChance - 5; } if(CityHasBuilding(PlaguedCity, "IMPROVE_AQUEDUCT")){ PPChance = PPChance - 5; } if(CityHasBuilding(PlaguedCity, "IMPROVE_FOOD_SILO")){ PPChance = PPChance - 5; } if(CityHasBuilding(PlaguedCity, "IMPROVE_DRUG_STORE")){ PPChance = PPChance - 5; } if(CityHasBuilding(PlaguedCity, "IMPROVE_HOSPITAL")){ PPChance = PPChance - 20; } if(PPChance >= 40){ // replace to 50 again for a base 50/50 chance of strike city[0] = PlaguedCity; int_t tmpDead; tmpDead = city[0].population/5; int_t j; for(j = 0; j < tmpDead; j = j + 1){ Event:KillPop(PlaguedCity); } Event:AddHappyTimer(PlaguedCity, 1, -4, 14); // 3 turns of -6 happiness AddEffect(PlaguedCity.location, "SPECEFFECT_BIO_TERROR", "SOUND_ID_BIO_TERROR"); PlaguedCityCounter = PlaguedCityCounter + 1; } } } player[0] = tmpPlayer; if(PlaguedCityCounter >= 1){ if(HasAdvance(tmpPlayer, ID_ADVANCE_MEDICINE)){ message(tmpPlayer, 'EpidemicYou'); if(tmpPlayer != ND_human){ message(ND_human, 'EpidemicOther'); } } else{ message(tmpPlayer, 'PlagueHitYou'); } } else{ message(tmpPlayer, 'PlagueDidntHitYou'); } // } // closing the IsHuman brackets }

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 16-10-2002 16:47 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Support Apolyton, buy Civilization 2

Thanks any that show hoe any is used.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 16-10-2002 22:04 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:
Originally posted by The Big Mc
Martin I found a way to remove slaves. all i needed to do was create a array to store the number of slaves per city and then remove the pop.


Just wonder how do you get the array filled with the number per slaves I don't know any function that would return the numbers of slaves per city or a way that would extract the destination city of a slave.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 17-10-2002 18:08 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#42 Report this post to a moderator
Support Apolyton buy from Amazon

Easy just on the activation of a slave raid find the nearest city to the slave raid asks if it has at least one unit present if so that city got a slave.

Any way I have the bug form hell on my slic at the moment every time I try to run my scenario in ctp I get a crash but if I remove the scenario file it works if when I load the slic back in the game by moving it back it works.

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    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.0384 seconds (87.65% PHP - 12.35% 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