Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Lanmola-related crash

7 replies · 2,104 views · Started 15 July 2007

I've discovered two things that can cause the game to crash involving enemies. In both cases, my custom weapon scripts are running, which means there is a script checking collisions with each enemy each frame, whether the weapon has fired or not. This might be involved in the crashing.

(2) Lanmola and enemy pointers don't get along. When a custom weapon hits an enemy, the script loads a pointer to that enemy and moves it, damages it, etc. Occasionally, hitting a Lanmola with a custom weapon simply crashes the game.

Does the Lanmola bug occur in the current build? Script/segmented enemy interaction in general is a nightmare, but I thought I had fixed Lanmolas specifically to cooperate better when moved.

I'm not seeing this bug. What are you trying to move, just the Lanmola head or all of its segments? Please post a test quest.

Ah! A very sneaky bug.

Lanmolas are very complex enemies, because of their segments. In addition to the visible segments, there is an invisible "leader" segment which blazes the path the visible segments travel. This leader is invisible and invincible, so can't be hurt normally... but can still be killed by scripts, if its hp is reduced to 0. Doing so *greatly* confuses the visible segments trying to follow it.

In the next build it is no possible to kill a leader segment via scripts, which should fix this bug.

'Dead Bug' thread moved from quarantined to exterminated. Dark Nation (or other developer), how am I doing? Reply only in one of the threads I moved.