Announcement

Collapse
No announcement yet.

SLIC: BeginScheduler

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

  • SLIC: BeginScheduler

    Dear fans of CTP2,

    I have made one Slic-Handler for the game.
    Slic is a very, very interesting tool to make a good scenario. You can download the BeginScheduler-Handler from my Homepage:
    Aktuelle News aus Politik, Sport, Unterhaltung, Wirtschaft & Finanzen | Ratgeber Leben, Gesundheit und Heim & Garten | E-Mail und Shopping bei t-online.de.

    The Handler looks for great enemy armies and these will attack your cities and armies.
    I have taken my informations to build this Handler from Dales AirMoveHandler and the Slic-informations from Locutus (very helpful was to control a Slic-code by the message-box).

    I have also built in this Handler into my scenario.

    I hope everything works better than before.

    Activision has created a very, very good game with many possibillities to create a good scenario.

    Best wishes

    Fritz

  • #2
    Hi just downloaded the thing I will let you know how I get on with it
    "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
    The BIG MC making ctp2 a much unsafer place.
    Visit the big mc’s website

    Comment


    • #3
      DP
      "Kill a man and you are a murder.
      Kill thousands and you are a conquer.
      Kill all and you are a God!"
      -Jean Rostand

      Comment


      • #4
        Downloaded too.
        "Kill a man and you are a murder.
        Kill thousands and you are a conquer.
        Kill all and you are a God!"
        -Jean Rostand

        Comment


        • #5
          some very good ideas in there.

          try some other handlers
          battleaftermath
          battle
          citybeginturn etc.
          "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
          The BIG MC making ctp2 a much unsafer place.
          Visit the big mc’s website

          Comment


          • #6
            Code:
            messagebox 'EveryTurn' {
            Show();
            Text(ID_DROUGHT_TEXT);
            Button(ID_EXIT)
            {
            kill();
            }
            }
            What should i right to this message? Could you give me an idea?
            "Kill a man and you are a murder.
            Kill thousands and you are a conquer.
            Kill all and you are a God!"
            -Jean Rostand

            Comment


            • #7
              PHP Code:
              messagebox 'EveryTurn' {
              Show();
              Text(ID_DROUGHT_TEXT);
              Button(ID_EXIT){
              kill();
              }

              So far no real idea Pedrunn. But maybe the error lies in your language folder. By the way an error message would be very helpfull.

              -Martin
              Civ2 military advisor: "No complaints, Sir!"

              Comment


              • #8
                I used the messagebox to check my code.

                If you have some own code-check, than you should have not a German data folder but an English one.

                Comment


                • #9
                  Crash Alert!

                  I'm playing a 10 civs game, huge map and pollution on. I have a lot of Slics and many changes.
                  While playng i always had game crashs after turn 40 or later. When i load it again through Autosave it would continue the game as nothing had happenned but after some turns: more crashs again.

                  I looked my Slics and your code was the only one untested. I just took it off and BINGO! No more crashs!

                  Did you test it? Did you experienced the same problems?

                  If not you should take a look.
                  My opinion is that it has something to do with the barbarians since the time crashs starts is time they usually appear.
                  "Kill a man and you are a murder.
                  Kill thousands and you are a conquer.
                  Kill all and you are a God!"
                  -Jean Rostand

                  Comment


                  • #10
                    Maybe you could change the number of players in the Slic-code. But I am not a very skilled slic-code programmer at the present time. I tested the slic-code myself only 10-20 rounds maybe that there is a mistake somewhere. Slic-programming is a hard work.
                    Maybe I should use the array g.player instead of player[i].

                    Comment


                    • #11
                      Originally posted by FRITZ
                      Maybe I should use the array g.player instead of player[i].
                      I I missed this. In most cases you should use g.player, if you don't want to have any problems with DebugSlic=Yes. If the event does contain a player variable then it can be used.

                      But actual I am bumping this thread, because I would like to see your SLIC: BeginScheduler in the new Apolyton Directory CTP2 Modifications Text and SLIC category .

                      -Martin
                      Civ2 military advisor: "No complaints, Sir!"

                      Comment

                      Working...
                      X