How to use the lindworm?

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
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: How to use the lindworm?

Post by AndakRainor »

Thank you, stages completed! Do spore_mushroom spawn anything during the fight?
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: How to use the lindworm?

Post by minmay »

They do not.
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: How to use the lindworm?

Post by AndakRainor »

Whatever I try, I can't keep the GoromorgShield visible. It fades out quickly when not damage and does not accept any function except to get and set energy. It is the last thing I need to fix. Do you have any idea for that?
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: How to use the lindworm?

Post by minmay »

Try this:

Code: Select all

		{
			class = "GoromorgShield",
			radius = 3,
			baseIntensity = 1,
		},
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: How to use the lindworm?

Post by AndakRainor »

This component seems to have a lot of problems.
I tried baseIntensity = 1 and it works. But it can not be changed dynamically, and disabling this component does not make it invisible. Even when it had a baseIntensity equal to 0, poison spells made if glow green a little, while disabled.
Even better; setting its energy to 0 simply destroys the component :shock:
And it can not be recreated with its previous parameters, having no functions to set them...

In conclusion, I have made a particle system visual shield, and I think I will keep and publish it. It should be good enough for a close remake of the original fight.

edit: one possibility remains for this component, but it would require using a separate object to handle it.
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: How to use the lindworm?

Post by Isaac »

AndakRainor wrote:In conclusion, I have made a particle system visual shield, and I think I will keep and publish it. It should be good enough for a close remake of the original fight.

edit: one possibility remains for this component, but it would require using a separate object to handle it.
What about a multi-stage monster that spawns [or swaps out] a new instance when it needs a new shield? The new instance would have the rest of its hitpoints, and a new shield.
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: How to use the lindworm?

Post by minmay »

AndakRainor wrote:edit: one possibility remains for this component, but it would require using a separate object to handle it.
Yeah, that was what I was thinking would need to be done. Since the shield node does not actually move while the shield is up in the lindworm fight, it should be pretty easy to use a separate object.
The poison thing is present with all GoromorgShieldComponents, you'll encounter it if you poison the lindworm/wizard in Isle of Nex while they have a shield up, too.
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: How to use the lindworm?

Post by AndakRainor »

@Isaac: swapping two bosses could work, if I have a way to synchronize their animation. I don't know if it is possible.

@Minmay: in this case, the shield behaves visually as if it was up while it is logically down. When disabled, it glows when poisoned, remains visible if baseIntensity>0, but does not absorb damage.

edit: I tried a separate object, it works fine. It is even better with the particles I added ;)
I will share it tonight!
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: How to use the lindworm?

Post by AndakRainor »

Sorry for the delay, I found another problem with the shield:

A disabled GoromorgShield also absorbs damage from melee attack, while letting other damage sources go through it...

I am thinking about setting the Invulnerable flag for the Lindworm instead of an invisible GoromorgShield.

Or as Isaac said, swap two Lindworms...

edit:
You can test the fight with the Invulnerable flag solution here: http://www.nexusmods.com/legendofgrimrock2/mods/60?
Post Reply