Need help with custom race

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zambaku
    Apprentice
    • Dec 2007
    • 80

    Need help with custom race

    I'm currently doing a custom race. A Half-Dragon
    This is what I have done so far:
    N:11:Half-Dragon
    S:6:4:3:2:2:-5
    R:-7:4:3:-5:3:0:0:-10:-5:0
    X:15:150:20:5
    I:25:200:100
    H:100:15:90:10
    W:200:50:170:40

    Where can I find a list of the racial flags?

    Also, is it possible to make a race that can't wear/wield certain things. Like footwear, helmets, axes etc? And is there a guide on how to make custom entry in the history file?
    Last edited by Zambaku; May 1, 2013, 17:51.
  • takkaria
    Veteran
    • Apr 2007
    • 1951

    #2
    Originally posted by Zambaku
    I'm currently doing a custom race. A Half-Dragon
    This is what I have done so far:
    N:11:Half-Dragon
    S:6:4:3:2:2:-5
    R:-7:4:3:-5:3:0:0:-10:-5:0
    X:15:150:20:5
    I:25:200:100
    H:100:15:90:10
    W:200:50:170:40

    Where can I find a list of the racial flags?


    And also you can use object flags, found here:

    A free, single-player roguelike dungeon exploration game - File not found angband/angband


    Also, is it possible to make a race that can't wear/wield certain things. Like footwear, helmets, axes etc?
    Not just using the edit files, no. You'd want to alter the wield_slot() function in object/obj-util.c.
    takkaria whispers something about options. -more-

    Comment

    • Zambaku
      Apprentice
      • Dec 2007
      • 80

      #3
      Ahh, many thanks for the assist!

      Also. I did a custom history entry, but it doesn't show up, instead I get the human history I believe. Where did I go wrong?


      # Half-Dragon --> 27 --> 28 --> 29 --> 70 --> 71 --> 72

      I added this at the bottom of the P_hist:
      N:27:28:30:30
      D:Your mother was a human slave that was raped by a dragon.
      N:27:28:55:40
      D:Your mother was a perverted woman that had sex with a dragon.
      N:27:28:75:45
      D:Your father was a king who had sex with a dragon.
      N:27:28:90:55
      D:Your father had sex with a dragon for money.
      N:27:28:100:70
      D:Your mother had sex with a dragon for money.

      N:28:29:25:43
      D:You have smooth
      N:28:29:50:46
      D:You have rough
      N:28:29:70:49
      D:You have soft
      N:28:29:85:52
      D:You have hard
      N:28:29:100:55
      D:You have strange

      N:29:70:25:55
      D:blue scales, and
      N:29:70:50:65
      D:red scales, and
      N:29:70:60:75
      D:yellow scales, and
      N:29:70:75:60
      D:green scales, and
      N:29:70:90:70
      D:black scales, and
      N:29:70:100:80
      D:yellow scales, and

      N:70:71:25:40
      D:black eyes.
      N:70:71:50:42
      D:red eyes.
      N:70:71:70:44
      D:glowing red eyes.
      N:70:71:85:46
      D:ice blue eyes.
      N:70:71:100:48
      D:blue eyes.

      N:71:72:15:35
      D:You are proud of your
      N:71:72:45:40
      D:You are trying to hide your
      N:71:72:75:42
      D:You hate your
      N:71:72:90:45
      D:You are feared because of your
      N:71:72:100:50
      D:You shamelessly flaunt your

      N:72:0:15:40
      D:massive tail.
      N:72:0:35:42
      D:thin tail.
      N:72:0:55:42
      D:snakelike tongue.
      N:72:0:70:44
      D:scales.
      N:72:0:80:44
      D:claws.
      N:72:0:90:46
      D:fangs.
      N:72:0:100:48
      D:tail.

      I can't edit the limits.txt by adding race limit and maximum number of history lines. My original limits.txt looks like this:
      # File: limits.txt


      # This file is used to initialize the "array sizes" information for Angband.

      # Do not modify this file unless you know exactly what you are doing,
      # unless you wish to risk possible system crashes and broken savefiles.


      # Version stamp (required)

      V:3.0.11

      # Maximum number of object kinds
      M:K:570

      # Maximum number of monster races
      M:R:618

      # Maximum number of objects on the level
      M:O:1024

      # Maximum number of monsters on the level
      M:M:1024
      Last edited by Zambaku; May 1, 2013, 18:57.

      Comment

      • Zambaku
        Apprentice
        • Dec 2007
        • 80

        #4
        Nevermind, I fixed the problem


        Another question has risen. Sometimes when picking a flag it says undocumented flag instead of the trait. In this case AFRAID. Can this be fixed or is it simply that all skills cant be used on a race?

        Comment

        • PowerWyrm
          Prophet
          • Apr 2008
          • 2987

          #5
          I added this at the bottom of the P_hist:
          N:27:28:30:30
          D:Your mother was a human slave that was raped by a dragon.
          N:27:28:55:40
          D:Your mother was a perverted woman that had sex with a dragon.
          N:27:28:75:45
          D:Your father was a king who had sex with a dragon.
          N:27:28:90:55
          D:Your father had sex with a dragon for money.
          N:27:28:100:70
          D:Your mother had sex with a dragon for money.


          How the hell is that possible???
          PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

          Comment

          • PowerWyrm
            Prophet
            • Apr 2008
            • 2987

            #6
            You should make a full dragon race! My variant has them, and I coded that race using the polymorphing code: you start as a newborn dragon and evolve once you reach certain levels of experience (baby dragon, young, mature, ancient, wyrm). Dragons in my variant don't use weapons, but get bite/claw/tail attacks instead. Fun to play...
            PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

            Comment

            • Zambaku
              Apprentice
              • Dec 2007
              • 80

              #7
              It's possible with the power of imagination "waves hands"


              Ah, cool! I'd love to make a dragon species! do you think you could post roughly how you went through the process? I'm not that skilled at modding yet

              Comment

              • LostTemplar
                Knight
                • Aug 2009
                • 670

                #8
                i added this at the bottom of the p_hist:
                N:27:28:30:30
                d:your mother was a human slave that was raped by a dragon.
                N:27:28:55:40
                d:your mother was a perverted woman that had sex with a dragon.
                N:27:28:75:45
                d:your father was a king who had sex with a dragon.
                N:27:28:90:55
                d:your father had sex with a dragon for money.
                N:27:28:100:70
                d:your mother had sex with a dragon for money.
                rofl !!!!!

                Comment

                • Zambaku
                  Apprentice
                  • Dec 2007
                  • 80

                  #9
                  How else would you explain a half-dragon? XD

                  Here is the completed race if anybody wants it:
                  p_race:
                  N:11:Half-Dragon
                  S:6:4:3:2:2:-5
                  R:-7:4:3:-5:3:0:0:-10:-5:0
                  X:15:150:20:5
                  I:27:200:100
                  H:100:15:90:10
                  W:200:50:170:40
                  F:REGEN | SEE_INVIS
                  C:0|1|5

                  P_history:
                  N:27:28:30:30
                  D:Your mother was a human slave that was raped by a dragon.
                  N:27:28:55:40
                  D:Your mother was a perverted woman that had sex with a dragon.
                  N:27:28:75:45
                  D:Your father was a king who had sex with a dragon.
                  N:27:28:90:55
                  D:Your father had sex with a dragon for money.
                  N:27:28:100:70
                  D:Your mother had sex with a dragon for money.

                  N:28:29:25:43
                  D:You have smooth
                  N:28:29:50:46
                  D:You have rough
                  N:28:29:70:49
                  D:You have soft
                  N:28:29:85:52
                  D:You have hard
                  N:28:29:100:55
                  D:You have strange

                  N:29:70:25:55
                  D: blue scales, and
                  N:29:70:50:65
                  D: red scales, and
                  N:29:70:60:75
                  D: yellow scales, and
                  N:29:70:75:60
                  D: green scales, and
                  N:29:70:90:70
                  D: black scales, and
                  N:29:70:100:80
                  D: yellow scales, and

                  N:70:71:25:40
                  D: black eyes.
                  N:70:71:50:42
                  D: red eyes.
                  N:70:71:70:44
                  D: glowing red eyes.
                  N:70:71:85:46
                  D: ice blue eyes.
                  N:70:71:100:48
                  D: blue eyes.

                  N:71:72:15:35
                  D:You are proud of your
                  N:71:72:45:40
                  D:You are trying to hide your
                  N:71:72:75:42
                  D:You hate your
                  N:71:72:90:45
                  D:You are feared because of your
                  N:71:72:100:50
                  D:You shamelessly flaunt your

                  N:72:0:15:40
                  D: massive tail.
                  N:72:0:35:42
                  D: thin tail.
                  N:72:0:55:42
                  D: snakelike tongue.
                  N:72:0:70:44
                  D: scales.
                  N:72:0:80:44
                  D: claws.
                  N:72:0:90:46
                  D: fangs.
                  N:72:0:100:48
                  D: tail.

                  Enjoy =D

                  I'm working on a Half-Rabbit too, any fun ideas for the history for that? =D

                  Comment

                  • PowerWyrm
                    Prophet
                    • Apr 2008
                    • 2987

                    #10
                    Half-mosquito? Those exist in FF Legend...
                    PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

                    Comment

                    • Raajaton
                      Swordsman
                      • May 2012
                      • 296

                      #11
                      Ugh ... mental images of someone being raped by a dragon ....

                      Can't unsee.

                      Comment

                      • Zambaku
                        Apprentice
                        • Dec 2007
                        • 80

                        #12
                        Haha, beware my mind boggling creations. How did the woman fit the dragon to begin with? Questions nobody can answer

                        Comment

                        • LostTemplar
                          Knight
                          • Aug 2009
                          • 670

                          #13
                          I allways consider various half-trolls, etc. as a result of some (evil) magical experiments. And normal trolls/orcs too, I doubt if they can breed at all.

                          Comment

                          • Zambaku
                            Apprentice
                            • Dec 2007
                            • 80

                            #14
                            Curious: Is it possible to make a race that is easely afraid?

                            Comment

                            • Therem Harth
                              Knight
                              • Jan 2008
                              • 926

                              #15
                              It would need some modifications to the source code. Fortunately such a race already exists in one variant (that would be Snotlings in PosChengband), so maybe you could look there for reference. Be warned though that PosChengband's version of fear is a bit different than Vanilla's.

                              Comment

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