How to use the lindworm?
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: How to use the lindworm?
Thank you, stages completed! Do spore_mushroom spawn anything during the fight?
Re: How to use the lindworm?
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.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: How to use the lindworm?
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?
Re: How to use the lindworm?
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.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: How to use the lindworm?
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
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.
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
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.
Re: How to use the lindworm?
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.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.
Re: How to use the lindworm?
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.AndakRainor wrote:edit: one possibility remains for this component, but it would require using a separate object to handle it.
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.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: How to use the lindworm?
@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!
@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!
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: How to use the lindworm?
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?
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?