Chest Problem

I have tried several times to do this, but have been unsuccessful. 😕 How do you make a chest that you can open and will give you for example, a healing potion or armor. I have tried making an NPC, but it did not work. In Pillars of Garendall, there is a chest graphic that is used. I need something like that.

------------------
Whose cruel idea was it to put an 'S' in lisp?

Blacklite,

To get a working chest(one that opens/closes) read (url="http://"http://stark.evula.net/plugin_faq.htm#tipchests")this(/url).

To launch items when the chest opens use a "launch item" event object to launch whatever object you want at the actual coordinates(which will be where the chest is).

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Yes, Stark's manual for chests is what I used to get it working. Make sure, though, that you use the animation chest_anim001 as "used". I found that the chest pointed the wrong way when I used it. To fix that, go into the animation file and you'll see the chest at the different points of the compass. To get the chest to point the right way, move the entire array of the chest with the direction you want to the top of the animation. Don't change the order of it and don't delete any of the others. Then save-as and use that animation. You'll need to do the same thing with the idle animation chest, chest001.

As an item, then, you can place another item in the chest. When the Player opens it, you automatically have the placed item(s).

------------------
-- Debra
Danillitphil Productions

(This message has been edited by Debra (edited 01-20-2003).)

Quote

Originally posted by Debra:
I found that the chest pointed the wrong way when I used it. To fix that, go into the animation file and you'll see the chest at the different points of the compass.

If you are using a map that you created to place the chest in a standard location, you can go into the map editor and place the chest on your map using the items layer. When you drop your chest onto the map a compass will appear and you can rotate it to face the direction you would like it to.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Yes, but I'm talking about "launch item."

------------------
-- Debra
Danillitphil Productions

Quote

Originally posted by Debra:
Yes, but I'm talking about "launch item."

Yeah, I figured you were. I just wanted to mention the map editor stuff just in case he was planning on placing a chest in a cave or some other location. It is much easier to specify direction in the map editor than creating a new animation. However, if he wants to use the launch item event object then your method is the one that will work. 🙂

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)