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 > random scenarios
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
techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:14
Question  Old Post 28-12-1999 05:15 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
random scenarios Support Apolyton

Does anyone know if ToT supports the multiple and random scenario selection from FW? Jules Verne was an example. There were actually 6 different versions of the same scenario, one of which was randomly selected when you loaded the scenario.

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Post  Old Post 28-12-1999 05:48 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

(Trigger finger - apols)
[This message has been edited by Cam (edited December 27, 1999).]

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Post  Old Post 28-12-1999 05:50 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton or Terrorists Win

Believe it or not, I was going to ask the same question only yesterday, and then I thought that someone will say; "Why don't you test it and find out for yourself?" - I know that sounds like a cheeky remark, but alas - why not? So did I test it? Not yet! Anyone?

The other question I was going to ask was Is there any way of checking a tribe's 'flag progress' in a game? I can imagine the number of events that should work but don't because some flag went over that didn't, or the wrong flag number was turned on, etc. My early investigations would indicate that there isn't. Anyonex2?

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Smile  Old Post 28-12-1999 06:48 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Tired of ads?

Techumseh ... Let's find out!

Cam ... that is what flags are for. Please send me an example.

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
  Old Post 28-12-1999 17:01 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Suffering from ads?

William,

In the 'Somewhere in Time' part of the 'Time Threat Paradox' scenario, the player must capture 10 particular cities on one of the maps, each one turning on a flag upon capture. What I'm wondering, is there any way of checking which flags are on or off at any point in a game - say I've got six of the cities, is there a way of identifying this other than by simply counting them off the screen map? (Sorry - was that a ramble?)

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Smile  Old Post 28-12-1999 19:58 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

As a scenario designer I would use the checkflag with a mask and count to check how many cities the player has captured.

@IF TurnInterval
Interval=10
@AND
CheckFlag
Who=Somebody
Mask=0b00000000000000000000001111111111
Count=5
State=On
@THEN
Text
^You have captured Five cities!
^Only Five more to go.
EndText
@ENDIF

Dracon
Guest

Not Yet
time:
Post  Old Post 29-12-1999 02:14
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Inflate your Upload Space

okay, let's try the random .alt files shall we?

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Thumbs down  Old Post 29-12-1999 06:11 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Call to Power 2

The .ALT files are not coded in ASCII (plain text). Which means there is probably some utillity program required to make/read them.

There are no special codes that I can find imbeded in the other files that would trigger the civ engine to look for these .ALT files.

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Thumbs up  Old Post 29-12-1999 07:03 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Remove this text

Fear not - it works!

I did four alternate games by placing one with a freight, one with an explorer, one with a marine, and one with a dragoon in a newly created scenario. First time I opened it - the explorer was present, second time was the dragoon, third the explorer, and fourth the freight.

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Smile  Old Post 29-12-1999 07:11 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Browse Apolyton AD-FREE

William,

Thanks for the advice on the flags - makes perfect sense. As before, if authors make 'blues' by misspelling tribe names in events, I think the possibility of flags going astray would be pretty high - what you've suggested looks like a sensible approach.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Question  Old Post 29-12-1999 11:13 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Browse Apolyton AD-FREE

Cam ... how do you create the .ALT files to do this test???

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Post  Old Post 29-12-1999 11:26 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Increase the size of your Attachments

The use of Somebody in the example above assumes that the AI is not going to be taking any key cities which may or may not work depending on the scenario.

If you misspell a tribe name in the events it gives you an error. Transposed names however are still a problem.

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:14
Question  Old Post 29-12-1999 13:43 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Got spare money?

Thanks gentlemen! Cam, your answer begs another question. Are the scenarios selected at random, or in sequence?

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Post  Old Post 29-12-1999 14:01 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Answering the second, first, I believe they are random. In the four games I opened, two contained the explorer unit, while there only one freight, one dragoon, and no marine.

William's question - I started a game. Opened the cheat menu. Inserted a unit (dragoon) in the visible area of the Romans. Saved it as a scenario 'crud.scn'. I then deleted the first unit (dragoon) for another (marine). Saved it as 'crud2.scn'. This continued for 'crud3.scn' (exporer) and 'crud4.scn' (freight).

I then went into Windows explorer and renamed 'crud2.scn' to 'crud2.alt', and did the same with 'crud3.scn' and 'crud4.scn'.

When beginning a new scenario, the option is 'crud.scn' but it will seemingly randomly choose from the four variants.

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:14
Smile  Old Post 29-12-1999 14:27 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Tired of ads?

Thank you Cam! This creates exciting possibilities.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Thumbs up  Old Post 29-12-1999 23:23 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

For Cam

<<< Standing Ovation >>>

Nice job!

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Smile  Old Post 30-12-1999 04:10 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Increase Your PM Length

Well, thanks, but it's hardly groundbreaking stuff - but at least we all know now! It will give any scenario with a 'search and destroy' element greater replayability no doubt, and this is only extended upon through the 'flag and mask' possibilities and the 'extra random features' add in ToT's events macro language.

Dracon
Guest

Not Yet
time:
Post  Old Post 30-12-1999 15:21
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Help yourself to an AD-FREE life

Can you associate other files with .alt files?, e.g, your .alt files has a different events.txt to the main .scn

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Thumbs up  Old Post 30-12-1999 16:19 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton buy from Amazon

Yep!

The file names in my testing being; Events.txt, Events2.alt, Events3.alt, and Events4.alt . Note, the events are not necessarily connected to the broader scenario alternate file, so you can have the file 'Crud3.alt' working with 'Events2.alt' in one game and the next time 'Crud3.alt' pops up it could be working with 'Events4.alt'.

William Keenan is offline William Keenan
Prince
New Jersey, USA, Earth, Sol, Milky Way
Sep 1999
time: 00:14
Smile  Old Post 30-12-1999 17:46 Visit William Keenan's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Get a bigger avatar today!

one word comes to mind Cam ... Tip.

Miner is offline Miner
Prince
of London
Jul 1999
time: 05:14
Exclamation  Old Post 30-12-1999 18:35 Visit Miner's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Help yourself to an AD-FREE life

So there is no way of linking a specific events file to an alternate scenario, if I am reading that last post correctly?

I have just got ToT for Xmas and am currently working on a Fantasy scenario which uses the alternate random scenario selection. I have also come up with a way to link the .alt to one events file and have it make sense for each alt scenario . I was going to submit this as a tip after the scenario got made...
[This message has been edited by Miner (edited December 30, 1999).]

Dracon
Guest

Not Yet
time:
Post  Old Post 30-12-1999 19:24
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Cam, what about other files? rules, units? game?

This is cool stuff folks. Expect to see some of it in my next scenario. And this time I'm NOT letting Mike Jeszenka review it. He'll go apoplectic

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Smile  Old Post 30-12-1999 20:03 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

William,

Love them tips! Happy to do so - particularly as I don't think it's ever been covered (that is, this hasn't been addressed for pre-ToT Civ2). It'll be a introductory ToT level tip too, which will help balance what I hope will be plenty more advanced level ToT guides in the Scenario League Design Tips section.

Dracon,

I'm not sure, and that's one that will need testing again, but I'd imagine that it would be 'do-able'.

Miner,

Oh no - I'm not saying it can't be done, (never say never!). I'm not sure if I'm reading your post correctly or not, but if there's no aternate events file (i.e. only events.txt) the game will use that file regardless of which scenario version comes up. However, it seems from what you're saying (reading it another way) that you have been able to link the scenario variants (e.g. Crud.scn, Crud2.alt, Crud3.alt,...) with the event variants (Events.txt, Events2.alt, Events3.alt, etc.) in their stated order and not have this randomised(?). When's your scenario due out? Any preliminary info'?
[This message has been edited by Cam (edited December 30, 1999).]

Miner is offline Miner
Prince
of London
Jul 1999
time: 05:14
Arrow  Old Post 30-12-1999 20:31 Visit Miner's homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Support Apolyton

Cam

No I havent worked out how to link an events file to an alternate scenario file
(ie events1.alt matches with crud1.alt or whatever). There can be only one events file, events.txt. What I have figured out is by using flags and the extra event space available, you write events suitable for all of the alternate scenarios and put them in events.txt. The events check which scenario you are in by using @AND. The @AND checks the presence of a technology which indicates which scenario you are in. Make sense yet? I'm probably not explaining this well.

The scenario should be out before the end of Jan.

Cam is offline Cam
King
Australia
Jan 1970
time: 14:44
Lightbulb  Old Post 31-12-1999 02:27 Visit Cam's homepage!
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Support Apolyton buy from Amazon

Oh - I see! Got ya! More good thinking. I look forward to seeing the product of your labour!

Kestrel is offline Kestrel
Warlord
Melbourne, Victoria, Australia
Jul 1999
time: 05:14
Post  Old Post 31-12-1999 11:29 Visit Kestrel's homepage!
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Support Apolyton buy from Amazon

Folks,

Was watching this thread with interest.

I have knocked up 5 ToT "Random-Start" Scenarios for my ExtendedOriginal "No Spaceships, No Aliens" modpack if anyone wants to try them out.

Each Scenario starts with a different set of maps and distribution of settlers. Each of the various worlds is custom-designed
to avoid the limitations of the 'normal' or 'land-dominant' settings in the Rules.txt
(Settings 6 & 4) and in some cases to make the land-forms seem less Earth-like.

In addition each Civ starts with at least 2 settlers, often one of those starting out on one of the alien worlds. This keeps the competition up on each world. (No Civ has a world to themselves where they can just sit and build without having to worry about attack). (However not every settler on every world is likely to survive...)

I haven't figured out how to change the Rules.txt so that the game dumps settlers on more than one world at start-up yet. (Don't know if it is possible , other than hacking a few events into the events.txt).


I even tested it. (And it seems to work !).

As always, available at : www.users.bigpond.com/Kestrel18

Happy New Year.

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

I wrote ...
quote:
Mick,

In the Verne Scenario there were six different versions of the same
scenario, one of which was randomly selected when you loaded the
scenario.

How did you do it?


Mick replied ...

quote:
Hi William,

The procedure was very simple. After building and saving the six scenarios,
I labelled one of them, Verne.scn and the remainder, Verne2.alt,
Verne3.alt,..., Verne6.alt. That's it. Since I had prepared an introduction
for the scenario, I also had to make 5 copies of it and label them
Verne.txt, Verne2.txt,...,Verne6.txt so that whichever one was chosen, the
introduction would appear. You can probably substitute whatever name you
want for Verne, you must maintain the number sequence, however. Although I
never tried this procedure for the Test Of Time scenarios, I believe it
should still work here, too.

Mick Uhl

  < 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.0521 seconds (92.04% PHP - 7.96% 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