Announcement

Collapse
No announcement yet.

A little question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • A little question

    Having ironed out most of the bugs in my napoleon scenario (I have a feeling I am going to regret saying this later!) I think that I should try to improve it as much as possible before I release it.

    One of the things I was least happy about was the lack of events space, because of this many things that I would have like to included were left out of the playtest versions. The easiest solution to this would be to use more than one events.txt file, but I want to do it in a differant way than most people have so far.
    In the scenarios I have seen where multipul events.txt files have been used, they are used one after the other (events B superseeds events A, which (B) is then superseeded by events C, etc.)

    I wish to have 4 or 5 events.txt files running at the same time, 2 for military events, 1 for city capture, 1 for historical texts, interesting things about battles etc. and 1 for other events.

    what I would like to know is:

    A) Is this possible (in theroy)
    B) Is it likely to work (in practice)
    C) will it require me to write a batch or similar file (which I almost certainly can't do!)?

    thanks

    P.S if any of my playtesters have any futher feedback, then it would be much appriceiated (sp?)
    send it to cockney9@hotmail.com

    ------------------
    "If Hitler had invaded hell I would at least have made a favorable reference to the devil"
    Wiston Churchil upon hearing of the Invasion of Russia

    "You won the election, but I won the count"
    Anastasio Somoza
    "The Christian way has not been tried and found wanting, it has been found to be hard and left untried" - GK Chesterton.

    "The most obvious predicition about the future is that it will be mostly like the past" - Alain de Botton

  • #2
    I don't think that is possible. But what do I know.

    If you are going to run then all at the same time I don't hink a batch file would be necessary. Besides simple batch files are easy to make. It's just DOS commands in text format with the .bat extention.

    Comment


    • #3
      Wonderful concept in theory, but just not possible. Civ only allocates a certain amount of space for Events, and loads it into RAM with the rest of the game. This data becomes physically part of the game when it's saved (hence the reason multiple event games must use the saved game-delevent.exe combo to clean the slate for a new event file). To actually "see" the problem, load a saved game file into a hex editor, and near the bottom you'll find all the events text strung together.

      It's also easy to test. Start up a new game and immediately plug a new events file into the folder. Not one of the new events will execute. Same thing will happen if you save the game and restart without using delevent.

      I had hoped to do something similar using Game.txt (which is NOT part of a .sav file) since it can offer many event-like announcements. Changing them on the fly seemed like a cool concept, but even that is forbidden. When you launch a Civ game or scenario, it immediately puts hooks into the game.txt file and any attempt to change it generates an error message (basically a refusal to make the substitution.) If you save-close-substitute-reopen, no problem. But you might as well run the .sav file through delevent while you're at it, so it's just the same old thing.

      Using Batch files is still the best way to handle this situation.
      To La Fayette, as fine a gentleman as ever trod the Halls of Apolyton

      From what I understand of that Civ game of yours, it's all about launching one's own spaceship before the others do. So this is no big news after all: my father just beat you all to the stars once more. - Philippe Baise

      Comment


      • #4
        If I remember correctly, Alex the Magnificent's Spartacus scenario used multiple events files, but never had to use the delevent.bat, but then again... it was a new scenario you played each time, maybe you could have the person open the cheat menu, save their game as a scenario, then have them replace the event file.

        ------------------
        -Cal
        The strategically impaired,
        -Cal

        Comment


        • #5
          I wonder where the information on the maximum events space is stored. If anyone who is good in programming could hack into that file, this could open new dimensions in scenario designing!

          ------------------
          Follow the masses!
          30,000 lemmings can't be wrong!
          Mighty Carthage fought three wars:
          It was still mighty after the first one, still inhabitable
          after the second one;
          It could not be found after the third one.
          -Bert Brecht

          Visit my Homepage at: http://members.xoom.com/SHaertel/Index.html
          Follow the masses!
          30,000 lemmings can't be wrong!

          Comment


          • #6
            thanks for your help guys,

            looks like I will have to find another way round this
            "The Christian way has not been tried and found wanting, it has been found to be hard and left untried" - GK Chesterton.

            "The most obvious predicition about the future is that it will be mostly like the past" - Alain de Botton

            Comment

            Working...
            X