i tried to add on my buttons some actions bbut it dosent work.
any way speeed up this?
any execute script doesn’t work on gui
two main questions for now.
1)why it dosent works?=solved by adding gui tag
2)how to hide part of interface via button click?=solved by adding gui tag
I need the ability to hide most of the interface and show it again.
i tried close gui and open but any script wont works.
what is best way to do that?
At first I thought to create as many tabs as possible, then I changed my mind - it would be too overloaded. (and I decided to leave everything as it is.
3 interfaces with the ability to switch, however, I can change something else.
When it comes to GUI and XML coding, I have found that @Lance_Botelle is the ultimate expert on that around here. So maybe he can answer if he has the time and sees this. I’m afraid I’m still a total noob when it comes to XML coding still, even if I’ve edited a few of the existing GUIs and Lance’s GUIs. To code them from scratch is still beyond me.
No, it’s a step by step with FAQ check points … but, go with what works best for you …
Why doesn’t my XML code even start in the module?
(Assuming I have the correct name and file being referenced.)
This can be for a number of reasons, but check the following:
·Spaces left in functions by mistake.Page 15 and Page 17.
·Extra apostrophes missing from the Tooltip function.Page 16.
·Duplicated attribute within the same tag.
·A comment has been left inside a tag.Page 7.
·Forgotten to close a tag with either > or />. Page 7.
I think the main mistake of star wars is that there were no alternative stories. ok
I really appreciate what you do.
but some content is hard for me, sometimes I need an explanation that I really understand.
Nevertheless, everything seems to work now. It turns out that it was only necessary to add a tag (GUI) to the script that needs to be run.
in principle, everything turns out. I’ll leave the topic like this, not everything has been implemented yet (there may be questions, then I’ll write here so as not to create a bunch of the same type of topics.)
P.s Lance_Botelle thanks for tutorial again it very helpful for testing.
question: how to set a delay on a button?
not very convenient (sometimes slow, sometimes too fast, but I’ll leave this thing / although right now I’ve balanced the speed a little). I’ll also make keyboard shortcuts for convenience, they will be more convenient, but all this is situational.calculator and price.
P.s Lance_Botelle thanks for tutorial and buttons
I also do this as a hobby, as most of us here. Or, for me it’s become more of an addiction.
I would recommend you checking out the NWN2 Creator Discord Channel for your second module. If you have an interesting idea you might get people on board there to help you possibly. As long as you ask kindly, people are very friendly and helpful there, just like here. The chat on Discord is so much better than the PM system or Thread system here. A lot quicker.
Add your own font via fontfamily.xml and use that. (Make sure it is in custom UI.)
Example from my own … but you may be limited - I have not tested limits.,
<!------------------------------------------- CUSTOM FONT ADDITIONS ------------------------------------------------------------>
<!-- This is the font used by My "BIG" Read Book mod, by Lance Botelle -->
<UIFontFamily name="Read_Book_Big" >
<UIFontNormal font="ui\\default\\fonts\\NWN2_Main.ttf" pointsize=24 dropshadows=false outline=false />
<UIFontBold font="ui\\default\\fonts\\NWN2_MainB.ttf" pointsize=24 dropshadows=false outline=false />
<UIFontItalic font="ui\\default\\fonts\\NWN2_MainI.ttf" pointsize=24 dropshadows=false outline=false />
<UIFontBoldItalic font="ui\\default\\fonts\\NWN2_MainB.ttf" pointsize=23 dropshadows=false outline=true />
you misunderstood me. connecting the font is a good idea.
but for some reason I can’t do it, is it really not clear?
(something is wrong with the path and property of the font. (not displayed) but I solved the problem by simply setting fontfamily=“Special_Font” style=“4” .)
you can tell me if you want- Since sometimes the default font annoys me (preferably a file with an example and what to put where or describe in more detail)
I put the arial font in the folder with the game, where the default fonts are
but didn’t notice any result.
and connected it like