Announcement

Collapse
No announcement yet.

Wonder Possibilities

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

  • IW:

    In AddSuburb.......

    - Should "radius = GetCityRadius(HowBig);" be "radius = GetCityRadius(GrowingCity);" on line 20 of AddSuburb?

    - Line 52 of AddSuburb: tmp2Loc not set to anything (new variable). Should it be tmpLoc?

    - Line 58: Check who owns the cell.

    - When checking under radius = 1, why do you need to go to 9? There's only 8 + city squares available to use. If a city needs the second radius to add a suburb, then shouldn't we add an overcrowding event till it expands to radius 2? I bet you don't see you're local City Council zoning land outside of it's influence.

    I stopped looking after radius 1 as a size 6 city is still radius 1. Hope this helps mate.

    Comment



    • I'm so bad at spotting errors...

      Cheers Dale

      I hope it just crashed under sheer weight of errors.

      I'm going away for a week, from Wednesday, but I'll sort it all out when I get back. I hope.

      Now I have to go back to my coursework that's due in tomorrow, and my computer just ate half of.
      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


      • [QUOTE] Originally posted by Dale
        - Should "radius = GetCityRadius(HowBig);" be "radius = GetCityRadius(GrowingCity);" on line 20 of AddSuburb?
        [quote]
        No, it does use the population, not the city.
        - Line 52 of AddSuburb: tmp2Loc not set to anything (new variable). Should it be tmpLoc?
        Yup
        - Line 58: Check who owns the cell.
        That should be checked previously, in the while() loop.
        - When checking under radius = 1, why do you need to go to 9? There's only 8 + city squares available to use.
        It only looks for 8. It actually looks for any tiles, up to a maximum of 8 ( < 9). Its not a direction, just a counter.

        If a city needs the second radius to add a suburb, then shouldn't we add an overcrowding event till it expands to radius 2?
        This should work, also, right at the end:
        Code:
        if(done == 0){
        	AddPops(tmpCity, -1);
        }
        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


        • damn I've run out of time to sort all this out. I'll be away for the next week, but it should only take a day or two after that to get the wonders out.
          I'm really sorry for the delay, I've had a ton of work to do in the last few days.
          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


          • Sure, NP. We waited 4 months, we can wait another week
            Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

            Comment


            • I'ts done. no time to upload. My parents will mail it to Locutus.
              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


              • Hi all, it is my turn to have PC problems.
                I was supposed to get a cable internet access. but my so hated PC didnt accept the drive. They took it off desintalling the modem. Now, i dont have neither the so wanted cable nor the slow and old yet loved 56K access. Thats is why i am not around for a while.

                But i did not stoped with modding.

                Remember the good sprite cretion bug i was having? when i got it working i did some cool graphics that can be used in your city expansion

                What you guys think?

                PS: really surprised me that you included the razed cities, IW. I thought they were going to be forgotten )
                Attached Files
                "Kill a man and you are a murder.
                Kill thousands and you are a conquer.
                Kill all and you are a God!"
                -Jean Rostand

                Comment


                • I got some files from IW, but I'm not sure if it's playable. It may require some debugging and it will certainly need finalization/to be incorporated into other mods: most of the wonders don't have their own tga graphics, GL texts, etc yet...

                  I will see tonight if I can bring it in a more or less usable state.


                  Pedrunn,
                  Sorry to hear about your PC trouble but the graphics look very nice
                  Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

                  Comment


                  • Hey, we're civ/ctp fans - we're still waiting for(and trying to create), that game we all want to play. So we can be patient I think it's great that it's even in a rough beta form - any testing needed i still got a couple of pc's ready to experiment with.
                    'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

                    Bush's Republican=Neo-con for all intent and purpose. be afraid.

                    Comment


                    • Hmm, I messed with IW's files for a couple of hours but I can't seem to get the mod to work. I get a message that a Visible Wonder has been created but the wonder doesn't appear on the map. Maybe other people can have a look at it? For all I know I'm just overlooking something obvious... Here are the files as IW sent them to me. Mind you that you have to manually put them in the right folder and fix add some strings to the english folder, but other than that running the game shouldn't be a problem - making the wonders appear OTOH...
                      Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

                      Comment


                      • I downloaded the file twice. Once with GetRight and once with Netscape 4.78, both times I got a message that there were 14 bytes missing as I tried to open it with WinZip. I was able to extract some files from it with WinRar. I got two error messages with WinRar that the archieve is broken and finally an error message that there was an error in the file gtset565.til. This file is missing and it should replace the gtset565.til file in your ...\ctp2_data\default\graphics\tiles\ folder.

                        -Martin
                        Civ2 military advisor: "No complaints, Sir!"

                        Comment


                        • Hmm, that's odd. The file must have been damaged during upload. Well, I uploaded it again, does it work now?
                          Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

                          Comment


                          • Now the *.zip file is ok. For the mod I would say it is now in alpha stage. First I had to go to the gamefile.txt and replace the:

                            CRAG_strings.txt entry with this entry:

                            IWW_strings.txt

                            Then I had to go to the IWW_info_str.txt and had to outcomment this line:

                            1 "owner = {city[0].owner}; wonder = {value[0]};"

                            Finnally I had to add these lines to the IWW_info_str.txt:

                            IWW_WONDER_PILLAGE "Wonder Pillage"
                            IWW_WONDER_PILLAGE_1 "Wonder Pillage 1"
                            IWW_WONDER_PILLAGE_2 "Wonder Pillage 2"

                            Of course the string values her are only dummy messages to get started quickly.

                            Then I tried to start a game but first it cost me thre restarts of my computer to realize that it is not a good idea to have the userprofile.txt write protected and try to start the game with the Bantus from ApolytonPack (instead of them a junk_string was displayed and the game crashed as I tryed to change this) Afterwards I disabled the write protection I was able to change the civ and could start a new game.

                            But now comes the problem, I went into the cheat editor and gave me one city with nine pops and some techs for a wonder. I put it into the build queue and rush bought it then hit end turn. Next turn the wonder was build (in the city), I got also the message but no wonder on the map. Unfortunatly I only was able to take a short look into the his code, but I notice that the enable advance of all his wonder tile imps is Subneural Ad. The problem here is that if you want to build a tile improvement you have to own the tile where you whish to build the tile improvement , you need enough PW and you have to own the enabling advance.

                            Fro the costs of these wonder tile imps shouldn't be a problem, also the tile ownership, but the enabling advance is the problem Ben's code doesn't give the wonder owner the enabling advance. It seems that this is not the only problem I put this GrantAdvance event into the CreadeWonder depending event handler but still no effect.

                            Another problem is that the code has to make shure that the tile improvement can be build on the considered tile. So far I didn't examined this part of the code but it could be a problem.

                            -Martin
                            Civ2 military advisor: "No complaints, Sir!"

                            Comment


                            • Thanks for the effort Martin. I think we'll just have to wait for IW to return and finish the code, looks like it might still involve a bit of work (and I for one don't have time to look into it right now).
                              Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

                              Comment


                              • whoopsee
                                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

                                Working...
                                X