????_TO Parameters

Questions about how to create your own dungeons and replacement graphics and sounds.

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
Gambit37
Should eat more pies
Posts: 13769
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

????_TO Parameters

Post 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?
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: ????_TO Parameters

Post 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.
User avatar
Gambit37
Should eat more pies
Posts: 13769
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: ????_TO Parameters

Post by Gambit37 »

Presumably you could therefore make doors convert to a monster? Or any other item? That could make some interesting puzzles....
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: ????_TO Parameters

Post 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 ;-)
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: ????_TO Parameters

Post by beowuuf »

lol, you got me thinking of the film labyrinth and the doors that formed the mechanical monster at the end
Was unable to (permenantly) kill off ian_scho (Haynuus), Ameena, oh_brother (Westian), money (Falkor), raixel (Petal) and Lord_Bones (Aurek) in the DM D&D game Time's Champions!

CONGRATULATIONS TO THOSE WHO MADE THE GAME WHAT IT WAS - GREAT!
Post Reply