Announcement

Collapse
No announcement yet.

Treasure Chest reset?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Treasure Chest reset?

    Is there any way possible to reset a treasure chest so that it's closed again and has its original contents? No huge deal either way, but if it's possible, the new game plus option in my nearly finished game will be fully complete. As it is, it works, though any treasure chests you opened during the previous run stay open. Otherwise, you get to keep your money, items, and experience for the second time through and the entire story is reset.

    #2
    Re: Treasure Chest reset?

    I have not yet tested this, but I hear that when using standard events with chest models you can still play an animation.

    I don't know how far you can push this, but it may be the way to go.

    I'll be looking into this after the VFX Guide first draft.

    Peace.

    MOO!




    Comment


      #3
      Re: Treasure Chest reset?

      Yes, Rodak is right.
      Set up a standard event with the chest graphic.

      In the layout mode:
      Create a new object
      Select "event"
      Select "standard event" not "treasure chest"

      Your event code should look like this:

      Play Animation -> Chest Event [this will open the chest]
      (reveal contents of chest)
      Play Animation -> Chest Event [this will close the chest]

      Each time you open the chest it will have its original contents.

      Now if you want your treasure chests to only be opened one time per visit to an area, you'll have to use variables.

      Also if you want to leave your treasure chests open after getting their contents and close them all upon leaving the area, you could set up an invisible event (set to touch) near the exit that closes all of the standard event treasure chest graphics from its event code.

      Okay, well, good luck.
      Last edited by Pagerron; 02-19-2006, 09:33 AM.
      " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

      Comment


        #4
        Re: Treasure Chest reset?

        What about having a mode 2 that's empty, would that make sure you can only get the items once? Then, after beating the final boss and choosing new game plus, reset it back to mode 1?

        The only problem I see with this method is that there's no way to tell if a given character's inventory is full upon awarding the items obtained.

        Comment


          #5
          Re: Treasure Chest reset?

          I have been meaning to test what the game does if you award an item to a full inventory.

          Has anyone checked the default reaction to this?

          I know of games that offer the chance to give it to someone else or trade it out for an existing item or leave it behind.

          The defaults in this game are frustrating...

          Peace.

          MOO!




          Comment


            #6
            Re: Treasure Chest reset?

            You don't get the item if the character who is supposed to receive it has a full inventory. What I have done to avoid it when giving out a new sword, etc... is have the character in question lose their previous weapon and gain the new one. I think I might just leave it as it is, as the chests just contain healing items and such... your second time through, you're going to be at least 2-3x the level necessary to complete the areas, and these items are in that case much less important. The only ones I think I would fix would be those that contain keys to dungeons or plot items.

            Comment


              #7
              Re: Treasure Chest reset?

              DarkSentry - modes are another option. True.

              Trying to mess around and find the answer to the questions about discarding items if your inventory is full, I found something astonishing, not in a good way either.

              I set up an event, set to "touch"
              The only event code is the following:
              Obtain Items -> Item Name (with "Party Member" set as the person who is obtaining the item)

              Each time you touch the event, a blue screen appears, showing that your are adding that item to your inventory. When your inventory is full you are given the option to discard an item you are carrying or abandon the new item.

              HOWEVER, and this is a big problem....

              I set up another event, set to "touch"
              The event code is the following:
              Obtain Items -> Item Name (with a specific character set as the person who is obtaining the item)

              Each time you touch that event, the yellow exclamation point appears, and you get the item, but you do not see that blue screen, and if your inventory is full, you just don't get the item. You aren't even given the opportunity to discard another item or abandon the new one. You just don't get it. Oh, man, this is a bad oversight.

              So, if you are setting up situations where people in your party are obtaining items from events, you'd better use "Party Member" as the person receiving the item, or you won't have the option to discard other items if your inventory is full.

              I'm going to mess around some more with this, but wow, that's a big glitch as far as I'm concerned.
              Last edited by Pagerron; 02-19-2006, 05:35 PM.
              " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

              Comment


                #8
                Re: Treasure Chest reset?

                I figured it out just a few moments ago as well... but thanks also for the reply... I'm currently redoing the treasure chests as custom events. Once I'm done with that, I can reset them all to normal with the new game plus events at the end of the game. The only ones I'm not redoing are the boobytrapped chests that don't contain any items.

                Each custom treasure chest takes about .1% of the available memory.
                Last edited by Dark Sentry; 02-19-2006, 05:49 PM.

                Comment


                  #9
                  Re: Treasure Chest reset?

                  Originally posted by Dark Sentry
                  I figured it out just a few moments ago as well... but thanks also for the reply...
                  You're welcome. Yes, I just noticed your updated topic with the final results. It seems like you figured out a good solution. I guess we were typing at the same time.

                  I just found out one more feature regarding obtaining items. If you do select to have a particular person (who is not in your party at the time) obtain an item, later, if you add them to your party, they will have that item in their possession. I thought that was interesting. Okay, so maybe there is a purpose for that option. Alright, well, have a good night. Take care.
                  Last edited by Pagerron; 02-19-2006, 06:06 PM.
                  " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

                  Comment


                    #10
                    Re: Treasure Chest reset?

                    Actually, there would be a purpose for that... if you took someone out of the party and wanted to put them back in later, you could give them better equipment or other items before having them join so they're not so outclassed by their peers. I think I just might put this to use.

                    Comment

                    Working...
                    X