Jump to content

szef

Members
  • Posts

    64
  • Joined

  • Last visited

Everything posted by szef

  1. Primarily, this modification was created as a test and in response to the question/need: a side dialogue box. New version adds slider that allows to change dialogue box skins/inventory screens... Almost everything is finished, and placed into the "work in progress" folder. --- Requiers: JournalPortraitConversations for proper work. Mod dwn: https://drive.google.com/drive/folders/1AGNWBPbnyuMbkYBDyjxtWwimy_eSlfwu Screenshots: https://imgur.com/a/l4RrLcZ
  2. Quoting from discord: "Me and my buddy have been working on a little Planescape:Torment EE UI mod and we have an issue with Inventory Background. Replacing the existing mosaic with ours is simple enough, but it seems like there is a permanent black background in the back. We wanted our inventory box to 'float' over the game screen (as we have seen possible on a pre-EE mod screenshot). Does anyone know how to get rid of that black background or is it just not a part of the 'world' setup anymore and whatever we're trying to do, actually cannot be done? This is NOT the indented graphic but illustrates the issue: though clearly both the graphics have some functional transparency, the solid black background prevails":
  3. It is done. Full code: function getDialogEntryText(row) local text = dialogTable[row].text if (not getDialogRowClickable(row)) then --Change color font for Characters name text = string.gsub(text, "%^0xff75a1b8", "^0xFF81c6d9") end if (not getDialogRowClickable(row)) then --For dialogue lines text = string.gsub(text, "%^0xff7da58c", "^0xFFcad3d2") end if (not getDialogHistory) then --For TNO name text = string.gsub(text, "%^0xffd5c885", "^0xFF5d6966") end if (not getDialogHistory) then --For the lines said by TNO text = string.gsub(text, "%^0xffd7c8a0", "^0xFF5d6966") end if (not getDialogResponses) then --For 1. 2. etc. text = string.gsub(text, "%^0xffcec471", "^0xFF111dd8") end if (not getDialogClickable) then --For list of answers text = string.gsub(text, "%^0xff212eff", "^0xFF111dd8") end if (row == worldPlayerDialogSelection) then --For text when selected text = string.gsub(text, "%^0xFF111dd8", "^0xFFacacad") end return text end Thank you lefreut for your help!!
  4. Ok, it works ;). I need two 'parameters' (for now) more: the list of answers (the red ones), and for the numbers of this answers, i.e. 1. Answer. 2. Answer.
  5. Okay, thanks, something's starting clearing up for me (i think). But what about worldPlayerDialogSelection because this is for... select the choises lines (?). What, I need enter for "text in the dialogue" - speaking the easiest. Do you know this? (Tomorrow will be next round of trying ).
  6. @lefreut I'am trying to changing this color ^0xff7da58c (i assume most of the dialog texts) for let's say #DADADA. And other colors. I need piece of code, or answer how it may look like, or where to find/learn about ;). (In websearch... yes yes i know - searching for 4h) To be more specific, few questions is mayby, this new post-process has to be in the same function as in the code below? function getDialogEntryText(row) local text = dialogTable[row].text if (row == worldPlayerDialogSelection) then --Color the text white when selected text = string.gsub(text, "%^0xff212eff", "^0xFFFFFFFF") end return text end Something must be instead worldPlayerDialogSelection ... i'am clueless. Oh, well :D.
  7. @lefreut I'd really wish to know more about Lua, I've been messing with this code in 1000 ways (trial and error)... Is it supposed to be, let's assume, in the same function as process above (in previous code)?
  8. It's seems much more hardcor... um, hardcoded?
  9. You mean in the file: bgee.lua, right? I tried change that file (styles, colors) - sadly for pstee, doing that, has no affect on the game dialog box (exept the font type, AND colors in i.e. "Quit game" etc.).
  10. Ok. I'm made (for myself ) quick comparison, the lines that was just said by TNO (after reverse first and last color symbols AABBGGRR > RGB).
  11. Ok, this i get. Thanks. But how i.e. this: ^0xff75a1b8Dak'kon^- - ^0xff7da58cDak'kon obraca w twym kierunku swe czarne niczym węgiel oczy.^- ^0xffd5c885Bezimienny^- - ^0xffd7c8a0„W tej chwili nic, Dak'konie. Kontynuujmy.”^- correspond to i.e. "%^0xff212eff" (red color in the post-process above)? So I must change color for each character separatly? Hm, 100% no, but you know, still no clue how to do it ;). Edit: ^0xffd5c885Bezimienny^- - ^0xffd7c8a0 First is for charname color, second it's the line already said by The Nameless One, and: ^0xff7da58c is the lines, the greenish dialog font color (AABBGGRR ?). ?
  12. Question, where can I find this string (or the like this)?
  13. Thanks for the replies!! Hm, I've understood the very basic of this magic, but not enough. It is quite difficult(?). Maybe I will do some research on this, since my knowledge is near 0 (or I'll let it go, since there are might be consequences, sooo). Either way, I know where to look now!
  14. Hi, As in title... I tried change it via (saving in override with NI) bgee.lua (styles, colors) - nothing happens. Where to look for this ;)? Any advice? Making little ui mod. .
×
×
  • Create New...