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 > Civilization II > Civ2-Test of Time > Fantasy Game - Ancient Dragon Unit - How created ?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Kestrel is offline Kestrel
Warlord
Melbourne, Victoria, Australia
Jul 1999
time: 05:14
Post  Old Post 26-03-2000 11:44 Visit Kestrel's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Fantasy Game - Ancient Dragon Unit - How created ? Support Apolyton buy from Amazon

I have been reading the Events.txt in the Fantasy game and trying to understand it and I am curious about how the creation of one of the units comes about.

What creates the "Ancient Dragon" in the Fantasy game (Unit=59) ? The unit is only available to Barbarians.

There are events which trigger if an Ancient Dragon is killed, but if I am reading it right there is nothng that I can see in the "Fantasy" Events.txt that will create one.

Is this an "omission" or is there some other mechanism whereby these units get created that I am missing ?

tobyr is offline tobyr
Prince
Princeton, NJ USA
Oct 1999
time: 05:14
Question  Old Post 26-03-2000 21:27
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

Kestrel, I ran a little test, starting 11 fantasy games. The ancient dragon was always in place before I could make any moves, and it started in 11 different places (events, I think allow using only ten different places), so I think it is a mechanism built directly into the game software.

For me, the interesting question is: how does the software know to create the special diagonal 4x4 dragon lair and the dragon? I presume it creates no such thing in the sci fi game, so SOMETHING in the fantasy game files must be triggering its creation.

-toby


------------------
toby robison
criticalpaths@mindspring.com

John Possidente is offline John Possidente
Prince
Hunt Valley, MD USA
Jun 1999
time: 00:14
Post  Old Post 27-03-2000 19:12
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Mick would be the better one to answer this, but have you checked to see how many maps/scenario files there are in the fantasy game directory? One way to do this would be to have multiple scenario starting situations, which is a feature we introduced (iirc) in Fantastic Worlds.

tobyr is offline tobyr
Prince
Princeton, NJ USA
Oct 1999
time: 05:14
Post  Old Post 27-03-2000 20:27
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton

John,
You have delightfully confused the fantasy game with midgard, I think. The fantasy game has no maps nor scenario files. There is an undrgrnd.mp file in the parent civ2 directory, but there seems to be no need for it in the fantasy game.

- toby


------------------
toby robison
criticalpaths@mindspring.com

Mick Uhl is offline Mick Uhl
Chieftain
Hunt Valley, MD, USA
Jun 1999
time: 05:14
Post  Old Post 27-03-2000 23:15
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Remove this text

Because we couldn't guarantee the appearance of an ancient dragon in the randomly-placed treasure room at the start of the fantasy game via an event, we were forced to rely on a hard-code solution. Hence, there is no way to control that dragon.

tobyr is offline tobyr
Prince
Princeton, NJ USA
Oct 1999
time: 05:14
Post  Old Post 28-03-2000 00:08
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Increase Your PM Length

So Mick, how does the software know to create a dragon lair? As I asked:

For me, the interesting question is: how does the software know to create the special diagonal 4x4 dragon lair and the dragon? I presume it creates no such thing in the sci fi game, so SOMETHING in the fantasy game files must be triggering its creation.


Scenario designers have a lot of freedom to use this feature, since (I guess) all the code does is:
- create a lair for a specific unit.
- move the unit around, restricted to in its lair.
- does the code do anything else?


-- toby

Mick Uhl is offline Mick Uhl
Chieftain
Hunt Valley, MD, USA
Jun 1999
time: 05:14
Post  Old Post 30-03-2000 04:26
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton or Terrorists Win

The room and dragon are built as part of the random world construction at the start of a new game. Sorry, there is no way you can fiddle with it.

tobyr is offline tobyr
Prince
Princeton, NJ USA
Oct 1999
time: 05:14
Question  Old Post 30-03-2000 20:10
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton buy from Amazon

Mick,

So Mick, how does the software know to WHETHER OR NOT to create a dragon lair?

Will the game build a lair in any secondary map that is type 2 (underground)? If I make a world with three underground secondary maps, will I get three lairs with dragons?

Tnx,
- toby

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Smile  Old Post 30-03-2000 21:38 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

The dragon gets created in any new Fantasy game that is started with a randomly generated map.

tobyr is offline tobyr
Prince
Princeton, NJ USA
Oct 1999
time: 05:14
Lightbulb  Old Post 31-03-2000 00:01
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

I must be unbelievably dense, my question seems to make no sense to anybody. I'm quite amused that I have a question that makes no sense to anyone else, but I'm giving in to my great desire to try to communicate. Here we go again...

I did some research, perhaps this will help to explain my question:

(A) If you change rules.txt so that all three secondary maps are type 2 (underground), you only get a dragon on map 2. (This might be becuase map 2 is hardwired into the code, or because the corresponding terrain types on maps 1 and 3 do not support the construction of the lair and a creature.) I only tried this once.

(B) if you change the fantasy map 2 to type 1 undersea (instead of 2 underground), you do not get a dragon (I tried this just once).

(C) At this point, the correct hypothesis seems obvious: when you create a game, if you click on "fantasy" to create a fantasy game, the game knows to create a dragon and its lair. To test this hypothesis, I saved the scifi game, and copied all the files from my fantasy directoy into the scifi directory. I then created a scifi game. (I tried this just once.)

I GOT A DRAGON LAIR ("cave of wonders") ON MAP2 , BUT NO CREATURE WAS IN THE LAIR.

Therefore the code is not simply triggering on the fact that you are trying to create a fantasy game. Unless, there is always a cave of wonders in the real sci fi game on map 2. I wouldn't know about that.

NOW: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@

Let me ask my question again, which I KNOW is of interest to modpack designers:

HOW DOES THE SOFTWARE KNOW WHETHER TO CREATE A DRAGON AND ITS LAIR?

Remember the saying, "If you build it they will come"?

WHAT must I "build" (in rules.txt, etc.), to get a lair and a dragon when the game is created?????


To put it another way, somewhere in the code is the following logic:

if (conditions) then
build lair and build creature_in_lair


WHAT ARE "conditions"? I'm curious.


To put it still another way, Mick Uhl said "room and dragon are built as part of the random world construction at the start of a new game. Sorry, there is no way you can fiddle with it." BUT that does not explain why some ToT worlds have dragons/lairs and some do not. SOMETHING fiddles with it...

Thanks for listening...
- toby


------------------
toby robison
criticalpaths@mindspring.com

Miner is offline Miner
Prince
of London
Jul 1999
time: 05:14
  Old Post 31-03-2000 01:29 Visit Miner's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton buy from Amazon

I know what you mean tobyr even if no-one else does. This is of interest to scenario designers hence me sticking my oar in.

I bet you it is hard coded so only Fantasy Games and Map2 gets the Lair.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Smile  Old Post 31-03-2000 10:20 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

To be frank ... I understood your question. What I did not say was that as a ToT fantasy scenario designer the question of what causes the dragon to appear is of no interest to me.
[*] because the chance of me using a random map to create a scenario is close to nil.
[*] if I did use a random map it would take two mouse clicks to be rid of the dragon anyway, so it is not a problem.
[*] there are more perplexing questions in ToT scenario design that are not so easily dealt with. For example, what unit slots are dedicated to barbarian appearance on the different maps.

Basically my point is this, if Mick Uhl is going to take the out the time to answer a perplexing design question, I would much prefer it be a difficult problem like barbarian appearances then one I could easily solve with two mouse clicks.

tobyr is offline tobyr
Prince
Princeton, NJ USA
Oct 1999
time: 05:14
Post  Old Post 31-03-2000 18:41
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton

William,
You've got a very good point. I'll avoid trying to get Mick to spend time on trivia questions in the future.

I did not think the dragon issue was important to scenarios, but rather to modpacks that still worked with random world creation. It's too bad we can't have three maps with dragons...

- toby


------------------
toby robison
criticalpaths@mindspring.com

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    top of page
Rate This Thread:
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.0437 seconds (88.37% PHP - 11.63% MySQL) with 30 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