Announcement

Collapse
No announcement yet.

How to slow this by 1/2?

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

  • How to slow this by 1/2?

    I want to reduce the number of given techs using the dissemination slic file below, how would I half the frequency of below?
    Attached Files
    ---------------------------------------------
    Pavlov Zangalis - Hero of the capture of Berlin RFDG.
    ---------------------------------------------

  • #2
    The code contains a few hundred statements of "Random(2*numberOfPlayers)". Change the 2 in that statement to a 4. To avoid a lot of tedious work, do a global search and replace: replace "2*" with "4*", you'll be done in a matter of seconds
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

    Comment


    • #3
      Better yet, change the 2 to a variable so that if you wish to tweak it further you can with more ease.

      Comment


      • #4
        WOrked

        I changed it to 3 which in my opinion is best as it stops the player from waiting to be given the advances.
        ---------------------------------------------
        Pavlov Zangalis - Hero of the capture of Berlin RFDG.
        ---------------------------------------------

        Comment


        • #5
          Originally posted by Locutus
          The code contains a few hundred statements of "Random(2*numberOfPlayers)". Change the 2 in that statement to a 4. To avoid a lot of tedious work, do a global search and replace: replace "2*" with "4*", you'll be done in a matter of seconds
          umm..4-give me oh great Locutus, but how exactly would one do this.."Global search"

          Thanks in advance

          where I am going with this is I thought I could do a "global search" when altering the units.txt file when removing the "Can Pillage" or Can Pirate" flags

          I manually remove them but would be nice if I could simply do what you say here..

          I usually use EDITPLUS2

          Thanks

          Gramps
          Hi, I'm RAH and I'm a Benaholic.-rah

          Comment


          • #6
            Originally posted by J Bytheway
            Better yet, change the 2 to a variable so that if you wish to tweak it further you can with more ease.
            Could I use this just as a simple slic added to th end of the default SLIC or save the whole file mentioned above?

            Thanks

            Gramps
            Hi, I'm RAH and I'm a Benaholic.-rah

            Comment


            • #7
              Originally posted by Grandpa Troll
              Could I use this just as a simple slic added to th end of the default SLIC or save the whole file mentioned above?
              I'm sorry, I don't understand your question... Could you use what as a simple SLIC addition?

              Comment


              • #8
                Re: How to slow this by 1/2?

                Originally posted by Colwyn
                I want to reduce the number of given techs using the dissemination slic file below, how would I half the frequency of below?
                The attachment he used at the top..the one I am responding to..dissemination SLIC

                This was what I was referring to sir

                Gramps
                Hi, I'm RAH and I'm a Benaholic.-rah

                Comment


                • #9
                  So is your question whether you should put it in script.slc or add it as a seperate file and #include it?

                  The former should work, but the latter would probably be more sensible.

                  Comment


                  • #10
                    Originally posted by J Bytheway
                    So is your question whether you should put it in script.slc or add it as a seperate file and #include it?

                    The former should work, but the latter would probably be more sensible.
                    Thanks a lot
                    Hi, I'm RAH and I'm a Benaholic.-rah

                    Comment

                    Working...
                    X