Announcement

Collapse
No announcement yet.

something to reveal: text commands

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

  • #16
    Unfortunately, John Possidente's guide doesn't mention about strings because he can "write a whole book just about it" so he just has the basic stuff (nothing on games.txt except "explore it yourself"), but hey, it taught me the rest of how to make a scenario (units.gif, title.gif, events.txt)
    Georgi Nikolai Anzyakov, Commander Grand Northern Front, Red Front Democracy Game

    Comment


    • #17
      Cool, this gets better every day. I've done abit of changing to the game.txt before but nothing like this. How did you do that wonderful intro screen? Could you post the text commands.

      Civfan...
      Civfan (Warriorsoflight)

      Comment


      • #18
        I thought this was important enough to BUMP

        Comment


        • #19
          BTW, there is a rumour that these crash MGE/UCC.

          ------------------
          St. Leo
          http://ziggurat.sidgames.com/
          http://www.sidgames.com/forums/
          Blog | Civ2 Scenario League | leo.petr at gmail.com

          Comment


          • #20
            A word of caution: extra strings not in the original pop-up are not reliable enough to use.

            Mind you this has been quite useful in revamping the games.txt.

            ------------------
            "The man who can smile when things go wrong has thought of someone he can blame it on"
            "I didn't invent these rules, I'm just going to use them against you."

            Comment


            • #21
              I discovered that when makinging listboxes that there is a right justify character, the vertical bar: |.

              I discovered this while trying to figure out a way to make blank lines in listboxes, which it does very successfully. A | alone on a line makes a right justified blank line.

              As far as I know this only works within listboxes.

              Comment


              • #22
                William, that's great! I knew that the | was being used in menu's (menu.txt) but did not think it had any other function. Can I add it to the list?

                I had thought so far that the only way to make spaces was to add a hardly visible thing as a "." to make an empty line.. But this | makes it a lot easier.

                quote:

                BTW, there is a rumour that these crash MGE/UCC


                that's a bit simple to say. "It" is after all used all over in games.txt, whether it's FW, MGE, or ToT. It's just that you shouldn't do things that make no sense, as with anything else cause it crashes the game.

                Basically it should work exactly the same with FW and with MGE (why not? it's almost the same.), but with the new Ancient Empires scenario, a crash occured when the scenario intro text was changed, which did only happen under MGE, not FW. So I'd say; if you use any strings (other than the ones already used) check it under both FW and MGE.

                Comment


                • #23
                  Of course, you can add it to the list. Please keep in mind that the only place I have used the | is in a listbox, and as you may know the rules are different inside the listboxes then they are outside.

                  Comment


                  • #24
                    I'll give this a bump cause the information in here his top shelf stuff.

                    -FMK.

                    Comment


                    • #25
                      bonk

                      Comment


                      • #26
                        BUMP

                        Comment


                        • #27
                          DV, would you like this to be a sticky?
                          "I didn't invent these rules, I'm just going to use them against you."

                          Comment


                          • #28
                            Originally posted by Andrew Livings
                            DV, would you like this to be a sticky?
                            it would be nice...
                            Second President of Apolytonia, and Vice-President twice
                            Shemir Naldayev, 1st Ukrainian front comander at the Red front democracy gamePresidente de la Republica de España in the Civil War Demogame
                            miguelsana@mixmail.com

                            Comment


                            • #29
                              Related to this but far less groundbreaking, you can put in underlines using the 'macron' character (Alt+0175). The following text in the 'scenario name.txt':
                              @SCENARIO
                              @width=750
                              @title=El Aurens, A ToT Scenario by Boco
                              @listbox=25
                              @default=1
                              @options
                              PLAYER'S NOTE: On the next pop-up, CHOOSE "Allies (Lloyd George)"!
                                                                                   ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
                                §§§§§

                              (Poly trimmed out the extra spaces prior to the macron characters. Using Windows WordPad, I worked out the spacing to get the 'underline' at the right region by editing in Arial font)
                              Looks like this:
                              Attached Files
                              El Aurens v2 Beta!

                              Comment


                              • #30
                                That wasn't so clear. Here's an image of the 'code'. I pasted it into Word. Set the options to show spaces, returns, etc. Note some lines begin with the the 'No-Break Space' character (Alt+0160). This gets around Civ2's habit of stripping leading spaces from lines that are displayed in text boxes.
                                Attached Files
                                El Aurens v2 Beta!

                                Comment

                                Working...
                                X