Temple+ Moding 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:
    2,587
    Likes Received:
    59
    It's probably a matter of updating a project config file. I'll page DS.
     
  2. DarkStorm

    DarkStorm Established Member

    Joined:
    Oct 2, 2003
    Messages:
    482
    Likes Received:
    1
    Hi Doug, can you please install the latest VS2017 update? You should be able to do that from the Tools -> Extensions & Update menu.
    I personally am on "15.7" (I think also called VS2017 Update 7).
    We've recently updated a few libs and enabled C++17, which only works properly in the more recent updates of VS 2017.
    Sorry for the inconvenience :-(
     
    _doug_ likes this.
  3. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    38
    Likes Received:
    0
    Thanks for the quick help! That worked great.

    I didn't realize such an important update was out there for Visual Studio!
     
  4. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    38
    Likes Received:
    0
    Quick Question: Is there a maximum number of condition variables for a python condition?
     
  5. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    2,587
    Likes Received:
    59
    I don't like that question :p what are you planning?
     
  6. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    38
    Likes Received:
    0
    I was thinking my party would be undefeatable with an army of 32,153 variables at their disposal! :)

    For the bard feat Metamagic Song, I was thinking of using a variable to toggle usage for each of the meta magic feats. So about a dozen variables would be necessary to implement it that way.
     
  7. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    2,587
    Likes Received:
    59
    Heh, so you'd have a dozen radial menu toggles?
    I don't think there's a direct limit, 12 (+spare) should be ok.
     
  8. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    38
    Likes Received:
    0
    7+ menu item toggles with the possibility of that expanding with new metamagic feats.

    The new conditions structure hard codes to 10 condition variables and there is a runtime assert that there are less than 8. The new conditions structure is also forced to a particular size by a static assert. I was able to update those 3 things and it seemed to work with 12 conditions. Do see doing that causing any other issues?
     
  9. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    2,587
    Likes Received:
    59
    No, but i really don't want to find out if I'm wrong. That sort of thing, if it goes wrong could cause save corruptions and major support headache.
    You can construct it so there's X MM "slots" which hold IDs rather than toggles. It's also more future proof.
     
    Last edited: Jul 8, 2018
  10. Endarire

    Endarire Ronald Rynnwrathi

    Joined:
    Jan 7, 2004
    Messages:
    309
    Likes Received:
    20
    _doug_: Since you're working on or have worked on the Sudden Metamagic feats, what about also making metamagic rods?

    (Apologies if I misunderstood your intent.)
     
  11. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    38
    Likes Received:
    0
    Endarire,

    The sudden metamgic feats are ready for the next version of Temple+. Adding the rods are a good idea but I have a list of things I want to do first. :)
     
  12. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    38
    Likes Received:
    0
    Sitra,

    Quick question: How does weapon range get calculated? I couldn't figure out how that gets done.
     
  13. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    2,587
    Likes Received:
    59
    IIRC it's defined in the protos fields.
     
  14. _doug_

    _doug_ Member

    Joined:
    Jul 9, 2009
    Messages:
    38
    Likes Received:
    0
    I was more wondering where the final calculation for range gets made. For example, where does it take into account the far shot feat?

    Thanks!
     
  15. Sitra Achara

    Sitra Achara Senior Member

    Joined:
    Sep 1, 2003
    Messages:
    2,587
    Likes Received:
    59
    Oh you mean ranged weapons.
    I'm not sure I replaced that part. Should be in one of the action sequence funcs for standard ranged attack, in principle.
     
Our Host!