Mystery Topic Revealed: Glögg Session Part 3!

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
Isaac
Posts: 3172
Joined: Fri Mar 02, 2012 10:02 pm

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by Isaac »

petri wrote:
Isaac wrote: Surface refuses items when onInsertItem returns false.
Added new hook: SurfaceComponent.onAcceptItem(self, item)
Works similar to SocketComponent.onAcceptItem()
That is wonderful. 8-)
Thank you.

** Is it still the case that a PC can be overloaded, crippled [immobilized], and then petrified; such that the player cannot empty their inventory, and the party is stuck?
This happened to me on my first play through.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by petri »

JohnWordsworth wrote:GUI - Either "measureString" or add align (left, center, right) to drawParagraph.
Added GuiContent.getTextWidth() and getLineHeight()
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by petri »

Isaac wrote:Is it still the case that a PC can be overloaded, crippled [immobilized], and then petrified; such that the player cannot empty their inventory, and the party is stuck?
What do you mean cannot empty their inventory?
User avatar
Isaac
Posts: 3172
Joined: Fri Mar 02, 2012 10:02 pm

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by Isaac »

petri wrote:
Isaac wrote:Is it still the case that a PC can be overloaded, crippled [immobilized], and then petrified; such that the player cannot empty their inventory, and the party is stuck?
What do you mean cannot empty their inventory?
[From memory], I was in the tomb and fell through a pit, and a PC got wounded, and then the party could not move [overloaded]... The wounded PC was then petrified by a Medusa, and I don't think it was possible for me to shed any items from the petrified PC... and so the party was rooted to the spot.
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by Drakkan »

petri wrote:
Drakkan wrote:- support for more alchemy ingredients / recipes and mixing similar to Log1, it is very limited now and moders need to make different workarounds, like spawning item on surfaces etc...
The only way I could see this happening is custom panels for item actions. Custom alchemy panel. Hmm...
depends how difficult this would be to do for you, definitely I would welcome to Glögg more minor things than just one big.
As each default ingredients is now a number I was thinking just expanding this would do (like define some new ingredient with a number/letter and it will be displayed in mortar GUI panel).
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by petri »

Thinking about custom conditions. A little bit more involved but seems doable.
User avatar
Isaac
Posts: 3172
Joined: Fri Mar 02, 2012 10:02 pm

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by Isaac »

Pushblocks ignore collision with doors. Is it possible for them to refuse/fail when attempting to push them through a closed door?

https://www.dropbox.com/s/eqxha6c33awrr ... s.mp4?dl=0
User avatar
JohnWordsworth
Posts: 1397
Joined: Fri Sep 14, 2012 4:19 pm
Location: Devon, United Kingdom
Contact:

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by JohnWordsworth »

Hey Petri. Sorry for the scatty messages, trying to find a few seconds here and there at work to post.

- drawParagrah. If I call drawParagraph with a width parameter of 1 (and other reasonable parameters) then the editor always freezes. I will try at home this evening if you cannot reproduce

- containers. Hmm, might have to explain when I get more time after lunch. But the book is a container, but only for notes/scrolls and with custom GUI. Basically, in LOG1, it was possible to turn off all of the regular container GUI stuff and use the 'contents' mechanics without the GUI. I guess, containerType=custom would be cool, and it could do nothing except call onActivate/onDeactivate at the correct times.
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
User avatar
JohnWordsworth
Posts: 1397
Joined: Fri Sep 14, 2012 4:19 pm
Location: Devon, United Kingdom
Contact:

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by JohnWordsworth »

Oh, and can we send you Glögg? :p
My Grimrock Projects Page with links to the Grimrock Model Toolkit, GrimFBX, Atlas Toolkit, QuickBar, NoteBook and the Oriental Weapons Pack.
User avatar
Ciccipicci
Posts: 154
Joined: Mon Oct 08, 2012 12:55 am

Re: Mystery Topic Revealed: Glögg Session Part 3!

Post by Ciccipicci »

Ehi petri! Hope your enjoy this session! I'm seeing only code request but there's the possibility to see a "mine_underwater" ? It's a great miss for me.
Post Reply