Announcement

Collapse
No announcement yet.

SLic experts please help

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

  • SLic experts please help

    I want to reduce the frequency by 1/2 of the diseminate.slc file below for giving sci advances for CTP1/2 how?
    Attached Files
    ---------------------------------------------
    Pavlov Zangalis - Hero of the capture of Berlin RFDG.
    ---------------------------------------------

  • #2
    EDIT: Read the slic, no it wasnt that
    Last edited by Maquiladora; November 7, 2004, 05:53.
    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


    • #3
      Ok, in the file there are the lines which contain:
      Code:
      if (Random(2*numberOfPlayers)< numberWith[advance] )
      These determine how likely it is that you get an advance at each time it's checked. At the moment, random(2*number of players) means that if everyone but you has the advance, there is just under a 50:50 chance that you'll get it disseminated when the last other player does. So to reduce the frequency, just make that coefficient bigger. If you put it to 3, then the chance will approach 1/3 as everyone else gets it. Put it to 4 and it approaches 1/4. And so on.
      So to halve the frequency, change all the 2s to 4s.
      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


      • #4
        Thanks, that makes a lot of sence, I'll change it and hopefully less advances will be given away.
        ---------------------------------------------
        Pavlov Zangalis - Hero of the capture of Berlin RFDG.
        ---------------------------------------------

        Comment

        Working...
        X