Temple+ Modding Question

Discussion in 'General Modification' started by _doug_, Feb 21, 2018.

Remove all ads!
  1. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,427
    Likes Received:
    379
    The global enum definitions are all in constants.py.

    See: https://github.com/GrognardsFromHel.../templeplus/lib/templeplus/constants.py#L2276

    However, some of these are holdovers from vanilla, which had a different convention (I think it was base_race + subrace offset, which unfortunately made them non-unique), so basically just ignore them.
    But, I see you're just enforcing base gnome anyway. That's ok I guess, but in general it's better to check against an explicit property rather than an implied property. That is, the correct way to do it is to query for a bonus vs. giants, which is more future-proof. But I'll let you off the hook ;)
     
  2. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,427
    Likes Received:
    379
    Isn't that more or less how wizards are? I think sorcs behave that way after level 20 as well.
     
  3. August

    August Member

    Joined:
    Jun 28, 2006
    Messages:
    29
    Likes Received:
    5
    Heh, you're right.

    This is almost playable... pretty happy how it's coming along.
     
    Sitra Achara likes this.
  4. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    564
    Likes Received:
    31
    I am trying my hand at a prestige class. I have read the wiki about assigning the class an approved number in constants.py and have done so. I have not been able to find any information on how to assign my class a level-up box. At present my WIP class is passing the syntax test but Temple+ is crashing after a pause a while after the start-up bar reaches the RHS. Any help would be greatly appreciated please.
     
  5. _doug_

    _doug_ Established Member

    Joined:
    Jul 9, 2009
    Messages:
    238
    Likes Received:
    82
    I made some progress on this one a while back but I didn't get to the point I was completely happy with it. I think I have a branch in my fork if you want to take a look.
     
  6. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,427
    Likes Received:
    379
    You should check what the logfile says for that kind of thing.
     
  7. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    564
    Likes Received:
    31
    Thank you. I had already checked that the logfile (attached) was clear of syntax errors and registered the bladesinger successfully. Can I get any useful information from the .dmp file please?
     

    Attached Files:

  8. Sagenlicht

    Sagenlicht Established Member

    Joined:
    Apr 14, 2004
    Messages:
    236
    Likes Received:
    51
    Did you add all entries required for the new class in stat.ext.mes? That would be a game crash reason.
     
  9. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,427
    Likes Received:
    379
    That's probably it. In particular, the abbreviated class name, which is used in the Char UI.
     
  10. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    564
    Likes Received:
    31
    Yes, thank you I am using your override file and have (112) (Bladesinger) in your stat.ext.mes file below (85) (Dragonheart Mage) with a line between.


    I have now added (1112)(Bldsgr) below abbreviation for Dragonheart Mage to no good effect
     
    Last edited: Nov 13, 2021
  11. Sagenlicht

    Sagenlicht Established Member

    Joined:
    Apr 14, 2004
    Messages:
    236
    Likes Received:
    51
    You need to have three entries:
    {83}{Marshal}
    {1083}{Mrshl}
    {13076}Marshal{Sometimes it is not enough to be a conquering warrior, a champion of all that's right, an experienced sellsword, or an elite foot soldier. Sometimes the circumstances require a solid commander of soldiers and situations. Sometimes the circumstances demand a marshal.}

    All three are required or the game will crash

    Edit: Oh and there was an upper limit, how many classes can be in the game, @Sitra Achara once told me it, I admit I can't remember the number right now, but it was somewhere near your used number of 112? Was it 128 Classes?
     
  12. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    564
    Likes Received:
    31
    I have included all three to no effect - please see attached
     

    Attached Files:

  13. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,427
    Likes Received:
    379
    You used round brackets instead of curly.
     
    Pygmy likes this.
  14. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    564
    Likes Received:
    31
    Sorry serves me right for trying to work without my glasses. All in order now thank you
     
  15. August

    August Member

    Joined:
    Jun 28, 2006
    Messages:
    29
    Likes Received:
    5
    Absolutely! And after I'm done, I've drafted up a list of PHBII spells that could work in ToEE that appear on the duskblade's spell list to thicken it out.
     
Our Host!