[Not a bug] Des Ew spell clone always makes sound

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

[Not a bug] Des Ew spell clone always makes sound

Post by Sophia »

Whenever a cloned Des Ew hits a wall it always goes ZAP!, even if I tell it to not make any noise by setting its sound to NULL.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

I can't reproduce this - can you send me a txt file with your cloned des ew in it just in case the problem is in that rather than the engine!
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

It's in the quiver demo, actually:

ADD DUNGEON_SPELL_SPECIAL CLONES=(DUNGEON_SPELL_DESEW) NAME=(SPECIAL DESEW) CONVERT_EXPLODE=(NEW_OBJECT:DUNGEON_CLOUD_SPECIAL_DESEW,SOUND:NULL)

It still goes ZAP!, though. (You can hear it going off, since it's not too far away)
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Ahh - I think that this is a bug in your dungeon; the DUNGEON_SPELL_SPECIAL is (correctly) not making any sound at all when it explodes. However, due to item SOPH0000-4, the resulting cloud converts into a DUNGEON_SPELL_DESEW which then (correctly) explodes and (correctly) makes the zap sound.

I don't quite follow the logic behind that global swap, but perhaps this is enough information for you to understand what's happening. Let me know if you need any further help with this though!
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Post by Sophia »

Oops, I wanted a Des Ew cloud, not a Des Ew spell. :oops:

The reason behind the global swap, in case you're curious, is to prevent the trigger from being tripped more than once by the same cloud. If I didn't swap it to something else, the cloud would trigger the floor trigger below, which would then decrement the counter, which would then activate the floor trigger, and if a floor trigger gets an activate and the relevant object is on it, it acts like it just got activated again.

I guess I could actually just swap it to NULL! :D
Post Reply