[User Guide Development] Questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JamesDoyle
    Apprentice
    • Nov 2007
    • 53

    [User Guide Development] Questions

    Thought I'd start a new thread for my work on the User Guide in the correct forum

    At the moment I'm wrestling with how to explain time and game turns, and I'd appreciate some input on this.

    Turns are shown on the character screen, in the hall of fame (these show the same number), and also tangentially in the number of turns left for a light source. This causes some ambiguity; the former would seem to be the number most people quote as the number of turns taken, but the latter is only (approximately) one tenth of the former, and also the latter is closer to most people's idea of what a 'turn' is, i.e. you move one space, and one turn has passed.

    The first thing to note, therefore (developers!), is that it would be helpful both for explaining it and for users to understand if these were brought into line with each other, I would presume on the basis of having light sources multiplied by 10.


    The explanation then has to be, I guess, that (at normal speed) you take 10 turns to move 1 space, and other actions can take anything from 1 turn upwards.

    Would that seem reasonable?
  • Big Al
    Swordsman
    • Apr 2007
    • 327

    #2
    Every "turn", the player and monsters gain a certain amount of "energy". The amount of energy gained is dependent on the player or monster's speed - at normal speed, you get 10 energy per turn. Once your energy is over 100, you get to do an action.

    So, at normal speed, moving around is exactly 10 turns to 1 action. At eg. +10 speed, you gain 20 energy per turn, therefor it's 5 turns to 1 action. All actions take the same amount of time, except for melee and/or ranged attacks where you get multiple blows per round.
    Come play Metroplexity!
    Un, V MX H- D c-- f- PV s- d+ P++ M+
    c-- S I++ So+ B+ ac- !GHB SQ RQ+ V+

    Comment

    • zaimoni
      Knight
      • Apr 2007
      • 590

      #3
      Originally posted by JamesDoyle
      Turns are shown on the character screen, in the hall of fame (these show the same number), and also tangentially in the number of turns left for a light source. This causes some ambiguity; the former would seem to be the number most people quote as the number of turns taken, but the latter is only (approximately) one tenth of the former, and also the latter is closer to most people's idea of what a 'turn' is, i.e. you move one space, and one turn has passed.

      The first thing to note, therefore (developers!), is that it would be helpful both for explaining it and for users to understand if these were brought into line with each other, I would presume on the basis of having light sources multiplied by 10.
      I think changing the label on the chardump /high score list is more reasonable. I call them "time ticks" rather than "turns". [The full resolution should remain there; it's useful for preventing spells from timing out unexpectedly, not wasting fractional mana recovery, and other finicky attention-to-detail things.]

      Both torches, and timed effects, have their duration measured in normal-speed turns. Their duration is updated whenever the internal time tick counter (the ultimate game-time quantum) is divisible by ten.

      Currently, a new V game starts with the time tick counter at 11. One of these is the tick increment immediately before checking for the player's command, so ten time ticks have elapsed before the player takes his first turn.

      The number of time ticks before the player's next move is controlled by the energy recovery statistic, calculated from speed.

      Originally posted by JamesDoyle
      The explanation then has to be, I guess, that (at normal speed) you take 10 turns to move 1 space, and other actions can take anything from 1 turn upwards.

      Would that seem reasonable?
      Yes.
      Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
      Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
      Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011

      Comment

      • Anne
        Adept
        • Feb 2008
        • 134

        #4
        Originally posted by Big Al
        Every "turn", the player and monsters gain a certain amount of "energy". The amount of energy gained is dependent on the player or monster's speed - at normal speed, you get 10 energy per turn. Once your energy is over 100, you get to do an action.

        So, at normal speed, moving around is exactly 10 turns to 1 action. At eg. +10 speed, you gain 20 energy per turn, therefor it's 5 turns to 1 action. All actions take the same amount of time, except for melee and/or ranged attacks where you get multiple blows per round.
        Hey, I actually understood that! Woo! Seriously, that's a very good way of explaining it for the benefit of us lil newbies.

        Comment

        • JamesDoyle
          Apprentice
          • Nov 2007
          • 53

          #5
          Intersting that you like that, Anne - I found the use of the 'energy' concept to be an unnecessary complication of explaining Angband time,m and I was deliberately trying to stay away from it!

          Zaimoni - I tend to agree with you that the character screen number is less intuitive as a time indicator (as it's slightly baffling at first that what seems to be aturn - moving one space) is actua;;y ten 'turns'; but I assumed that precisely because it IS used in the high score list, most veterans would be averse to 'demoting' it to be less signficant than the other definition of turns.

          Ibviously I have to write the manual to explain both concepts, as they're both there, but I'd be very happy to see one disappear, as I think it's an unnecessary barrier to new players' understanding of the game

          Comment

          • zaimoni
            Knight
            • Apr 2007
            • 590

            #6
            I was doing some testing of a metagaming "exploit" last night that depended on watching the time tick count. [I think it's misleading to call it turns.] V-style stores (as opposed to Zangband-style stores) do not rotate the stock while the player is in town.

            As the V-style stores rotate every 1000 normal-speed turns (10,000 time-ticks), this leads to a convenient way to intentionally clean out stores of consumables: return to town "right before" the 10,000 time-tick turnover point, to prevent their rotating. (Inverse store scumming: instead of waiting for rotation to get something not in stock, prevent rotation to keep things in stock.) Of course, you point-blank cannot clear dungeon levels at all when doing this. Also, trap doors will ruin this tactic before you have a reliable supply of Word of Recall.

            [I also found, ahem, several bugs while exercising Zaiband. I think I'm going to have to release the revised line-of-sight/line-of-fire algorithm with a failsafe fallback, there are some exotic abuses of the l)ook command that will cause algorithm invariant failures.]
            Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
            Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
            Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011

            Comment

            • JamesDoyle
              Apprentice
              • Nov 2007
              • 53

              #7
              Some more questions, some of which are simple to answer, I think, plus a slight problem I've discovered with my flavour descriptions for wands!

              Firstly, I'm using the overall term 'magical items' for scrolls, potions, wands, rods, staves, rings & amulets. I don't recall seeing a term for this grouping anywhere, and I don't think it clashes with anything else. I am right?

              Secondly, cash found in the dungeon can be precious metals or gemstones - I can recall offhand copper, silver, gold, mithril and adamantite for the former, and garnets and diamonds for the latter. I'm sure there are others (platinum, emeralds?) which I can can list while playing (now I've realised I want to!), but if anyone can supply the full list, that would help.

              Similarly for traps, I have found the following:
              pits (with or without spikes)
              trapdoors
              darts (which can affect STR or DEX - or others?)
              gas (which can blind or paralyse - or other effects?)
              runes (which can teleport the character or summon monsters - or other effects?)
              discolored spots (which can cause fire)

              What do I need for a complete list?

              Finally, according to Leon's version, electricity destroys wands, and (apparently) nothing destroys rods. If Andrew adopts my flavour names, as he indicated he might (in part or whole), electricity should probably destroy rods and fire should destroy wands.

              Comment

              • zaimoni
                Knight
                • Apr 2007
                • 590

                #8
                Originally posted by JamesDoyle
                Similarly for traps, I have found the following:
                pits (with or without spikes)
                trapdoors
                darts (which can affect STR or DEX - or others?)
                gas (which can blind or paralyse - or other effects?)
                runes (which can teleport the character or summon monsters - or other effects?)
                discolored spots (which can cause fire)

                What do I need for a complete list?
                Take a look at the terrain feature editor. All sixteen distinct traps are listed there, although that may not handle all of the pit variations.
                Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
                Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
                Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011

                Comment

                • Pete Mack
                  Prophet
                  • Apr 2007
                  • 6883

                  #9
                  I think there are 3 kinds of pits. Without spikes, with spikes, and with poisoned spikes.

                  Comment

                  • JamesDoyle
                    Apprentice
                    • Nov 2007
                    • 53

                    #10
                    Thanks, both, that's what I was looking for!

                    Comment

                    • Nick
                      Vanilla maintainer
                      • Apr 2007
                      • 9634

                      #11
                      Originally posted by JamesDoyle
                      Secondly, cash found in the dungeon can be precious metals or gemstones - I can recall offhand copper, silver, gold, mithril and adamantite for the former, and garnets and diamonds for the latter. I'm sure there are others (platinum, emeralds?) which I can can list while playing (now I've realised I want to!), but if anyone can supply the full list, that would help.
                      They're in object.txt, or here:
                      copper
                      silver
                      garnets
                      gold
                      opals
                      sapphires
                      rubies
                      diamonds
                      emeralds
                      mithril
                      adamantite


                      Similarly for traps, I have found the following:
                      pits (with or without spikes)
                      trapdoors
                      darts (which can affect STR or DEX - or others?)
                      gas (which can blind or paralyse - or other effects?)
                      runes (which can teleport the character or summon monsters - or other effects?)
                      discolored spots (which can cause fire)

                      What do I need for a complete list?
                      From terrain.txt:

                      # 0x10 --> visible trap -- trap door
                      # 0x11 --> visible trap -- open pit
                      # 0x12 --> visible trap -- spiked pit
                      # 0x13 --> visible trap -- poison pit
                      # 0x14 --> visible trap -- rune -- summon
                      # 0x15 --> visible trap -- rune -- teleport
                      # 0x16 --> visible trap -- spot -- fire
                      # 0x17 --> visible trap -- spot -- acid
                      # 0x18 --> visible trap -- dart -- slow
                      # 0x19 --> visible trap -- dart -- lose str
                      # 0x1A --> visible trap -- dart -- lose dex
                      # 0x1B --> visible trap -- dart -- lose con
                      # 0x1C --> visible trap -- gas -- blind
                      # 0x1D --> visible trap -- gas -- confuse
                      # 0x1E --> visible trap -- gas -- poison
                      # 0x1F --> visible trap -- gas -- sleep
                      One for the Dark Lord on his dark throne
                      In the Land of Mordor where the Shadows lie.

                      Comment

                      • JamesDoyle
                        Apprentice
                        • Nov 2007
                        • 53

                        #12
                        Okay, spellbooks:

                        Mordenkainen, Tenser and Kelek I know come from D&D.
                        Raal - the only reference I can find is to a computer RPG called Betrayal in Antara - is that the derivation?

                        And what exactly are Scarabtarices?

                        Comment

                        • JamesDoyle
                          Apprentice
                          • Nov 2007
                          • 53

                          #13
                          In the object file, I could do with confirmation on what tval, sval and pval are.

                          If I'm working it out right, tval is a type flag, e.g. 66 is a Rod
                          sval is a subtype within that, but I'm not quite clear on how that works, there don't seem to be any two items with the same tval and sval.
                          pval - I've no idea.

                          And for the depth and rarity of an item, the important info is actually the W line, right?

                          Comment

                          • takkaria
                            Veteran
                            • Apr 2007
                            • 1951

                            #14
                            Originally posted by JamesDoyle
                            In the object file, I could do with confirmation on what tval, sval and pval are.

                            If I'm working it out right, tval is a type flag, e.g. 66 is a Rod
                            sval is a subtype within that, but I'm not quite clear on how that works, there don't seem to be any two items with the same tval and sval.
                            pval - I've no idea.

                            And for the depth and rarity of an item, the important info is actually the W line, right?
                            Tval is the type of item, sval is the subtype (so perception gets one value, illumination another; similarly, different swords have different svals). pval is the value that is used by flags when it comes to affecting the player, e.g. an item with +1 STR will have a pval of 1.
                            takkaria whispers something about options. -more-

                            Comment

                            • JamesDoyle
                              Apprentice
                              • Nov 2007
                              • 53

                              #15
                              Hmmm... but a rod of perception has sval 2, a staff of perception has sval 5, and a scroll of identify has sval 12, which doesn't seem to accord with what you suggest.

                              pval would seem to only apply to artifacts then, not to normal items (other than things like Rings of Weakness, which have -5)?

                              And the depth and rarity?

                              Comment

                              Working...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎