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 > Boolean Triggers
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
Peaster is offline Peaster
Prince
Florida
Jul 2003
time: 00:29
  Old Post 17-07-2003 18:48 Visit Peaster's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Boolean Triggers Support Apolyton

Does anyone know how to create Boolean triggers using events.txt? For example, create a new unit in year 20 only if Rome has already taken Carthage?

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:29
  Old Post 17-07-2003 19:20 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

That can only be achieved in Test of Time...

Let's see, I think this would do it (I'm not an expert in ToT events, though):

code:
@IF CityTaken continuous city=Carthage attacker=Romans defender=AnyBody @AND Turn turn=20 @THEN CreateUnit ...


This would even be triggered if Carthage has been liberated again, though. To also take care of that, you'd have to use flags. Set a Roman flag when they capture Carthage and reset it when they lose Carthage.

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:29
  Old Post 17-07-2003 21:26 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Put an end to popups!

For non-ToT, create the unit only in Carthage.

Peaster is offline Peaster
Prince
Florida
Jul 2003
time: 00:29
  Old Post 18-07-2003 18:25 Visit Peaster's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Increase the size of your Attachments

Thanks. I have MGE, so I guess this wouldn't work for me. What's a flag ? - is that also ToT only?

For some reason, I haven't been able to create units (thru events) in city squares. Probably my mistake - I'll try again.

Dr Kellogg is offline Dr Kellogg
Chieftain
Ye Olde Europe
Apr 2003
time: 06:29
  Old Post 18-07-2003 18:41
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase Your PM Length

quote:
Originally posted by Peaster
What's a flag ? - is that also ToT only?

Yes, it's ToT only.
http://sleague.apolyton.net/Guides/...lagsintro.shtml

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:29
  Old Post 18-07-2003 20:31 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Peaster
Thanks. I have MGE, so I guess this wouldn't work for me. What's a flag ? - is that also ToT only?

For some reason, I haven't been able to create units (thru events) in city squares. Probably my mistake - I'll try again.


You can't use a city name as a location for a unit arrival. Use the map coordinates of the city instead.

Arthedain is offline Arthedain
Prince
Dúnedain of the north
Apr 2002
time: 06:29
  Old Post 20-07-2003 23:14
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by techumseh


You can't use a city name as a location for a unit arrival. Use the map coordinates of the city instead.


And don't forget to set the ownerciv to the civ that will own the city

Peaster is offline Peaster
Prince
Florida
Jul 2003
time: 00:29
  Old Post 20-07-2003 23:55 Visit Peaster's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization 2

I must have been doing something crazy the first few times with the cities, like getting the unit-owner wrong, because now I can create units there just fine. Thanks.

BTW - I think there is a way to get the Rome/Carthage effect in MGE, but it's pretty complicated. It uses several events in combination. I'm still play-testing the idea in my first scenario.

Elok is offline Elok
Prince
Land of Ramen Dragons
Mar 2003
time: 00:29
  Old Post 21-07-2003 03:30
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton buy from Amazon

You could...sorta..do it in regular Civ2 by giving a tech to the conqueror on turn twenty, another tech to it when it takes carthage, and make a tech with those two techs as prereqs and a HUGE AI value. Then when the AI-controlled civ inevitably researches the tech, have a justonce event give him a unit. It's awkward and stupid, but it's the only way I can think of at the moment.

Peaster is offline Peaster
Prince
Florida
Jul 2003
time: 00:29
  Old Post 21-07-2003 10:56 Visit Peaster's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Inflate your Upload Space

"It's awkward and stupid, but it's the only way I can think of at the moment. "

My idea has problems, too. It uses units instead of tech. For example, create a weak Spanish fort-unit on a distant island, and create a French tank nearby. Then, hope that the fort will quickly be flattened.

It seems to work well IF the French and Spanish are AI's, and stay at war, and no other units interfere. You can make complex variations by including terrain-change triggers, which connect small isalnds. Or by making more forts etc.

BTW, how do you make those boxed-in quotes? I click on "quote" and it seems to want me to enter a string of text (do you have to re-type the whole quotation??)

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:29
  Old Post 21-07-2003 17:33 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:
Originally posted by Peaster
My idea has problems, too. It uses units instead of tech. For example, create a weak Spanish fort-unit on a distant island, and create a French tank nearby. Then, hope that the fort will quickly be flattened.


You should have a look at Favoured Flight's scenarios (especially The Return of the King). He uses something like that to create delayed events.

quote:
BTW, how do you make those boxed-in quotes? I click on "quote" and it seems to want me to enter a string of text (do you have to re-type the whole quotation??)


Instead of clicking the "Post reply" button, click on the small "reply with quote" link at the top-right of the post you want to quote.

Peaster is offline Peaster
Prince
Florida
Jul 2003
time: 00:29
  Old Post 22-07-2003 08:33 Visit Peaster's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Civilization 2

quote:
Originally posted by Mercator


You should have a look at Favoured Flight's scenarios (especially The Return of the King). He uses something like that to create delayed events.



Thanks again ! The javascript on his website was acting up, but the ROTK scenario is also at CivFanatics. I am looking forward to playing it and studying it.

It sounds like ToT has a better events system than MGE, so I'm tempted to try it. But I've already put some work into a MGE scenario. Hmmm.

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:29
  Old Post 22-07-2003 08:46 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Suffering from ads?

You can convert it to Test of Time, using Angelo Scotto's CivConverter program. It's available on Cradle of Civ, and Mercator's site too, I think.

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

I'm afraid it isn't available at my site (yet).

But then, Peaster said he has MGE, so he won't be needing it in the first place.

Peaster is offline Peaster
Prince
Florida
Jul 2003
time: 00:29
  Old Post 23-07-2003 20:22 Visit Peaster's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

I must have something wrong. Could someone check my assumptions here?

1) Scenarios written for ToT won't run on MGE (and vice versa?)
2) But MGE ones can be converted to ToT ones
3) I could type an events.txt file like Mercator's, but MGE wouldn't like it
4) There is probably a bigger audience for MGE than ToT (?)

BTW: The ROTK graphics really look polished. I haven't figured out the design yet.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:29
  Old Post 23-07-2003 21:26 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Increase the size of your Attachments

1) Correct, ToT scenarios don't work on MGE and vice versa.
2) Correct, using CivConverter, available at http://coc.apolyton.net (as techumseh mentioned)
3) Correct, it uses ToT functionality, so if you don't have ToT it won't work. More specifically, MGE doesn't know the "@AND" and "continuous" parts.
4) Unfortunately, yes

@RtoK: To find out, reveal the map (you might want to wait until you've actually played the scenario first).

At the very top-right of the map you'll see a few isolated islands, with small cities on them. Those are used for the triggers.
I believe a unit is created at one end of the island. It then takes a few turns for the unit to reach the city at the other hand. It captures that city and a CityTaken event is triggered.

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