Geyser UI Template
Re: Geyser UI Template
It seems that the problem is that box1 is a label, that itself is placed inside another label, Rightwhatever name. The solution to my problem was making right a container, sacrificing some style as you (can't make a container look pretty) for functionality.
Re: Geyser UI Template
Hello,
I am using Delta 3.0 is this working on this version ?. I have a couple of problems.
1.When resizing the window, all the boxes get over the window where text appears.
2.I set values for GUI.Health etc.. but they are not refreshed on the screen.
Please do excuse me if this questions are pretty basic, or I should not be even using this in this version.
Cheers,
Benigno.
I am using Delta 3.0 is this working on this version ?. I have a couple of problems.
1.When resizing the window, all the boxes get over the window where text appears.
2.I set values for GUI.Health etc.. but they are not refreshed on the screen.
Please do excuse me if this questions are pretty basic, or I should not be even using this in this version.
Cheers,
Benigno.
Re: Geyser UI Template
I am trying to get my chats sent to GUIbox1. I did create a miniconsole but not sure how to create a script to send the chat to that window. There is tells, com, and say, that I would like to send to the miniconsole. maybe even have each a different color. Any help would be greatly appreciated.
Re: Geyser UI Template
Jor'Mox has created an excellent window manager style of script, which acts as a basic framework for a drag-and-drop resizable UI. Genuinely simple and easy to use:
https://forums.mudlet.org/viewtopic.php ... 768#p44768
Vadi suggested a nice demo for people may be to combine Jor'Mox excellent work with Akaya's Geyser Template from this thread, so I had a look to see if the two could be combined, and it can be. I doubt I would ever use the result - using GUIframe is so easy, most of the 'laying out' part is bypassed because of the drag-and-drop nature of the script.
But, it may be useful to some people wondering how to use GUIframe - particularly if you're already familiar with using the template from this thread to build from.
The attached script replaces the one downloadable from the original post of this thread, but you also need the script from Jor'Moxs thread, linked above.
https://forums.mudlet.org/viewtopic.php ... 768#p44768
Vadi suggested a nice demo for people may be to combine Jor'Mox excellent work with Akaya's Geyser Template from this thread, so I had a look to see if the two could be combined, and it can be. I doubt I would ever use the result - using GUIframe is so easy, most of the 'laying out' part is bypassed because of the drag-and-drop nature of the script.
But, it may be useful to some people wondering how to use GUIframe - particularly if you're already familiar with using the template from this thread to build from.
The attached script replaces the one downloadable from the original post of this thread, but you also need the script from Jor'Moxs thread, linked above.
- Attachments
-
- AkayasGeyserTemplate-with-JorMoxsGUIFrame.xml
- (4.98 KiB) Downloaded 1227 times
- fstltna
- Posts: 29
- Joined: Tue Oct 07, 2014 7:19 am
- Location: South San Francisco, CA
- Discord: MarisaG#2083
- Contact:
Re: Geyser UI Template
Im using coffeemud, how would I set up this template to get the health, mana, etc data to update the template?
I'm trying to do it like this:
GUI.Health:setValue(gmcp.char.vitals.hp, gmcp.char.maxstats.maxhp)
Is that correct? I get errors or no output when I do it...
I'm trying to do it like this:
GUI.Health:setValue(gmcp.char.vitals.hp, gmcp.char.maxstats.maxhp)
Is that correct? I get errors or no output when I do it...
---- https://PocketMud.com - full-featured CoffeeMUD hosting - $14/month with first month free
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium
Re: Geyser UI Template
Does coffeemud actually do gmcp with those values?
- fstltna
- Posts: 29
- Joined: Tue Oct 07, 2014 7:19 am
- Location: South San Francisco, CA
- Discord: MarisaG#2083
- Contact:
Re: Geyser UI Template
I have it working, never mind. Will post another thread for the issues I am having now...
---- https://PocketMud.com - full-featured CoffeeMUD hosting - $14/month with first month free
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium
-
- Posts: 2
- Joined: Mon Jun 10, 2019 4:42 pm
Re: Geyser UI Template
Im trying to get Geyser ui to work with Materia Magica, I don't know how to get the gauges working.
-
- Posts: 24
- Joined: Sun Jul 26, 2020 1:39 am
Re: Geyser UI Template
Code: Select all
my_miniconsole = Geyser.MiniConsole:new({
name = "my_miniconsole",
x = 0, y = 0,
width = "100%",
height = "100%",
}, GUI.Box2)
Re: Geyser UI Template
After struggling a bit, I have compiled an EZ-Mode for gauges in case anyone else just wants to copy/paste their way to victory:
Go to scripts -> Template -> Gui
click Add Item
Name the new item updateGauges
Add User Event Handler: gmcp.Char.Vitals
click the + sign to actually add it to registered event handlers above
((You will need to EDIT the script below to fit your games method of handling gmcp, and ignore or delete anything that doesn't apply to your game))
Copy/Paste/EDIT the following script in the code section at the bottom:
Code had to be posted as an image attachment due to inane forum rules.
Go to scripts -> Template -> Gui
click Add Item
Name the new item updateGauges
Add User Event Handler: gmcp.Char.Vitals
click the + sign to actually add it to registered event handlers above
((You will need to EDIT the script below to fit your games method of handling gmcp, and ignore or delete anything that doesn't apply to your game))
Copy/Paste/EDIT the following script in the code section at the bottom:
Code had to be posted as an image attachment due to inane forum rules.