TOOLBOX for crafting with GUI

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!
Post Reply
User avatar
AdrTru
Posts: 223
Joined: Sat Jan 19, 2013 10:10 pm
Location: Trutnov, Czech Republic

TOOLBOX for crafting with GUI

Post by AdrTru »

In Nexus site http://www.nexusmods.com/legendofgrimrock2/mods/66/?
is published working version of Toolbox, documentation is in extra file and in testing dung too.

I hope that will be usefull.

There is Condensed GUI
Image

If somebody find there some bug, please contact me.

In testing dung is a early version of Grafic text mod. Is possible to delete it ( This mod contaiin big grafic files ).
- Is possible call function GF.script.writeTextGUI(g,txt,size,x,y,font) forwriting formated text in gui or getTextGrimTK(txt,size,x,y,font) for generation childrens for some widget in GrimTK
- font AvQuest havent complete font definition
- this writing text is side product of this mod. Mod will be provided objects as real text in dung. ( maybe later... )
My LOG2 projects: virtual money, Forge recipes, liquid potions and
MultiAlcoveManager, Toolbox, Graphic text,
User avatar
Eleven Warrior
Posts: 736
Joined: Thu Apr 18, 2013 2:32 pm
Location: Australia

Re: TOOLBOX for crafting with GUI

Post by Eleven Warrior »

LOVE IT!! This is perfect for any on the run item crafting 10/10 Mate good job. I remember asking if this could be done and now I know it can. Once again thank you for your awesome work :)
User avatar
Vandalar
Posts: 31
Joined: Sun Jan 18, 2015 6:05 pm
Location: Montreal, Canada

Re: TOOLBOX for crafting with GUI

Post by Vandalar »

This look awesome !

Regards,

Vand
User avatar
Eleven Warrior
Posts: 736
Joined: Thu Apr 18, 2013 2:32 pm
Location: Australia

Re: TOOLBOX for crafting with GUI

Post by Eleven Warrior »

It sure is matey :)
User avatar
AdrTru
Posts: 223
Joined: Sat Jan 19, 2013 10:10 pm
Location: Trutnov, Czech Republic

Re: TOOLBOX for crafting with GUI

Post by AdrTru »

Thank you for your acclaim. I am glad that my work like.


but I must report some bug.
In GraphicText mod ( is used for writing text ) is bad definition for baseline for LOGtext font.
That means, if is used new version of GraphicText mod with this Toolbox, will be bad position of grafic text used in Toolbox.

Description for changing Graphic text mod
1/ copy new version GraphicFonts directory to mod_assets
2/ in mod_assets/scripts/init.lua change import "mod_assets/GraphicFonts/objects.lua" to import "mod_assets/GraphicFonts/init.lua" -- sry its useless change
3/ in mod_assets/toolbox/scripts/toolbox_dialog.lua change
3a/ line 89 : change GF.script.getTextGrimTK(k.." ( "..v.." )",20,0,20) to GF.script.getTextGrimTK(k.." ( "..v.." )",20,0,0,"LOGtext")
3b/ line 452: change GF.script.getTextGrimTK(nadpis,25,10,10) to GF.script.getTextGrimTK(nadpis,25,10,-13,"LOGtext")
My LOG2 projects: virtual money, Forge recipes, liquid potions and
MultiAlcoveManager, Toolbox, Graphic text,
Post Reply