Page 1 of 1

????_TO Parameters

Posted: Tue Oct 08, 2002 6:45 pm
by Gambit37
I discovered the FIRE_TO, BASH_TO and CONVERT_TO parameters in the EXE file. Can you please clarify what these are for and how to use them?

I'm assuming they are for doors and simply take another bitmap identifier?

Re: ????_TO Parameters

Posted: Wed Oct 09, 2002 9:25 am
by George Gilbert
FIRE_TO and BASH_TO are indeed door attributes, but take *object* identifiers (in fact all "xxx_TO" attributes do) and do the obvious thing.

CONVERT_TO takes an object into which the current object will transform when it is "used up". For example a water flask converts to an empty flask, an alive torch converts to a dead torch or a charged bolt blade converts to an uncharged one. You could theoretically do some cunning things with this. For example, you could have a bloodwych type eating system where an applie converts to half an apple, and half an apple converts to nothing etc.

Re: ????_TO Parameters

Posted: Mon Oct 28, 2002 6:09 pm
by Gambit37
Presumably you could therefore make doors convert to a monster? Or any other item? That could make some interesting puzzles....

Re: ????_TO Parameters

Posted: Tue Oct 29, 2002 10:27 am
by George Gilbert
Maybe in theory, however the current code guards against it and throws an error if you try to do anything so silly ;-)

Re: ????_TO Parameters

Posted: Wed Oct 30, 2002 1:47 am
by beowuuf
lol, you got me thinking of the film labyrinth and the doors that formed the mechanical monster at the end