Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Planescape: Torment: Enhanced Edition has been released! Visit www.planescape.com to purchase and check for details. Planescape: Torment: Enhanced Edition Official Soundtrack is available.
Soundtracks for BG:EE, SoD, BG2:EE, IWD:EE are now available in the Beamdog store.
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

PSTEE Modding Questions

AquadrizztAquadrizzt Member Posts: 712
edited April 26 in PST:EE Mods
1) In the character record, the character's faction takes a prominent location with a circular graphic and associated text on mouse over. What defines which graphic/text are used here? It is UI based or it is somehow externalized within 2das or other game files.

1a) How do I add new frames to STFCTION.bam and make them link to the various factions a character can possess? (Say, for example, I want to add an Athar faction symbol and tooltip).

2) What controls the slots available in a character's inventory screen? Is it accessible/customizable beyond what is already present in game?
Post edited by Aquadrizzt on

Comments

  • badungubadungu Member Posts: 53
    edited April 26
    1) The bestiary graphics/texts are defined in the bgee.lua (search for "bestiary =" without quotes) and referenced in the animation inis under [monster_planescape] bestiary.

    2) I think only the slots inside of the creature are available or did I get your question wrong?



    I don't think you can add more than that... :(

  • AquadrizztAquadrizzt Member Posts: 712
    @badungu ,

    1) I'm not asking about Bestiary; I'm asking about Factions. More specifically, having figured out how the UI works, how do I add new frames to STFCTION.bam and make them link to the various factions a character can possess? (Say, for example, I want to add an Athar faction symbol and tooltip).

    2) -1 in the inventory of a .cre file just means that the slot is empty, not that it is unusable.
  • kjeronkjeron Member Posts: 734
    For TNO, the UI selects which frame to display based on Global Variables. It appears to use the lowest frame number among factions whose Global Variable (JOIN_FACTION) set to '1'. Not sure if there is a way to map more factions to frames though, I couldn't find any other references.


    Slots are defined between the (new) file: "ITMSLOTS.2DA", and the (old) files: "ITEMTYPE.2DA" and "SLOTS.IDS".
    PST Creature files also store their number of item slots in the CRE file, at offset 0x7c.
    Haven't experimented with any of it yet.
  • AquadrizztAquadrizzt Member Posts: 712
    New question: what determines which location TNO resurrects at upon death?
  • AquadrizztAquadrizzt Member Posts: 712
    Even more questions: how would one go about adding a new special ability to an existing character. For example, say I want to give Morte a new innate ability patterned on Adder's Kiss. I've tried copying and converitng Adder's Kiss to an innate, but I can't seem to get it to display in Morte's specials bar.
  • AquadrizztAquadrizzt Member Posts: 712
    Continuing on this thread of "why isn't this thing working in the PSTEE engine", why are controllable NPCs that are not in the party unable to use items in their quickslots? And how would I make them able to do so?
  • elminsterelminster Member, Developer Posts: 15,344
    edited May 19

    Continuing on this thread of "why isn't this thing working in the PSTEE engine", why are controllable NPCs that are not in the party unable to use items in their quickslots? And how would I make them able to do so?


    You can't change item flags to allow their class? Whether or not an NPC is allowed to use an item (as far as I know) is just decided by the flags in that particular item file.
  • kjeronkjeron Member Posts: 734
    elminster said:

    You can't change item flags to allow their class? Whether or not an NPC is allowed to use an item (as far as I know) is just decided by the flags in that particular item file.

    It's not about equipping them, it's about using them through the action-bar. If the creature is not in the party, nothing shows up when you click the "Select Item" button, just as nothing shows up when you click the "Select Weapon" button. Forcing them into the party enables items to show up in these menus.

    To contrast, the "Select Spell" button works for creatures whether or not they are in the party, as long as they are a spell-casting class.
    elminster
Sign In or Register to comment.