Announcement

Collapse
No announcement yet.

Cradle 2.0????

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

  • #61
    Originally posted by Maquiladora View Post
    Make the buildings and wonders with culture, less appealing to the human. So give (higher) culture points for buildings with little or no other effects, that way the human will have to commit totally to a cultural victory and lose in other areas. And the AI that builds them will build them anyway. Probably best to have only 1 or 2 AI personalities as culture chasers though.
    From what I can see, all the wonders are coded to give a bonus. Can I add/alter the existing text from the building triggers to create specific wonder triggers?

    // BUILDING AND WONDER BONUSES

    // adds to players total culture for certain buildings built
    HandleEvent(CreateBuilding)'AddCultureForBuildings ' post {
    int_t tmpPlayer;
    int_t tmpNum;

    tmpPlayer = city[0].owner;
    building[0] = value[0];
    tmpNum = building[0].type;

    if (tmpNum == BuildingDB(IMPROVE_SHRINE)) {
    AddPlayerCultureTotal (tmpPlayer, 5);
    } elseif (tmpNum == BuildingDB(IMPROVE_THEATER)) {
    AddPlayerCultureTotal (tmpPlayer, 10);
    .
    .
    .
    and so on


    CHANGED TO
    =======================================
    // BUILDING AND WONDER BONUSES

    // adds to players total culture for certain wonders built
    HandleEvent(CreateWonder)'AddCultureForWonders' post {
    int_t tmpPlayer;
    int_t tmpNum;

    tmpPlayer = city[0].owner;
    wonder[0] = value[0];
    tmpNum = wonder[0].type;

    if (tmpNum == WonderDB(WONDER_STONEHENGE)) {
    AddPlayerCultureTotal (tmpPlayer, 50);
    } elseif (tmpNum == WonderDB(WONDER_TORAH)) {
    AddPlayerCultureTotal (tmpPlayer, 50);
    .
    .
    .
    and so on
    Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
    ...aisdhieort...dticcok...

    Comment


    • #62
      Hello Hexagon.You posted that the main culprit of the aggressive AI in the Craddle mod comes from the Frenzy SLIC.What if I removed the Frenzy SLIC?What this take too much away from the AI,s offensive punch?What like to make diplomatic relationships and keep them with some of the AI factions.

      Comment


      • #63
        Originally posted by hexagonian View Post
        From what I can see, all the wonders are coded to give a bonus. Can I add/alter the existing text from the building triggers to create specific wonder triggers?
        It should work fine. You'll want to delete (or rename) the existing createwonder event handler "AddCultureForWonders" though, that gives +50 for any wonder.
        Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
        CtP2 AE Wiki & Modding Reference
        One way to compile the CtP2 Source Code.

        Comment


        • #64
          Originally posted by Protra3211 View Post
          Hello Hexagon.You posted that the main culprit of the aggressive AI in the Craddle mod comes from the Frenzy SLIC.What if I removed the Frenzy SLIC?What this take too much away from the AI,s offensive punch?What like to make diplomatic relationships and keep them with some of the AI factions.
          Give it a try...In all of the CRA_script.slc files, make this change to deactivate Frenzy...

          #include "CRASL_frenzy.slc"

          change to

          // #include "CRASL_frenzy.slc"

          (I've played CTP2 with Frenzy for so long, I'm not sure what a non-frenzy game would be like - let me know)
          Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
          ...aisdhieort...dticcok...

          Comment


          • #65
            I'm trying to adjust Maq's culture slic to only use certain wonders instead of all of them. I'm getting a single SLIC syntax error on line 278.

            =============================================
            OLD VERSION...

            // add to total culture for any wonder built
            HandleEvent(CreateWonder)'AddCultureForWonders' post {
            int_t tmpPlayer;

            tmpPlayer = city[0].owner;
            AddPlayerCultureTotal (tmpPlayer, 50);
            }


            =============================================
            REPLACED WITH...


            // WONDER BONUSES

            // adds to players total culture for certain wonders built
            HandleEvent(CreateWonder)'AddCultureForWonders' post {
            int_t tmpPlayer;
            int_t tmpNum;

            tmpPlayer = city[0].owner;
            wonder[0] = value[0];
            tmpNum = wonder[0].type;

            if (tmpNum == WonderDB(WONDER_STONEHENGE)) {
            AddPlayerCultureTotal (tmpPlayer, 250);
            if (tmpNum == WonderDB(WONDER_TEMPLE_OF_SOLOMON)) {
            AddPlayerCultureTotal (tmpPlayer, 250);
            if (tmpNum == WonderDB(WONDER_TEMPLE_OF_ZEUS)) {
            AddPlayerCultureTotal (tmpPlayer, 250);
            if (tmpNum == WonderDB(WONDER_CHICHEN_ITZA)) {
            AddPlayerCultureTotal (tmpPlayer, 250);
            if (tmpNum == WonderDB(WONDER_RESURRECTION)) {
            AddPlayerCultureTotal (tmpPlayer, 250);
            if (tmpNum == WonderDB(WONDER_HAGIA_SOPHIA)) {
            AddPlayerCultureTotal (tmpPlayer, 250);
            if (tmpNum == WonderDB(WONDER_MECCA)) {
            AddPlayerCultureTotal (tmpPlayer, 250);
            if (tmpNum == WonderDB(WONDER_POLYTHEISM)) {
            AddPlayerCultureTotal (tmpPlayer, 500);
            if (tmpNum == WonderDB(WONDER_JUDAISM)) {
            AddPlayerCultureTotal (tmpPlayer, 500);
            if (tmpNum == WonderDB(WONDER_BUDDHISM)) {
            AddPlayerCultureTotal (tmpPlayer, 500);
            if (tmpNum == WonderDB(WONDER_CONFUCIANISM)) {
            AddPlayerCultureTotal (tmpPlayer, 500);
            if (tmpNum == WonderDB(WONDER_CHRISTIANITY)) {
            AddPlayerCultureTotal (tmpPlayer, 500);
            if (tmpNum == WonderDB(WONDER_ISLAM)) {
            AddPlayerCultureTotal (tmpPlayer, 500);
            }

            ================================================== ==========

            The syntax error happens right after the above section.

            Any suggestions???? The three updated culture SLICS are attached below.

            And is there any way to monitor how many download hits my updated Cradle files have generated?

            Just curious...
            Attached Files
            Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
            ...aisdhieort...dticcok...

            Comment


            • #66
              Originally posted by hexagonian View Post
              I'm trying to adjust Maq's culture slic to only use certain wonders instead of all of them. I'm getting a single SLIC syntax error on line 278.
              If you get a syntax error at the beginning of another event handler it can often mean the previous handler wasn't closed properly, or in other words a close bracket "}" is missing. At least it is for me, I've had enough of them.

              I've fixed it up. Also replaced all the "if's" with elseif after the first, so the handler is closed as soon as the right wonder is found and culture added for it. Hopefully it now works.
              Attached Files
              Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
              CtP2 AE Wiki & Modding Reference
              One way to compile the CtP2 Source Code.

              Comment


              • #67
                Thanks...Looks like it works

                I'm still giving some thought to the points breakdown, but the hard part is done.

                Instead of Culture, I'm using Religious Influence as the score system. My 'Birth of an Empire' victory option uses culture as the barometer, so this Religious focus adds another dimension. I believe (based on your suggestion and what I have seen in my games) I can get the AI to pursue it too, unlike my BoaE victory option.
                Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
                ...aisdhieort...dticcok...

                Comment


                • #68
                  So far, 175 turns in...

                  16 civ game - Very Hard

                  Here is the Religious Influence breakdown on the first 8 civs...the remaining civs are similar.

                  As you can see, (civ 1) I'm trailing in Influence. If I decide to pursue and concentrate on religion, I know I can take the lead. The goal is to get most of the civs to 3,000 by the time the victory wonder is available. The trick is to make sure that a rival does not have a sizable tech lead AND the 3,000 points so they have a smooth path to build the wonder.

                  Sidenote: I'm also playing with gov-specific infantry units. Expansion becomes harder because I can potentially lose a lot of my army when I switch governments to gain the higher city caps.

                  I just lost Sargon and a Hero unit in a two stack-punch to take Rome. Got the city, but lost my two most valuable units in the game...
                  Attached Files
                  Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
                  ...aisdhieort...dticcok...

                  Comment

                  Working...
                  X