Small feature patch for Angband SVN

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PaulBlay
    Knight
    • Jan 2009
    • 657

    Small feature patch for Angband SVN

    I've made a 'new feature' that could be added to Angband (or a variant). Changes made to the following files from the SVN version:

    \src\init1.c
    \src\defines.h
    \src\monster\monster2.c
    \src\monster\types.h
    \lib\edit\monster.txt

    (Hopefully that's all of them)

    If the patch files (attached) are applied to Angband a surprise awaits the player in the town level (obviously no surprise if you look at the contents before applying them ;-)

    I was going to put this on the development newsletter, but I thought I'd 'christen' the new Development forum.

    [EDIT] Hey! It's my 100th post. (just noticed)
    Attached Files
    Currently turning (Angband) Japanese.
  • pav
    Administrator
    • Apr 2007
    • 793

    #2
    Ahaha, funny. You can put all the chunks into a single patch file, BTW, not a file per file. Nice idea how to axe the FORCE_MAXHP flag, that could be applied in Vanilla on it's own.
    See the elves and everything! http://angband.oook.cz

    Comment

    • PaulBlay
      Knight
      • Jan 2009
      • 657

      #3
      Originally posted by pav
      Ahaha, funny. You can put all the chunks into a single patch file, BTW, not a file per file. Nice idea how to axe the FORCE_MAXHP flag, that could be applied in Vanilla on it's own.
      'Associate' could have gone into the third, unused, W: slot but that looked a little risky with the 'power' business. I would also suggest that monsters with FRIEND, FRIENDS, ESCORT, ESCORTS that have non-zero 'associate' values could use that specific monster instead of the usual routine.

      I (mis)used rarity=0 to mean "never place this monster in normal dungeon generation." It seems to work (but I don't know why )
      Currently turning (Angband) Japanese.

      Comment

      • Pete Mack
        Prophet
        • Apr 2007
        • 6883

        #4
        Originally posted by PaulBlay
        I (mis)used rarity=0 to mean "never place this monster in normal dungeon generation." It seems to work (but I don't know why )
        Because that's what rarity 0 means. I hope you didn't replace QUESTOR with this, because QUESTOR monsters are eventually regenerated after *Destruction*.

        Comment

        • zaimoni
          Knight
          • Apr 2007
          • 590

          #5
          Originally posted by PaulBlay
          I've made a 'new feature' that could be added to Angband (or a variant). Changes made to the following files from the SVN version:

          \src\init1.c
          \src\defines.h
          \src\monster\monster2.c
          \src\monster\types.h
          \lib\edit\monster.txt

          (Hopefully that's all of them)

          If the patch files (attached) are applied to Angband a surprise awaits the player in the town level (obviously no surprise if you look at the contents before applying them ;-)

          I was going to put this on the development newsletter, but I thought I'd 'christen' the new Development forum.

          [EDIT] Hey! It's my 100th post. (just noticed)
          An interesting strategy to de-hack Z's Warriors of the Dawn (just configure the probability as well).
          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

          • CunningGabe
            Swordsman
            • Feb 2008
            • 250

            #6
            Originally posted by PaulBlay
            I would also suggest that monsters with FRIEND, FRIENDS, ESCORT, ESCORTS that have non-zero 'associate' values could use that specific monster instead of the usual routine.
            I think this is a really cool idea. I once thought it would be amusing to have two uniques -- Tweedle-Dum and Tweedle-Dee -- who always appeared together. You could have vampires appearing with a vampire bat escort. There are lots of fun possibilities.

            Comment

            • Big Al
              Swordsman
              • Apr 2007
              • 327

              #7
              Originally posted by CunningGabe
              I think this is a really cool idea. I once thought it would be amusing to have two uniques -- Tweedle-Dum and Tweedle-Dee -- who always appeared together. You could have vampires appearing with a vampire bat escort. There are lots of fun possibilities.
              Amusing thought:

              N:618:Tweedle-Dum
              W:0:1:0:0:619
              F:UNIQUE | TRANSFORM

              N:619:Tweedle-Dee
              W:0:1:0:0:618
              F:UNIQUE | TRANSFORM

              It would never die!
              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

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #8
                Originally posted by pav
                Ahaha, funny. You can put all the chunks into a single patch file, BTW, not a file per file. Nice idea how to axe the FORCE_MAXHP flag, that could be applied in Vanilla on it's own.
                Um ... hasn't FORCE_MAXHP already gone? Monsters now have specific hp figures, not XdY.

                CC
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

                • PaulBlay
                  Knight
                  • Jan 2009
                  • 657

                  #9
                  Originally posted by Magnate
                  Um ... hasn't FORCE_MAXHP already gone? Monsters now have specific hp figures, not XdY.
                  Yes, that was nothing to do with me. The flag was still hanging around in the flag list in one file, but that was all.
                  Currently turning (Angband) Japanese.

                  Comment

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