Announcement

Collapse
No announcement yet.

Show Picture of Great X when Great X is born

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

  • #31
    Now, I could be hallucinating here but...


    is there a Shakespeare great artist in Civ 4? Because if there is, I haven't found him yet.

    A mini mod to adress this pet peeve of mine would be useful.

    Comment


    • #32
      Sorry dude, I was trying to help out with images! Feel free to use any that you want. My version of the mod will be focused more on history and will include blurbs about the people.

      Really I wasn't trying to hijack, just contribute. I'll move my further posts to a new thread.

      Fox
      Last edited by DemonFox; November 3, 2005, 21:33.

      Comment


      • #33
        Yes Thorpe Shakespeare is in.


        DemonFox, I am also doing the same thing. It's taking a while, but I am about half way.
        be free

        Comment


        • #34
          Yeah, I was just about to say: looks like we are out to accomplish the same goals here. Why not, ya know, combine efforts?
          XBox Live: VovanSim
          xbox.com (login required)
          Halo 3 Service Record (I fail at FPS...)
          Spore page

          Comment


          • #35
            Alright, I've added some more code to the mod.

            Basically, the main addition is that there is now a quote displayed for the great person in text. See attached screenie.
            Attached Files
            XBox Live: VovanSim
            xbox.com (login required)
            Halo 3 Service Record (I fail at FPS...)
            Spore page

            Comment


            • #36
              Now the quotes are all listed in the file:

              Assets\Python\Screens\CvGreatPersonScreen.py

              In the format:

              "Name": "Quote"

              On the one hand, I would rather have this in an XML file - so that we could translate the quotes into different languages, and it would all automagically work. However, on the other hand, the problem with that would be that there can only be one XML text file, the way I understand it, and therefore whenever Firaxis releases a patch updating the text, we would have to manually merge the changes with the modded XML file that includes great person quotes (and also, if somebody wanted to include the great person mod in their own, then they'd have to manually merge things too). I figured lack of translation is the lesser of the two evils, but, Sn00py, since you are the one collecting quotes, if you would prefer to work with the XML, I can easily code it for you so that the XML file is used.

              And speaking of translation, I just realized that the way the mod is now, it probably won't work on foreign-language versions of the game, at least for those great persons, whose names are spelled differently than in english. I'll look into the possibility of fixing this later on.

              Attached is the current version of the mod.

              EDIT: File removed. See below.
              Last edited by vovan; November 4, 2005, 11:24.
              XBox Live: VovanSim
              xbox.com (login required)
              Halo 3 Service Record (I fail at FPS...)
              Spore page

              Comment


              • #37
                nice one
                - Artificial Intelligence usually beats real stupidity
                - Atheism is a nonprophet organization.

                Comment


                • #38
                  does it work in multiplayer as well?
                  and when does it pop up? I mean, only when i get an important person or when the ai as well?

                  Is a similar mod possible to show if someone else build a wonder in a multiplayergame?
                  Or even making the message that someone else it did bigger?

                  I mean i overread sometimes the small message and that nerves a lot!
                  Last edited by BaalRoGX; November 4, 2005, 04:07.

                  Comment


                  • #39
                    Originally posted by BaalRoGX
                    does it work in multiplayer as well?
                    and when does it pop up? I mean, only when i get a important person or when the ai as well?
                    I haven't tested it in MP. (In fact, I haven't even played MP, yet. ) However, I imagine it might work there, too.

                    It will only pop up when you get a great person. If somebody else does, you'll just get the regular "Blah has been born in a distant land!" message in the log.

                    Vovan
                    XBox Live: VovanSim
                    xbox.com (login required)
                    Halo 3 Service Record (I fail at FPS...)
                    Spore page

                    Comment


                    • #40
                      Originally posted by vovan
                      However, on the other hand, the problem with that would be that there can only be one XML text file, the way I understand it, and therefore whenever Firaxis releases a patch updating the text, we would have to manually merge the changes with the modded XML file that includes great person quotes (and also, if somebody wanted to include the great person mod in their own, then they'd have to manually merge things too).
                      Did you test that? We definitely tried to make it so that you could add your own XML files. We had some trouble with it, but I'm 75% sure we got it to work in the end. But even if it doesn't work, just add all the new XML to the bottom of an existing file, it'll just take a few seconds to update after a new patch. Being able tol localise this *is* a huge advantage.
                      Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

                      Comment


                      • #41
                        Originally posted by Locutus
                        Did you test that? We definitely tried to make it so that you could add your own XML files. We had some trouble with it, but I'm 75% sure we got it to work in the end.
                        Really?

                        No, I haven't tried it, but I think I recall reading somewhere that you couldn't do it. I'll definitely try it now, though. Thanks much for the heads-up!
                        XBox Live: VovanSim
                        xbox.com (login required)
                        Halo 3 Service Record (I fail at FPS...)
                        Spore page

                        Comment


                        • #42
                          Well, what do you know, it *does* work. Thanks again, Locutus.

                          Sn00py, attached is another update of the code. Basically, two changes here:

                          1. Text for great person quotes is now taken from the XML file in Assets\Text\XML\CIV4GameText_GreatPeople.xml.

                          2. The way Great Person portrait names are handled is different. Now, you should name the files the same way as the name appears in the TXT key. So, for example, for "St. John," before the portrait file should have been named "St. John.dds", but that naming scheme would cause problems with translation, so now you should name it "st_john.dds", because the key for him is TXT_KEY_GREAT_PERSON_ST_JOHN (case doesn't matter, I believe), and it will work no matter what language the game is in, as the key names carry over.

                          I think this would be all, unless you want to go through with adding sounds and such.
                          Attached Files
                          XBox Live: VovanSim
                          xbox.com (login required)
                          Halo 3 Service Record (I fail at FPS...)
                          Spore page

                          Comment


                          • #43
                            Please, for the love of god, put the real Homer in the final version. I love the pic, but it's only funny once.

                            Comment


                            • #44
                              ok, I have about 20 more leaderheads to do, but I have encountered a problem..

                              I start Civ4, go to advanced, load the mod.

                              I start a game.

                              Later I save the game and exit Civ4.

                              I reload Civ4, and reload my game, it will tell me it needs to restart and load the mod. I hit ok.

                              It restarts, then this is where the problem begins. For some reason, Civ4 searches for the mod in the wrong place.

                              It tries to find it here: Mods\C:\Documents and Settings\Daniel\My Documents\My Games\Sid Meier's Civilization 4\MODS\GreatPersonMod

                              But it should be searching for it here: C:\Documents and Settings\Daniel\My Documents\My Games\Sid Meier's Civilization 4\MODS\GreatPersonMod

                              The problem is at the start of the line, it puts Mods\ at the front, obviously causing a problem.

                              Can anyone explain what is going on?
                              Last edited by FrostyBoy; November 4, 2005, 22:28.
                              be free

                              Comment


                              • #45
                                Had hte same problem with another mod.
                                Try putting everything in the custom founders like custom assets and change it if you want to play the normal game.

                                Comment

                                Working...
                                X