So, TemplePlus exists.

Discussion in 'The Temple of Elemental Evil' started by Endarire, Feb 29, 2016.

Remove all ads!
  1. Badger-ude

    Badger-ude The nonPnP gamer PoV

    Joined:
    Mar 11, 2006
    Messages:
    83
    Likes Received:
    0
    Hi Sitra,

    Just out of curiosity, will the latest version of Temple Plus work with Co8 8.01 NC Edition, or does it only work with 8.10 NC?
     
  2. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    I haven't tested with 8.0.1 but I'd guess it should work. But you can just manually extract the 8.1 files from the .tam file using winrar if the frontend is failing.
     
  3. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    Temple+ 1.0.15 is out, featuring two new Prestige Classes: The Eldritch Knight and Mystic Theurge.

    upload_2016-8-19_15-4-57.png

    [​IMG]

    They seem like simple enough classes, but a lot was done under the hood to allow the spell extension thing, as well as customizable class bonus feat selection (all for that measly Eldritch Knight feat selection!). Much of the Class/Levelup system is now exposed to Python, check out the files inside tpgamefiles.dat.

    The next two classes on the list are the Dwarven Defender and the Duelist. Should actually be easier to do :) they may be out in a month or so.
     
    Megadeath10 likes this.
  4. WinstonShnozwick

    WinstonShnozwick Established Member

    Joined:
    Mar 2, 2011
    Messages:
    628
    Likes Received:
    23
    Nice, I had to self teach myself python and worked with it a good amount in my summer internship, so it should be pretty easy to mod.
    Are there any tutorials or anything explaining how the code is structured so I can get a frame of reference on what I'm modifying how it relates to the game and how to change things?
     
    Sitra Achara likes this.
  5. WinstonShnozwick

    WinstonShnozwick Established Member

    Joined:
    Mar 2, 2011
    Messages:
    628
    Likes Received:
    23
    Hell, I'm graduating next year so I have few credits and a lot of free time, I might even try to put psionic stuff in the game if it's possible and not too hard.
     
  6. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    Them's fighting words!

    There is some documentation of ToEE systems in the github wiki, but as with the rest of ToEE modding there's nothing like learning from examples. Most of the relevant files are in tpdata\tpgamefiles.dat (you need to extract it and look in the folders rules\char_class and scr\tpModifiers). There's also some general explanation of Python Modifiers inside pymod_example.py in the latter folder.

    You will probably have a lot of questions - feel free.
     
    Last edited: Aug 20, 2016
  7. WinstonShnozwick

    WinstonShnozwick Established Member

    Joined:
    Mar 2, 2011
    Messages:
    628
    Likes Received:
    23
    What's the link to the github wiki?
    Also, when adding new systems needed for classes/feats/abilities/etc, can it all be done via python or do you do any other stuff in an editor tool that I don't have or different language like C++ (I'm fluent in C++)
     
  8. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    https://github.com/GrognardsFromHell/DllDocumentation/wiki

    Of particular interest is the Dispatcher (event) system. Most of the game's gameplay related callbacks are implemented in this system, including Radial menu construction. There's a list of vanilla Conditions here so you can get a feel for it.

    The relevant bits of C++ code are in:
    python_dispatcher.cpp - the definition of the new builtin Python module tpdp used for exposing the Dispatcher system.

    python_integration_class_spec.h / .cpp - this defines the ToEE D20Class system interface to the python files.

    d20_class.h / .cpp - the D20Class system, used for queries about the Class specs and such on the C-side of things. Also contains a cache of class properties built according to the python specs / API.

    ui_char_editor.cpp - defines the new builtin module char_editor that is used for interacting with the levelup UI / systems, and also hooks relevant levelup UI (currently the Class, Feats and Spells subsystems).

    Naturally all of this is still evolving, e.g. DarkStorm is working on a new UI system based on Troika's widget system. Python-based action callbacks are still on the to-do list, as well as support for 3rd party files - I've been waiting for someone to take a bite before tackling that ;) Right now you can use the override folder.
     
    Last edited: Aug 20, 2016
  9. WinstonShnozwick

    WinstonShnozwick Established Member

    Joined:
    Mar 2, 2011
    Messages:
    628
    Likes Received:
    23
    Allright, I'll take the next few weeks to try to familiarize myself with the code and how it works.
     
  10. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    Awesome. You can also contact me on Skype for quick little questions or if it's more convenient (I'll PM you the user).
     
  11. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    751
    Likes Received:
    81
    I have a stupid question for you Sitra Achara please

    I am running 1.0.15 (According to the bottom of my screen)

    What requirements do I have to meet for the button that allows me to select prestige classes to appear on levelup?

    I have a character with martial weapon proficiency (all) and 5 wizard levels who ought to be able to become an Eldritch Knight but the level-up screen has not changed so prestige classes are not available

    I know 1.0.14 et al. installed successfully as the Ring of Resonance now works with bards and sorcerers thank you
     
  12. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,622
    Likes Received:
    538
    You have to enable PrC's from the configuration menu (House Rules). I guess for next version I'll couple it to Co8 NC so it's on by default.
     
  13. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    751
    Likes Received:
    81
    Thanks - was still using original pre-house rules configuration menu so didn't have a hope......
     
  14. Stingm

    Stingm Member

    Joined:
    Mar 11, 2009
    Messages:
    12
    Likes Received:
    0
    Sorry it took so long but thanks a bunch Sitra Achara it works now.
     
  15. Kickaha

    Kickaha Member

    Joined:
    Sep 14, 2004
    Messages:
    2
    Likes Received:
    0
    Hi, I've run into an apparent bug with my fighter feat selection. When leveling my 3rd level human fighter to 4th level I am unable to select the Weapon Specialization feat, it is greyed out. His current feats include Weapon Focus (longsword), as well as Power Attack, Cleave, Improved Initiative, and Blind Fighting. (Force leveling him higher still has it greyed out at 6th level).
     
Our Host!