Temple+ : where are texts "Lawful Good" and so on?

Discussion in 'General Modification' started by DiamondJack, Aug 13, 2018.

Remove all ads!
  1. DiamondJack

    DiamondJack Member

    Joined:
    Aug 11, 2018
    Messages:
    17
    Likes Received:
    0
    Question 1
    Look at the picture. How do you, guys, read yod status if you go as multiclass?
    How To(Q)= Ranger-Thief-Barbar.jpg

    I think it is disgusting. I ave found these "Lawful Good" and changes them to "LG" but it works only for clear ToEE. Temple+ somehow overrides my files and it is again "Lawful Good". Where does Temple+ store these messages?

    Question 2
    I didn`t find the word "Level" (from the same picture). I want to see "Barbarian 1, Ranger 2, Rogue 2" without this word. But where is it stored?
     
  2. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    Past a certain amount of multiclasses it should abbreviate it to Brb 1 / Rog 1 / etc.
    I don't remember where exactly, but it should be in tpgamefiles.dat I think. Possibly co8fixes.dat for co8.
     
  3. DiamondJack

    DiamondJack Member

    Joined:
    Aug 11, 2018
    Messages:
    17
    Likes Received:
    0
    Sitra Achara
    Wil it work with Temple+ installed? If I launch from Temple+ ?
     
  4. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
  5. DiamondJack

    DiamondJack Member

    Joined:
    Aug 11, 2018
    Messages:
    17
    Likes Received:
    0
    I mean if I edit tpgamefiles.dat - will the changes be applied for exactly ToEE + Temple+ ?
     
  6. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    You have to extract the files and put them in the overrides folder. See link below to modding wiki for more info.
     
  7. DiamondJack

    DiamondJack Member

    Joined:
    Aug 11, 2018
    Messages:
    17
    Likes Received:
    0
    I've found the file tpgamefiles.dat (it is ok with "Lawful Good", but thers isn`t word "level" in it). Now I have another problem, not sure that I can write it here.

    I cannot change these parameters (I edit file, but the game ignores it):
    class_feats = { 1: (feat_armor_proficiency_light, feat_armor_proficiency_medium, ......

    But somehow when I change these - it`s ok and I see my new numbers:
    class_skills = (skill_concentration, skill_craft, .....

    I put the file in "overrides" folder, it`s alright with its` place, but how can that be that changing one part of the file makes effect and changing another part of the same file - does nothing?


    And another thing: where can I find the list of fields of the file "feat_properties.tab"? Didn`t find it in Wiki.
     
    Last edited: Aug 14, 2018
  8. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    What are you trying to do with the class feat list? I don't see why it wouldn't work, all the new classes are defined this way.

    You don't really have to mess with feat_properties.tab, it's mostly meant for old feats. You should use the new feat interface described in the wiki. If you really have to know, you can dive inside feats.cpp linked from the wiki.
     
  9. DiamondJack

    DiamondJack Member

    Joined:
    Aug 11, 2018
    Messages:
    17
    Likes Received:
    0
    But why tpgamefiles.dat behaves so strange?
     
  10. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    It doesn't. You must have made some error. I can't help you if you don't tell me what you did.
     
  11. DiamondJack

    DiamondJack Member

    Joined:
    Aug 11, 2018
    Messages:
    17
    Likes Received:
    0
    Here is a sample. I removed skill "Shield" but it is still here. What might be the mistake?
     

    Attached Files:

  12. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    I think the vanilla classes also get their standard stuff from harcoded bits. Try adding sthg rather than removing.
     
  13. DiamondJack

    DiamondJack Member

    Joined:
    Aug 11, 2018
    Messages:
    17
    Likes Received:
    0
    I cannot add features too, twice:
    0. Fast Move and Uncanny Dodge were added to Paladin from Barbarian
    1. None of it appeared in process of generating PC
    2. after I added Fast Move in TCEditor - the name "Fast Move" appeared, but 30 didn`t grow to 40.

    Another questions:
    Q1. What is "import char_class_utils" (stands in the beginning of the file) What does it refer to? Maybe I should change smth there?

    Q2. Can I add and remove these 'feats' (such as turn_undead, lay_on_hands, shield_proficiency, smite_evil...) using cheat console?

    Q3. In that old file feat_properties.tab I saw dependencies bitween skills: you can`t learn Improved Dual Weapon without simple Dual Weapon). Is that file completely out-of-date or these dependencies still should be edited in it?

    BTW: when I edit file *.ry - is it enough to put it in Overrides folder in the right place or shoul I compile/pack it somehow?
     
    Last edited: Aug 15, 2018
  14. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    3,627
    Likes Received:
    538
    upload_2018-8-15_22-44-17.png

    I don't know what you did exactly, but clearly it works as you can see above. I am guessing you may have put it in the wrong subfolder inside overrides.

    The particular feats you've mentioned are unfortunately hardcoded in the sense that they internally check your barbarian/monk level before applying their effect, so they won't have an actual ingame effect other than appearing in the feats list.

    You don't (and shouldn't) recompile any of the dat files, since they are going to be updated in future releases. The overrides folder is where you personal mods should be, if you intend to edit existing files.
     
  15. DiamondJack

    DiamondJack Member

    Joined:
    Aug 11, 2018
    Messages:
    17
    Likes Received:
    0
    I am guessing you may have put it in the wrong subfolder inside overrides.
    1. Totally impossible.
    Look at this Paladin: it has all rogue's skills (hide, picklock, tumble, etc,
    AS it was in edited *.py) and all paladin's feats (armor, shield, weapons)
    with no one barbarian-rogue's feats, placed in the same file (rage, fast move,
    evasion, uncanny dodge) and speed = 30 instead of fast 40. (And in your screenshot it is 30 too, not 40 !!!)
    If "class013 - Paladin.py" was placed in wrong "overrides" there will be no one
    of rogue's skills too, not only feats.
    Barbarian - the same: his feats and sorcerer's skills (diplomacy etc.)

    2. Situation with Barbarian is identical: only skills can be changed.
    No feats, no clerical magic... What can be changed in this file really?
    ONLY skills??


    3. Console [Shift ~]:
    game.party[0].stat_base_set(stat_wisdom,50)
    game.party[0].stat_base_set(stat_intelligence,10)
    - ok, returns 50 and 10

    game.party[0].stat_base_set(feat_fast_movement,1)
    - nothing, returns 0 and no feat added

    game.party[0].feat_base_set(feat_fast_movement)
    game.party[0].feat_set(feat_fast_movement)
    game.party[0].set_feat(feat_fast_movement)
    - error: "has no attribute"

    what should be written here to add feat and to REMOVE feat?
     

    Attached Files:

Our Host!