Announcement

Collapse
No announcement yet.

Alexander The Great Scenario

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

  • #31
    if we cant have alex what about his wives!
    "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


    • #32
      You could use the abilitionist sprite for alex wife if sprite is the problem.
      "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


      • #33
        good idea.
        "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


        • #34
          Hi, where might I find any SLIC files?

          Comment


          • #35
            Any SLIC files, or the SLIC files that operate in the Alexander Scenario?

            The latter are in the Call to Power 2\Scenarios\Alexander the Great\scen0000\default\gamedata folder. There are four:

            scenario.slc
            AG_func.slc
            AG_mod.slc
            AG_msg.slc

            Most of the event code is in the first two.
            Concrete, Abstract, or Squoingy?
            "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

            Comment


            • #36
              and there is some help files for slic on the apolyton db.
              "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


              • #37
                Hi, I have a french version of the game.

                I've just finished this scenario and Alexander's wife, Roxanne, gave birth to a boy, Who grew up to 12 years, at this time I received a message saying something like "your son is big enough, he must fear no danger from your enemies", but nothing else has happened
                since this, then I took the last remaining city and I saw the usual "bloodbath" end of game animation.

                Anyway, I met a problem, after taking the last persian city (luckily it was the penultimate one) and coming back to babylon where I had to be accepted as Imperator of Persia, I received , starting from this time, an error message for each move (of any army). This is the content of the message:

                In object AGBabylonCoronation_F, function_Message: there is no object named AGHappyEmpireA
                nevertheless all (previously) persians cities became happier .
                When I took the last city (Knossos), I received another error message:

                In object AGCivDefeat_F, function_Message: there is no object named AGCL_Defeat

                Then the animated ending and the score
                Cities: 79
                Population 828
                score: 12370

                I use the last patch.
                Anybody knows the problem, any solution?
                Thanks for your help, and sorry if it's already been posted somewhere else, but I couldn't find further information with the "search" tool.

                And thx 4 reading a so long text
                Last edited by silvwolf; April 21, 2004, 15:59.

                Comment


                • #38
                  up

                  Comment


                  • #39
                    Sorry silvwolf, I missed this post the first time you posted.
                    The problem is that the SLIC is incomplete. Oops. Goes to show how much this scenario has been played.

                    Problem #1:
                    Diagnosis: Typo.
                    Solution: Find the Alexander the Great scenario folder. Find the default/gamedata/scenario.slc file. Find these lines:
                    Code:
                    HandleEvent(MoveUnits) 'AGBabylonCoronation_F' post {
                    	if (babylonCoronation == 1) {
                    		if (alexUnit.location == babylonLoc) {
                    			HappyEmpire();				// Makes former Persian cities really happy
                    			[b]Message(1, 'AGHappyEmpireA');[/b]
                    			DisableTrigger('AGBabylonCoronation_F');
                    		}
                    	}
                    }
                    In the emboldened line, simply remove the last A in AGHappyEmpireA. This will give you a message, even if the content doesn't quite fit.

                    Problem #2
                    Missing message code.
                    In the same folder as before, in AG_msg.slc, somewhere in the bit headed
                    Code:
                      //------------------------//
                     // Empire defeat messages //
                    //------------------------//
                    Should be a block that says:
                    Code:
                    alertbox 'AGCLDefeat' {
                    	Show(); Title(ID_AG_BLANK);
                    	Text(ID_AG_CL_DEFEAT);
                    	Button(ID_AG_BUTTON_OK) {
                    		Kill();
                    	}
                    }
                    If you add that it will show you a message instead of an error message.
                    You'll also have to add the actual content of the message into {language}/gamedata/scen_str.txt. Something like this:
                    Code:
                    AG_CL_DEFEAT "The Corinthian League have been defeated. Nice one Alex!"
                    Of course the stuff between the " marks can be whatever you like, depending on language and content, historical context and that kind of stuff.

                    Hope this helps
                    Concrete, Abstract, or Squoingy?
                    "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

                    Comment

                    Working...
                    X