GUI Party Dialogue Journal
Re: GUI Party Dialogue Journal
Very nice! You could even add a bit of code to say Hour, Minute, Second, if the number is 1.
Finished Dungeons - complete mods to play
Re: GUI Party Dialogue Journal
Very nice indeed! Great Idea, and thank you for sharing it with us. I'm going to package up the new release with a little more functionality today. Xanathar has added the ability drag the scrollbar, and a Wordwrap feature for long lines. You will just use addItemWordWrap instead of addItem, when you want to use it. Anyway, I will add Ryeath's time conversion table in also, (welcome to the credits!) the big numbers are a bit of a turnoff, so thank you again 
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
-
Ryeath_Greystalk
- Posts: 366
- Joined: Tue Jan 15, 2013 3:26 am
- Location: Oregon
Re: GUI Party Dialogue Journal
The working scroll bar would really be nice. I move using the arrow keys (have a hard time with wasd) and the only way I could move the highlighted line up and down was to stand against a wall and keep walking into it.msyblade wrote:Very nice indeed! Great Idea, and thank you for sharing it with us. I'm going to package up the new release with a little more functionality today. Xanathar has added the ability drag the scrollbar, and a Wordwrap feature for long lines. You will just use addItemWordWrap instead of addItem, when you want to use it. Anyway, I will add Ryeath's time conversion table in also, (welcome to the credits!) the big numbers are a bit of a turnoff, so thank you again
I'm glad you liked the time idea.
-
Ryeath_Greystalk
- Posts: 366
- Joined: Tue Jan 15, 2013 3:26 am
- Location: Oregon
Re: GUI Party Dialogue Journal
That's a good idea.Komag wrote:Very nice! You could even add a bit of code to say Hour, Minute, Second, if the number is 1.
Honestly after 2 hours of reworking the formula and then scraping them because the numbers weren't right, I was just happy to see the right numbers show up correct.
Probably should have paid more attention in math class.
Re: GUI Party Dialogue Journal
Updated version of the Journal is up:
http://grimrock.nexusmods.com/mods/269/?
Timestamp conversion works like a charm, Ryeath!
Other updates include: (Thanx Xanathar)
-Draggable scroll bar.
-WordWrap.
-Optimized positioning for some resolutions.
http://grimrock.nexusmods.com/mods/269/?
Timestamp conversion works like a charm, Ryeath!
Other updates include: (Thanx Xanathar)
-Draggable scroll bar.
-WordWrap.
-Optimized positioning for some resolutions.
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Re: GUI Party Dialogue Journal
Thanks to you for releasing this!Thanx Xanathar
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563
My preciousss: http://www.moonsharp.org
-
Ryeath_Greystalk
- Posts: 366
- Joined: Tue Jan 15, 2013 3:26 am
- Location: Oregon
Re: GUI Party Dialogue Journal
Downloaded the update.
The working scroll bar is a great improvement. Thanks.
The working scroll bar is a great improvement. Thanks.
Re: GUI Party Dialogue Journal
I'm having a hard time getting this to work, I can open it but I can't add text. It works with just the hudPrint but once I add the mdConversationList.addItem it gives the error "attempt to call field addItem a nil value" I've Also tried copying the example from the demo dungeon and it works fine (for adding the text from the e-book) but anything else gives me this error.This is what I'm using
I've checked the names on all the SE's to make sure they are right, I'm useless with scripting so any help would be great
And I went into the init.lua file to make sure its at the end of the file and I'm not using any other onDraw hooks or anything else just this.
Code: Select all
local aname = ""
for i=1,4 do
aname = party:getChampion(i):getName()
if aname == ("Evante Morecari") then
hudPrint ("Voice in the air:I am weak, so I have held back the others could not be saved")
hudPrint ("Voice in the air:The other I could not save but you are strong enough to have a chance")
hudPrint ("Voice in the air: Strong enough to do what I could not.....")
mdConversationList.addItem("You hear a faint voice on the still air of the dungeon and strain your ears to hear it.")
endAnd I went into the init.lua file to make sure its at the end of the file and I'm not using any other onDraw hooks or anything else just this.
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
Re: GUI Party Dialogue Journal
It does sound like there is a small typo somewhere causing the issue, if the demo is working for you. I am leaving for work right now so i cant investigate until later, My first thought would be a capitalization of certain characters in the "camelHump" format. (Meaning, how eachWordStartsWithACapInsteadOfUsingUnderscores.) you might compare your mdConverstaionList SE to the demo SE and see if you can find any anomalies bewteen them (my guess is that your SE may be missing one of the camelHumps, or missing a character). Let me know if you cannot find any difference between the two,and post a screenshot of your mdConverstaionList SE open in the editor (showing on the bottom right) So I can check the naming and first few lines for you. I don't think this next suggestion will help, but you can also try just the "mdConversationList.addItem" in a function, without the if statement preceeding it. (Remove the "If name=" and "hudPrint" lines to see if that is causing a conflict, however I doubt it.)
Hope this helps!
Hope this helps!
Currently conspiring with many modders on the "Legends of the Northern Realms"project.
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Re: GUI Party Dialogue Journal
Actually that second suggestion worked, I played around a bit and it seems I'll just have to put all the journal sections into seperate SE's as it seems that even having a second function in the SE causes it not to work
My Dungeons
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
Paths of the Earth: viewtopic.php?f=14&t=5136
Beneath the Sands: viewtopic.php?f=14&t=5216
Videos: viewtopic.php?f=11&t=5443
