Announcement

Collapse
No announcement yet.

The game screws up when I make my own units and advances in Rules.txt!!!

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

  • The game screws up when I make my own units and advances in Rules.txt!!!

    Every time I prepare an custom unit or Advace from the 3 extras at the bottom of each list the games goofs up! What gives?

  • #2
    Maybe if you attach your rules.txt here somebody could check it out for problems.

    Comment


    • #3
      I changed one of the extras to the following


      Heavy Armor, nil, 0, 3.,0, 12a,6d, 2h,2f, 9,0, 0, Rob, 000000000000001

      Comment


      • #4
        Was that line copied verbatim? In that case, the problem is in the fourth column, as there's a period there where it shouldn't be. Delete it, and it should work.

        BTW-- you wouldn't happen to be working on a modpack or scenario...?
        oh god how did this get here I am not good with livejournal

        Comment


        • #5
          Remember that the three-letter abbreviations of the civilization advances CANNOT be changed. They are hardwired into the game, and if you rename them and them make a civadvance, city improvement, or military unit dependent on the renamed advance, then the game will crash.

          Another thing you have to be careful about is that in any given game, in any given scenario, each and every tribe MUST be able to somehow research towards the Future Tech advance (abbreviated to "..." in the rules). You can rename it, reposition it, do what you want with it, but as long as every tribe is capable of tracing a path through the tech tree towards it, then the game will work.

          I remember a couple of times I restructured the tree and my game always crashed past the first turn. I couldn't understand why, and went about rewriting the RULES.txt line by line. It took me ages, and the final result was that I'd forgotten to make Future Tech accessible to all.

          Generally speaking, whenever I'm making a new scenario, I rename the tech to "Joy of Decadence" or something similar and give it nil,nil requisites, so anybody can research it straight off. The fact that people can research other techs besides doesn't hurt the game at all.

          Hope that helps.
          "lol internet" ~ AAHZ

          Comment


          • #6
            Originally posted by Vlad Antlerkov
            Was that line copied verbatim? In that case, the problem is in the fourth column, as there's a period there where it shouldn't be. Delete it, and it should work.

            BTW-- you wouldn't happen to be working on a modpack or scenario...?
            I think there is supposed to be a period there.

            Why don't you simply use the in-game editor. After you've made the changes, open the rules.txt and see how its been changed (vs your manual changes). Its very easy to make one little hidden mistake anywhere in the rules file and I don't recommend editing it directly unless you are doing No No advances.
            .
            This is a link to...The Civilization II Scenario League and this is a link to...My Food Blog

            Comment


            • #7
              Originally posted by kobayashi


              I think there is supposed to be a period there.

              Why don't you simply use the in-game editor. After you've made the changes, open the rules.txt and see how its been changed (vs your manual changes). Its very easy to make one little hidden mistake anywhere in the rules file and I don't recommend editing it directly unless you are doing No No advances.
              Kobayashi: I don't have Fantastic Worlds.

              Alinestra Covelia: Thanks for the tips

              and by the way I'm starting a Rome Scenario, Those tips will really come in handy.

              Comment

              Working...
              X