Announcement

Collapse
No announcement yet.

what does these do ?? (from const.txt)

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

  • what does these do ?? (from const.txt)

    a few questions on some lines I found in Const.txt..I was wondering if anyone knew what they did ...

    ASSASINATION_HAPPINESS_EFFECT -5 # unhappiness caused when a ruler is assasinated
    ASSASINATION_HAPPINESS_EFFECT_TIMER 5 # how long the above lasts
    MAX_PARTY_COST 500 # most than can be spent on a party
    MAX_PARTY_CHANCE 0.5 # the chance of hearing gossip at a party
    GOSSIP_MAP_RADIUS 10 # When a map is revealed through gossip, a circle is formed
    HEAR_GOSSIP_CHANCE 0.02 # How likely a diplomat next to a capitol is to hear gossip
    WORMHOLE_ORBIT_HEIGHT_PERCENTAGE 10
    WORMHOLE_SPEED 10
    WORMHOLE_RETURN_TIME 5
    WORMHOLE_VISIBLE_TO_ALL_TURNS 5
    RIOT_LEVEL 73

    I also found these following lines and wondered if perhaps they should have their values increased ::

    FRANCHISE_EFFECT 0.1 # How much production a franchise steals
    GOLD_FROM_PIRACY 30
    CAPTURE_CITY_ADVANCE_CHANCE 0.5 # chance of gaining an advance when capturing a city (assuming they have advances you don't)
    WORMHOLE_ORBIT_HEIGHT_PERCENTAGE 10
    WORMHOLE_SPEED 10
    WORMHOLE_RETURN_TIME 5
    WORMHOLE_VISIBLE_TO_ALL_TURNS 5
    ASSAULT_DESTROY_BUILDING_CHANCE 0.1 # chance of an assault on a city destroying a building
    BOMBARD_DESTROY_BUILDING_CHANCE 0.1 # chance of a bombardment on a city destroying a building
    BOMBARD_KILL_POP_CHANCE 0.1


    anyhoo thx

    -Joe


  • #2
    oops that wormhole stuff should be in the second section...I goofed

    Comment


    • #3
      The Wormhole constants are meaningless. Activision didn't clean out all of the CTP1 stuff from the files. Building the Wormhole Probe (sounds painful) was one of the steps to winning by building an alien life form IIRC. Maybe this is where Dennis Rodman came from.

      Gossip is also unimplemented I believe.

      Comment


      • #4
        While I will honestly say, I have no real idea what they do, i can give my best guess, based on my own tinkering with various files.

        ASSASINATION_HAPPINESS_EFFECT -5 # unhappiness caused when a ruler is assasinated
        **I assume this affects a cities happiness when someone has been assasinated(-5 points?)**
        ASSASINATION_HAPPINESS_EFFECT_TIMER 5 # how long the above lasts
        **Happiness reduction lasts 5 turns?**
        MAX_PARTY_COST 500 # most than can be spent on a party
        **not sure exactly, guess a diplomatic reception costs 5oo gold**
        MAX_PARTY_CHANCE 0.5 # the chance of hearing gossip at a party
        **Dont think gossip is used in CTP2**
        GOSSIP_MAP_RADIUS 10 # When a map is revealed through gossip, a circle is formed
        **dont think gossip is implemented in ctp2**
        HEAR_GOSSIP_CHANCE 0.02 # How likely a diplomat next to a capitol is to hear gossip
        **dont think gossip is implemented in ctp2**
        WORMHOLE_ORBIT_HEIGHT_PERCENTAGE 10
        WORMHOLE_SPEED 10
        WORMHOLE_RETURN_TIME 5
        WORMHOLE_VISIBLE_TO_ALL_TURNS 5
        **wormhole stuff is from ctp1, isnt used in ctp2**
        RIOT_LEVEL 73
        **under 73 happiness, a city is likely to riot?**

        Thats my best guess. Most stuff in these files seem pretty straight forward, but not all.



        [This message has been edited by Triumphus Romanus (edited January 06, 2001).]

        Comment


        • #5
          Look at the const.txt in the latest version of the Med mod II text portion. I have gone through the Const.txt and marked the lines which I believe to be unused, and those which I think are over-written by lines in other files.

          Comment


          • #6
            Thanks Wes, I've been wondering which flags werent used.

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

            Comment


            • #7
              Question, Did Activision just not clear these statements from CTP1 or can we activate them?
              For instance putting the space layer back?
              Flash
              Ἐí ἀñ÷ῇ ἦí ὁ ëüãïò, êáὶ ὁ ëüãïò ἦí ðñὸò ôὸí èåüí, êáὶ èåὸò ἦí ὁ ëüãïò.
              the Moderator of the World Creators

              Comment


              • #8
                I tried moving the flags around one time, and received errors about flags not being found at their expected line. Apparently, these flags are linked to lines in the exe., and someone would have to go into the exe and remove stuff from it before you could get rid of the unused flags in the const.txt. This may involve adjusting the sequence of all the expected flags in all the texts, so I can see why the over-worked people at Activision didn't do it. It would have been nice if they could have marked the obsolete ones, however.

                Just because these lines are still in const.txt doesn't mean that the exe code they call is still in use.

                Comment

                Working...
                X