Announcement

Collapse
No announcement yet.

Cradle 1.34a

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

  • #76
    Originally posted by Lou Wigman
    As for the tile improvements, I thought this was all done by the AItileimp.slc. You are aware that there is a problem with this. There is no point pillaging your enemy since the SLIC code simply puts back the tile improvements anyway. Am I right here or am I misinterpreting what is happening?
    As long as the AI has enough PW it can put back the tile improvements, that is true for every type of improvement. The Commerce Improvements For AIs slic file put a commerce tile improvement on a free square. The latest version doesn't contain any cheat about it. No prefinished tileimps anymore.

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

    Comment


    • #77
      I am currently working on some new/different tile improvements. As I said earlier, it makes for a better game if the tile improvements are strictly divided into Food/Commerce/Production. We know that the AI favours food production. My question is, just how sophisticated can we make the AI tile improvements SLIC?

      For example, can we have the AI place more commerce improvements if it has lots of food and more food improvements if it is in a poor position? This is what I tend to do myself. I aim for a particular growth rate, usually 500-1000 per turn and maximise commerce (and hence science) with the rest. Is anything like this possible with SLIC?

      On a similar topic, I would like to discuss the role of mines in CRADLE. I build very few of these. They are expensive and cause masses of pollution. In CRADLE 1.34b most of my cities are not doing anything most of the time anyway. I have lots of gold and lots of PW points. Why would I need mines?

      Comment


      • #78
        I'm having a bit of trouble with loading Cradle 1.34a.
        Everytime I play a new game, I get this message that pops up: Slic Error - In object CRA_PiracyTest, function_Random: Value out of bounds

        Any suggestions on how to get around this?
        Last edited by Azeem; December 16, 2002, 15:40.
        "When we begin to regulate, there is naming,
        but when there has been naming
        we should also know when to stop.
        Only by knowing when to stop can we avoid danger." - Lao-zi, the "Dao-de-jing"

        Comment


        • #79
          Find and open userprofile.txt, find the line DebugSlic=Yes and change it to DebugSlic=No.
          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


          • #80
            It already has been and I'm still getting the same error.

            It has something to do with the CRA_Piracy file.
            "When we begin to regulate, there is naming,
            but when there has been naming
            we should also know when to stop.
            Only by knowing when to stop can we avoid danger." - Lao-zi, the "Dao-de-jing"

            Comment


            • #81
              There may be more than one version of that file. Try this one.
              Attached Files

              Comment


              • #82
                It finally worked!

                Thank you very much for your help.

                There's still another problem though - the game still crashes whenever moving a unit (player or AI) onto a tile with Ruins.
                Last edited by Azeem; December 16, 2002, 23:47.
                "When we begin to regulate, there is naming,
                but when there has been naming
                we should also know when to stop.
                Only by knowing when to stop can we avoid danger." - Lao-zi, the "Dao-de-jing"

                Comment


                • #83
                  It shouldn't actually be a crash, but the game does hang for a long while.

                  If you wish to change this, go into risks.txt, and set the chance for getting a unit or advance in a hut to 0 for each difficulty level. Of course then you wont get units or advances, but it will stop the lag.
                  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


                  • #84
                    small questions

                    Cradle 1.34 b
                    Ultra g. map
                    medium level
                    barbarians nasty
                    1130 AD
                    Ranking 6° / 8 but near other 3
                    N° city 23
                    bigger city: 36
                    Last unit discovered: trebuchet
                    3 wonders built: Olympic games, Crhistianity, Appian Way. ( Real world I live in appian way! )
                    Funny: I had christianity exactly 0 year..

                    Epic marvellous balanced game!
                    I love the great cultural sense of this new wonders

                    Two small questions:

                    1) I ve discovered dark ages and some turn later I change dictatorship goverment in tribunal empire.
                    So what's the meaning of
                    "Tribunal empire obsoletes: Dark ages?"
                    I missed smth?

                    2)AI CIVS are all expanding borders with many fortifications, so I've built a city inside their border.
                    Then I terraformed the fortification mining it, but the AI civ borders are not completely disappeard but they close a no-sense zone...........
                    MF

                    Comment


                    • #85
                      I had an SLIC Error come up - CRA_diplomod.slc:468:Array index 1 out of bounds.

                      Is there a way to fix this?
                      "When we begin to regulate, there is naming,
                      but when there has been naming
                      we should also know when to stop.
                      Only by knowing when to stop can we avoid danger." - Lao-zi, the "Dao-de-jing"

                      Comment


                      • #86
                        Azeem,
                        Call to Power 2\ctp2_program\ctp\userprofile.txt

                        In the line 73 should be must be written
                        Code:
                        DebugSlic=No
                        This is a procedure that has to be done to all mods

                        If the DebugSlic is equal to 'Yes' slic errors will show up when playing the mods.
                        "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


                        • #87
                          does this mean there are alot of errors in the SLIC codes that people make ??
                          Oxygen should be considered a drug
                          Tiberian Sun Retro
                          My Mod for Tiberian Sun Webmaster of
                          http://www.tiberiumsun.com

                          Comment


                          • #88
                            Unfortunately, yes. They are, however, usually necessary errors to make the code work properly... Such is programming in SLIC.

                            Comment


                            • #89
                              Hmm, that bit about 'necessary errors' is not really correct.

                              Setting "DebugSlic=Yes" puts you into Debug mode. Every SLIC programmer should do this while he's writing and testing his program. It uses a bit more memory but you get much better and more complete error messages. If you get, for example, an 'out of bounds' error message while in debug mode and then set 'DebugSlic=No', you won't get the error message but the error does not go away. The game just ignores your code so it's not doing what you wanted it to do. These errors are always correctable: it's just a matter of tracking them down.

                              Azeem,

                              What's the date on the CRA_diplomod file that you're using? I looked at that code and can't see how, in the version I've got, you could get such an error.

                              Comment


                              • #90
                                The date for CRA_diplomod is April 22, 2002.

                                I've already set "DebugSlic=Yes" to "DebugSlic=No" yet the SLIC errors continue to become a nuisance.
                                "When we begin to regulate, there is naming,
                                but when there has been naming
                                we should also know when to stop.
                                Only by knowing when to stop can we avoid danger." - Lao-zi, the "Dao-de-jing"

                                Comment

                                Working...
                                X