Page 1 of 1

Dead bug

Posted: Sat Oct 06, 2012 4:24 am
by crisman
If your party 'artificially' die via script with the Champion:modifyStat("health", -value), it's not game over.
You can keep walking, picking up items and so on. You can't fight thought.
I did a trap with this script and accidentally walked into it.
Or it's a new Ghost feature I wasn't aware of? :twisted:
SpoilerShow
Image
SpoilerShow
Image
Here's some pics!

Re: Dead bug

Posted: Sat Oct 06, 2012 4:25 am
by Komag
that's kinda cool - does the healing crystal work to "revive" everyone?

Re: Dead bug

Posted: Sat Oct 06, 2012 4:27 am
by crisman
Komag wrote:that's kinda cool - does the healing crystal work to "revive" everyone?
Have no idea!
I'll try!
EDIT: it's working! All my party has been revived!
EDIT EDIT: I've noticed that if you revive the entire party the music will go off. Weird!

Re: Dead bug

Posted: Sat Oct 06, 2012 4:37 am
by Neikun
hmm.
I don't believe there's a scripting hook for ifParty=dead lol

Re: Dead bug

Posted: Sat Oct 06, 2012 4:49 am
by crisman
Neikun wrote:hmm.
I don't believe there's a scripting hook for ifParty=dead lol
eheh nope. I think the game recognize a death only with a onDamage hook. Since I wasn't taking damage by monsters, falls or magics, I guess the game doesn't check the health of the party unless hit by something .

Re: Dead bug

Posted: Sat Oct 06, 2012 4:51 am
by Neikun
See if enemies will attack you next

Re: Dead bug

Posted: Sat Oct 06, 2012 4:58 am
by crisman
Neikun wrote:See if enemies will attack you next
Enemy attacks you, yes. They behave like you're still alive. But they deal no damage! :mrgreen:
Noticed another sound bug.
When you're dead, sounds will be turned off (doors, monsters, they won't do any noise), except the music. If you revive with a crystal... viceversa O_o

Re: Dead bug

Posted: Sat Oct 06, 2012 6:00 am
by Batty
Sounds more like a feature than a bug. You've entered the spirit world...do x to return to the world of the living, etc. :lol:

Re: Dead bug

Posted: Sat Oct 06, 2012 1:33 pm
by crisman
Problem solved, I guess. There is a Champion:damage() script, and I think that will fix everything.
It was interesting thought, I imagined you can script some walls becoming fake once dead in a way ^_^
but it's too buggy (sound reason) for implement such thing.