Ask a simple question, get a simple answer

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!
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Ask a simple question, get a simple answer

Post by akroma222 »

Duncan1246 wrote: I think all modders in LG2 encounter the idea, an open world without a good map and without a library is a major difficulty for the player. But manage all the parameters in gtk scripts is a hard work.
Anyway, here is a first draft for the library panel (background image)
SpoilerShow
Image
As runes are my basic line to organize the texts files, the eight + one runes_circles are like respons lines in gtk showDialoguePage
When clicked , new window popup (or the same refreshed?) with the same background and the related texts...
When you will have time, your help and your look on it are required :)
Indeed, the library panel looks v cool, I will take a look at the gtk side of things over tonight/tomorrow
Will be in touch when I have something workable ;)
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Ask a simple question, get a simple answer

Post by akroma222 »

Also, unrelated Question -
are we able to name components somehow when we create them dynamically??
(ie - monster >> create component (Null) >> then name the Null component)
minmay
Posts: 2780
Joined: Mon Sep 23, 2013 2:24 am

Re: Ask a simple question, get a simple answer

Post by minmay »

Yes. GameObject:createComponent(class, name)
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Ask a simple question, get a simple answer

Post by akroma222 »

Brilliant :)
(sorry, should have tried that before asking - thanks again good sir)
User avatar
Duncan1246
Posts: 404
Joined: Mon Jan 19, 2015 7:42 pm

Re: Ask a simple question, get a simple answer

Post by Duncan1246 »

akroma222 wrote: Indeed, the library panel looks v cool, I will take a look at the gtk side of things over tonight/tomorrow
Will be in touch when I have something workable ;)
Cool, because for now I don't manage to change the background images (dds, size ok but what else?)
Here is the result of my pitiful efforts....
SpoilerShow
Image
The Blue Monastery (LOG1)
download at:http://www.nexusmods.com/grimrock/mods/399/?

Finisterrae(LOG2)
download at:http://www.nexusmods.com/legendofgrimrock2/mods/61/?
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Ask a simple question, get a simple answer

Post by akroma222 »

Will PM you Duncan, this will take some time & tweaking to get right
(lets not clog up this quick simple thread - we can start another once we have something to share with everyone) ;)
Akroma
User avatar
Duncan1246
Posts: 404
Joined: Mon Jan 19, 2015 7:42 pm

Re: Ask a simple question, get a simple answer

Post by Duncan1246 »

akroma222 wrote:Will PM you Duncan, this will take some time & tweaking to get right
(lets not clog up this quick simple thread - we can start another once we have something to share with everyone) ;)
Akroma
Ok, grimtk thread may be used instead
The Blue Monastery (LOG1)
download at:http://www.nexusmods.com/grimrock/mods/399/?

Finisterrae(LOG2)
download at:http://www.nexusmods.com/legendofgrimrock2/mods/61/?
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Ask a simple question, get a simple answer

Post by AndakRainor »

BrainComponent:pursuit() and BrainComponent:follow() do not work with the Viper root monster, and they give a "warning: unknown monster action: move". Do you know another way to force a Viper root to start hunting the party?
minmay
Posts: 2780
Joined: Mon Sep 23, 2013 2:24 am

Re: Ask a simple question, get a simple answer

Post by minmay »

I'm curious how you got a ViperRootBrainComponent to stop hunting the party. The brain pursues the party endlessly as long as they are on the same level as the monster, even if they're far away, invisible, have never been seen, etc.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Ask a simple question, get a simple answer

Post by AndakRainor »

Well this one is in the "guard" state. I think I should test if the move action exists before using the correct action. I may have also a problem with the mushroom and the grimrock 1 tentacles. I use this pursuit command when my drain life bolt spell hits a monster, but obviously it is not correct in all situations.
Post Reply