Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Mysterious wrote:Jkos good work man 10 Kudos??? What is a Kudo if you don't mind me asking? I guess that's the scoring system here? I think I just asked a stupid question, but ill stick my neck out lol.
Interesting that it's from Greek, didn't know that. Maybe each secret solved = 10 kudos?
New version: https://github.com/JKos/log2doc/archive/master.zip
- New larger GUI (modified from the party generation screen)
- Support for champion description
- Support for items
- onRecruit-hook
- onDrawStats-hook
champions.lua contains a plenty of useful functions, like drawItem, if someone want's to create for example a shop/trade GUI.
Let's hope that there are no bugs
JKos wrote:New version: https://github.com/JKos/log2doc/archive/master.zip
- New larger GUI (modified from the party generation screen)
- Support for champion description
- Support for items
- onRecruit-hook
- onDrawStats-hook
champions.lua contains a plenty of useful functions, like drawItem, if someone want's to create for example a shop/trade GUI.
and NOW I wonder how many cudos you deserve
really wonderfull and not just from visual side. thanks
EDIT: small request - is there some function that could be added that if GUI is displayed, game is "freezed" ? means you cannot move till closing GUI manualy or making some option.
Ps: observation - in case there is more items than could fit in gui they are automaticly droped before party when starting editor. I do not mind as I do not plan to give more than like 10 items to new party member
Freeze world is possible, but I solved the problem so that if the party moves the gui is automatically closed.
Items are stored in a dynamically created ContainerItem-component and it's default capacity is 9, I think that it should be possible to allow more items by changing the type of the container. But they wont fit to the GUI, so I think 9 is good.
By god Jkos that is super awesome. Soon you will have Kudos coming out your ears, ill give 2 x 10 for this Are you going to make this GUI into a shop? Buy item sell items. I reckon you can do it although it's big ask ahy. LOG 2 Needs a Shop like Allios made for LOG 1.
editor crash when I try to display champions portrait in displayed GUI (just hover with mouse over name of the champion). DO need that picture have something special ? It was working for previous version of your GUI system.
There is nothing special in my script when drawing champions, I just use context.drawImage(filepath,x,y) method, so there must be something wrong with your image format or filepath. Sorry but I can't help you more with this.
editor crash when I try to display champions portrait in displayed GUI (just hover with mouse over name of the champion). DO need that picture have something special ? It was working for previous version of your GUI system.
** I think that Xanathar may have run into the same problem in his own mod... It was the same situation; and was the image at fault, but I don't recall what the actual problem was.
** Could it be that the dds file must not be compressed?