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 > Creating batch files?
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
our_man is offline our_man
Prince
Glasgow, Scotland
Oct 2000
time: 05:13
Post  Old Post 11-03-2001 01:41
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Creating batch files? Put an end to popups!

I've been working on my first scenario for quite a long time now (4 months) and it's nearly ready for playtesting, but I feel it is severly limited by the minimum amount of events one can have in Fantastic Worlds. I have seen quite a few scenarios (Red Front, Imperium Romanium to name but two) in the past year that have got around this limitation by creating batch files which are run at certain dates to replace the existing events file with a new one. This seems to be the only solution, unfortunately I do not have the slightest clue how to carry it out. Any instructions on how to create this effect would be greatly appreciated.

Captain Nemo is offline Captain Nemo
Prince
Red Front
Jan 1970
time: 05:13
Post  Old Post 11-03-2001 06:14 Visit Captain Nemo's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Tired of ads?

The general idea is to create a number of events.txt files with different names to be used for each part of the scenario. When the first date to switch event files comes along the current event file gives the player a message to save the game under name XXX.sav, then to run the batch file (Which is located in the scenario directory) and select option 2 then to reload game xxx.sav
The batch file is a dos file that contains commands to copy the new events2.txt into the current events.txt and then to run the utility "Delevents" on the XXX.sav file to remove the previous events, so when reloading the XXX.sav file the new events are chosen and loaded.
Feel free to use the batch file from Red Front or Second Front as templates on how to build this file. They contain addtional commands to substitute also units.gif, terrain.gif, rules.txt, game.txt, sounds etc... but the basic structure should be easy to follow.

our_man is offline our_man
Prince
Glasgow, Scotland
Oct 2000
time: 05:13
Thumbs up  Old Post 11-03-2001 21:31
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton or Terrorists Win

Thanks for the quick reply Nemo and your permission to use your batch files as templates. Suddenly this task doesn't seem quite as intimidating as it previously did!

Is it also okay if I use some of your graphics from your scenarios as well? After a few pathetic attempts at trying to do my own, I finally admitted it was definitely not my strong point and started looking for alternatives.

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