How do I add Oangband classes/races to vanilla

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Elfin Jedi
    Adept
    • Mar 2013
    • 102

    How do I add Oangband classes/races to vanilla

    I am trying to mix vanilla source code with oangband classes/magic system and races, but just copying and pasting in the edit files isn't working. I don't know how to code, and don't know what to try next.
  • Philip
    Knight
    • Jul 2009
    • 909

    #2
    Depends on how similar to O it has to be. Adding Races won't be hard, you just edit limits.txt and change the limit on player races somewhat, but giving the races their special abilities would be more of a task. A shadowfairy could still have it's stats, insane stealth, but the anti-aggro stuff would take longer. As far as classes go, I don't honestly know how hard adding new spell systems is.

    Comment

    • Elfin Jedi
      Adept
      • Mar 2013
      • 102

      #3
      I don't see a player race limit in vanilla's limits.txt.

      Comment

      • Philip
        Knight
        • Jul 2009
        • 909

        #4
        Dammit, this might be pretty hard. Are you getting any errors when you try to start angband up?

        Comment

        • Philip
          Knight
          • Jul 2009
          • 909

          #5
          Also, which angband are you using?

          Comment

          • Elfin Jedi
            Adept
            • Mar 2013
            • 102

            #6
            3.3.0. I was getting errors, but I deleted the changes I made so I am not sure what they were.

            Comment

            • Philip
              Knight
              • Jul 2009
              • 909

              #7
              The important question was whether it was trying to parse O code, which would be impossible as those two have diverged long ago. I'll look into this.

              Comment

              • Elfin Jedi
                Adept
                • Mar 2013
                • 102

                #8
                yes. redid changes says: Parse error in p_race line 175 column 10: throw: missing field

                Comment

                • Philip
                  Knight
                  • Jul 2009
                  • 909

                  #9
                  Okay, a little inspection shows that the differences between V and O code are:
                  After R: V has two more pieces of information at the end, throwing and digging. Just put whatever you want there and be guided by the other entries.
                  After U: V does not have such a section. Remove that section from the V files.

                  Expect unbalanced behavior. O and V diverged god knows when, skill effects are very much different now.

                  I cannot test at the moment, but it should work.

                  Comment

                  • Nick
                    Vanilla maintainer
                    • Apr 2007
                    • 9634

                    #10
                    There are quite a lot of differences between O and V races - they won't be interchangeable just with edit files. The best you could do, I think, would be to look at the exact fields in the V race edit file and mimic that as closely as possible with the relevant O race.

                    Classes are very much harder, because spells are largely hard-coded, especially in O. And Philip is right about the abilities.
                    One for the Dark Lord on his dark throne
                    In the Land of Mordor where the Shadows lie.

                    Comment

                    • Elfin Jedi
                      Adept
                      • Mar 2013
                      • 102

                      #11
                      ok got rid of the U and M (O has an M section that V doesn't too) sections from O, and added the throwing and digging at the end of R. Now it says: Parse error in p_race line 202 column 10: throw: missing field.

                      Comment

                      • Elfin Jedi
                        Adept
                        • Mar 2013
                        • 102

                        #12
                        Oh, also got rid of the extra classes available for each race. And ok to Nick.

                        Comment

                        • Elfin Jedi
                          Adept
                          • Mar 2013
                          • 102

                          #13
                          I still haven't figured out how to add Oangband races.

                          Comment

                          • Elfin Jedi
                            Adept
                            • Mar 2013
                            • 102

                            #14
                            Got it. The trick was to open it in a different text application.

                            Comment

                            • Elfin Jedi
                              Adept
                              • Mar 2013
                              • 102

                              #15
                              What do the four numbers in the p_hist file mean?

                              Comment

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