So, TemplePlus exists.

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

Remove all ads!
  1. _doug_

    _doug_ Established Member

    Joined:
    Jul 9, 2009
    Messages:
    318
    Likes Received:
    143
    The spell list is in tpdatasrc\tpgamefiles\rules\char_class\class047_warmage.py. You should be able to add the cantrip to line 63.
     
  2. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    766
    Likes Received:
    82
    Thank you unfortunately I lack the know-how to edit the tpgamefiles.dat file directly and have been extracting class047_warmage.py from it and dropping the file (edited on line 63 as you describe above) into overrides\rules\char_class which causes ToEE to crash at start.
     
  3. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    255
    There is a lack of information regarding how modding with Temple+ is achieved, no obvious tutorials on even the most basic functions, as someone with only very basic Python coding knowledge, I feel I lack the ability to mod ToEE with Temple+, purely because I can't find out how to do it.
     
  4. StrontiumDog

    StrontiumDog Established Member

    Joined:
    Mar 8, 2006
    Messages:
    227
    Likes Received:
    2
    OK, here is my attempt to post an error-log and savegame. Let's see if it works:- It hasn't. The file had .dmp as the filename-type but the upload on Co8 would not allow it as it did not have the right extension, despite it being my latest savegame file. No idea why this is all so difficult.
     
  5. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    255
    @StrontiumDog You can add the file to an archive (.zip) with 7zip, a free zip and rar archiving and extraction program.

    Download and install 7zip, right click the .dmp file, select add to archive.
     
  6. StrontiumDog

    StrontiumDog Established Member

    Joined:
    Mar 8, 2006
    Messages:
    227
    Likes Received:
    2
    Ok, here is the savegame:-
     

    Attached Files:

    Allyx likes this.
  7. StrontiumDog

    StrontiumDog Established Member

    Joined:
    Mar 8, 2006
    Messages:
    227
    Likes Received:
    2
    Ok, 1 more, I hope:-
     

    Attached Files:

  8. StrontiumDog

    StrontiumDog Established Member

    Joined:
    Mar 8, 2006
    Messages:
    227
    Likes Received:
    2
    OK, 1 more:-
     

    Attached Files:

  9. StrontiumDog

    StrontiumDog Established Member

    Joined:
    Mar 8, 2006
    Messages:
    227
    Likes Received:
    2
    OK, if this does not work, say so, and tell my technophobic self what else to do.....
     
    sirchet likes this.
  10. Allyx

    Allyx Master Crafter Global Moderator Supporter

    Joined:
    Dec 2, 2004
    Messages:
    5,009
    Likes Received:
    255
    You know, you can select all of the files for one save and archive them together in one .zip file right? Left click and drag a box over the files you want to select, release the left mouse button when all items are selected, right click one of the highlighted files, then add to a .zip archive.

    You could also select the first file with a left click, hold shift, select the last file with a left click, and all files in between will be selected.
     
  11. _doug_

    _doug_ Established Member

    Joined:
    Jul 9, 2009
    Messages:
    318
    Likes Received:
    143
    Sounds like that should work. If you post the change you made, I could take a look.
     
  12. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Are you aware of the Temple+ modding wiki? I spent quite a lot of time on that.

    https://github.com/GrognardsFromHell/TemplePlus/wiki

    Also, as always feel free to ask...
     
  13. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    766
    Likes Received:
    82
    Here is my attempt at adding scintillating sphere as an additional 3rd level spell [which causes a crash at start]. You will see I have made a couple of test changes to base attack bonus and hit dice size which work once any additional spells are removed.

    I don't understand how it fails as the warmage spell list contains many non-existent spells and scintillating sphere is an actual spell...
     

    Attached Files:

  14. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Scintillating sphere doesn't have an enum, since the spell was added by co8. spell_scintillating_sphere is an invalid symbol, hence the crash.

    Instead of that, you can directly specify its spell enum (as a number).
     
  15. Pygmy

    Pygmy Established Member Supporter

    Joined:
    Oct 8, 2010
    Messages:
    766
    Likes Received:
    82
    Thank you. Two supplementary questions please

    1. Is its spell enum 798? or is that too simple?
    2. was wall of fire added "properly" so it can be specified by name? as it has been in the warmage spell list.

    Please ignore above I've had a look at constants.py (as Doug suggests) and the penny has suddenly dropped.....
     
    Last edited: May 10, 2019
Our Host!