Announcement

Collapse
No announcement yet.

Alternative ai

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    At this point as I mentioned I used extremes, so I wouldn't base my mods into a real game.

    But here's an example of what I did in diplomacy.txt

    The original:

    ProposalElement {
    Proposal PROPOSAL_TREATY_ALLIANCE
    SendPriority 100
    AcceptPriority 110
    RejectPriority 100
    SenderRegardResult 200
    ReceiverRegardResult 200
    ViolationRegardCost -100
    ViolationTrustCost -30
    }


    The moded:

    ProposalElement {
    Proposal PROPOSAL_TREATY_ALLIANCE
    SendPriority 200
    AcceptPriority 200
    RejectPriority 50
    SenderRegardResult 250
    ReceiverRegardResult 250
    ViolationRegardCost -300
    ViolationTrustCost -50
    }

    As I said, an extreme. But the increased priorities made the AI consider them. By increasing accept priority to the same, it makes the AI accept more alliance requests, as lowering reject makes it not want to reject it. The violation costs make the AI want to hold onto it a little longer. For example, with a -50 trust, by violating an alliance, the other party is going to take a LONG LONG time before it trusts the violator again. More in line to how I think.

    I'll try and fine-tune the diplo a bit more tonight and let you know tomorrow.

    ------------------
    Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

    Comment


    • #32
      At this point as I mentioned I used extremes, so I wouldn't base my mods into a real game.

      But here's an example of what I did in diplomacy.txt

      The original:

      ProposalElement {
      Proposal PROPOSAL_TREATY_ALLIANCE
      SendPriority 100
      AcceptPriority 110
      RejectPriority 100
      SenderRegardResult 200
      ReceiverRegardResult 200
      ViolationRegardCost -100
      ViolationTrustCost -30
      }


      The moded:

      ProposalElement {
      Proposal PROPOSAL_TREATY_ALLIANCE
      SendPriority 200
      AcceptPriority 200
      RejectPriority 50
      SenderRegardResult 250
      ReceiverRegardResult 250
      ViolationRegardCost -300
      ViolationTrustCost -50
      }

      As I said, an extreme. But the increased priorities made the AI consider them. By increasing accept priority to the same, it makes the AI accept more alliance requests, as lowering reject makes it not want to reject it. The violation costs make the AI want to hold onto it a little longer. For example, with a -50 trust, by violating an alliance, the other party is going to take a LONG LONG time before it trusts the violator again. More in line to how I think.

      I'll try and fine-tune the diplo a bit more tonight and let you know tomorrow.

      ------------------
      Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

      Comment


      • #33
        hey dale ...where do you find the road stuff ??

        Comment


        • #34
          hey dale ...where do you find the road stuff ??

          Comment


          • #35
            quote:

            Originally posted by joe77 on 01-11-2001 04:57 AM
            hey dale ...where do you find the road stuff ??
            in the strategies.txt
            look for RoadUtilityBonus

            Comment


            • #36
              quote:

              Originally posted by joe77 on 01-11-2001 04:57 AM
              hey dale ...where do you find the road stuff ??
              in the strategies.txt
              look for RoadUtilityBonus

              Comment


              • #37
                Hmmm...... having trouble getting AI to build diplos. If I give him a diplo, he gets stuck in diplo. However on the plus side, I actually got this request from the Greeks:

                - They requested 200 gold in a haughty tone.
                - I refused.
                - They threatened war.
                - I still refused.
                - They declared war.

                After declaring war, they sent a couple of stacks at me, which I brushed off and they requested a cease-fire.

                This is the weekends goals:

                1 - Make the AI build diplos.
                2 - Make the AI pursue diplo functions as per their government (communist with other communist, repub with other repubs, etc) Birds of a feather flock together basically.
                3 - Make the AI pursue diplo functions based on their personality. Eg. Militarilist leaders pursue demands/threats. Scientists pursue advances/research pacts. Etc.

                ------------------
                Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

                Comment


                • #38
                  Hmmm...... having trouble getting AI to build diplos. If I give him a diplo, he gets stuck in diplo. However on the plus side, I actually got this request from the Greeks:

                  - They requested 200 gold in a haughty tone.
                  - I refused.
                  - They threatened war.
                  - I still refused.
                  - They declared war.

                  After declaring war, they sent a couple of stacks at me, which I brushed off and they requested a cease-fire.

                  This is the weekends goals:

                  1 - Make the AI build diplos.
                  2 - Make the AI pursue diplo functions as per their government (communist with other communist, repub with other repubs, etc) Birds of a feather flock together basically.
                  3 - Make the AI pursue diplo functions based on their personality. Eg. Militarilist leaders pursue demands/threats. Scientists pursue advances/research pacts. Etc.

                  ------------------
                  Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

                  Comment


                  • #39
                    I like the way people are approaching AI changes. Set goals then try to achieve them. I think we have a great opportunity to recreate CtP2 as a playable game.

                    Keep the ideas flowing.

                    ------------------
                    History is written by the victor.

                    Comment


                    • #40
                      I like the way people are approaching AI changes. Set goals then try to achieve them. I think we have a great opportunity to recreate CtP2 as a playable game.

                      Keep the ideas flowing.

                      ------------------
                      History is written by the victor.

                      Comment


                      • #41
                        Dale - Your changes are encouraging. You might want to communicate what you are doing and what you've found with Wes as he is seeking input on what changes ot make to create a revised mod pack.

                        ------------------
                        'Blood will run'
                        'Blood will run'

                        Comment


                        • #42
                          Dale - Your changes are encouraging. You might want to communicate what you are doing and what you've found with Wes as he is seeking input on what changes ot make to create a revised mod pack.

                          ------------------
                          'Blood will run'
                          'Blood will run'

                          Comment


                          • #43
                            Have got the diplomacy mod happening well, intertwined with Blueo's frenzy mod (See general forum for teaser readme). It is however, the ai.slc I downloaded last friday, so the script may have errors. Since I don't have a website, who wants to host the zip file for me?

                            ------------------
                            Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

                            Comment


                            • #44
                              Have got the diplomacy mod happening well, intertwined with Blueo's frenzy mod (See general forum for teaser readme). It is however, the ai.slc I downloaded last friday, so the script may have errors. Since I don't have a website, who wants to host the zip file for me?

                              ------------------
                              Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

                              Comment


                              • #45
                                Dale, I could do it for you, I will send you an email
                                Apolyton QuickStart for CTP PBEM

                                Comment

                                Working...
                                X