The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Event Systems => Topic started by: GrandmasterKirbs on September 16, 2010, 09:08:05 PM

Title: [XP] ADD (Advanced Door Devices) [Figured it out!]
Post by: GrandmasterKirbs on September 16, 2010, 09:08:05 PM
For a while now I have been lurking these forums for advice and tutorials, not to mention some of the best resources left online. So... now I come with a question that is puzzling me. I am designing an Event System that makes doors quite... insane. They are each randomly generated with a few customizable variables and have many other features, all of witch is explained below. Anyway, I am having a problem with it, and was wondering if anyone could help.

Here is the series of events below, my questions follow. Thanks in advance!

Event 1: The Door
Spoiler for:
Page 1:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEventPage1_001.jpg&hash=7fa49ef0473bbf3e4e271bce28b12834125dd789)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEventPage1_002.jpg&hash=0a0d8a452ed8f45c0e030b8ad0f4dde346dae493)

Page 2:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEvent1_Page2_001.jpg&hash=4437eb6c6a881ab24f4b1230daaf9e66531a454e)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEvent1_Page2_002.jpg&hash=28e1c0bf9c009d63c78e44481c150a44dea5f60a)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEvent1_Page2_003.jpg&hash=e337e9a06c9199d9e0f6ae942074a3f1d6867095)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEvent1_Page2_004.jpg&hash=68e6b7303a590f10e1c6b08c29f4400e8cd7a80d)

Page 3:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEvent1_Page3_001.jpg&hash=dc1c5b43ecb5faaa111891d38a3dff59b09279d7)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEvent1_Page3_002.jpg&hash=10338b1e6aabbb7899d8e4e8002887b0666c189f)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEvent1_Page3_003.jpg&hash=6e327f7789471f766873cc4a986a7c44bf886417)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FEvent1_Page3_004.jpg&hash=d48c9133962ade6a09bcb7f540086f4d15486da3)

Page 4:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FE1_P4_001.jpg&hash=3ae92f86c40ee36639354772bfccce94d6ce42b8)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FE1_P4_002.jpg&hash=52172a6694d9c6c9b6f059637d4134b1332fd384)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FE1_P4_003.jpg&hash=0ff8b4b6ca078318926fddfbd7597a4a765bf130)

And lastly, page five. Witch in comparison looks kinda weak.
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FE1_P5.jpg&hash=0f04abb929414013b10b308bea0c514222a1fccb)


Common Event 1: Quality Check
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FQC_001.jpg&hash=dc155ed659c3296d7789b33dc96b1beedafc9d92)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FQC_002.jpg&hash=bfa9a5aaeca4a575089b106903b57ae95b693cb3)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FQC_003.jpg&hash=fa2d5a2a7114973100e0438201ab938fa7c57ef3)

Common Event 2: the Lock Check
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLC_001.jpg&hash=451252770b87f3b498e1bbcb7a87f186d127996a)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLC_002.jpg&hash=d2fd887e7cff09a0b103fc340b87b63b8b5f2e2f)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLC_003.jpg&hash=f000d32298ac71003beb2291564d7223a3e4b318)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLC_004.jpg&hash=2de11c9462342f1688ac178bb46c14bf040d8a55)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLC_005.jpg&hash=d47f57c2603766fefc5a7c87b0bcb51c687a5888)

And finally... my Lock Picking Common Event. [Whew... and I'm not even done yet!]
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLP_001.jpg&hash=0508ce34841934f17c473efa4b8b9bc0d01f90a7)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLP_002.jpg&hash=46287015458df8b70b4da64cf03c79426c9cc4e6)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLP_003.jpg&hash=56add6fd5887e2d7a1dbe85b83849421bddb6380)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk291%2FJlambert25%2FDoor%2520Event%2FLP_004.jpg&hash=4a82941ac7859cc2c27181454782aeace3d41205)

Now, first of all I want to thank you for taking the time to actually look through all of that. Anyway... as for my questions:

1. Because the quality check has it's own page, the player is required to click twice in order to see that kind of door they are faced with. I have tried Autorun and Parallel Process, but they just cannot break without resetting the event to page one. How can I get page 2, 3 or 4 (Depending on the Quality Check's outcome) to actually work automatically?

2. If the player chooses NO for a choice, or has no lockpicks, then the switches and variables all remain active... so when they move on to another door it's a clone of the one they just visited. Therefore all of the doors on the floor become the same door. I want each one to be different.

I have tried adding a local variable to the first page, and all the subsequent pages to be triggered by not only their quality trigger but also their self switches. But this just seemed to completely not work.

So I'm at a loss... how can I make it so this only effects one door?



-----

Edit: After working and re-doing my system I found a way as to make it work. As far as I can tell it is working perfectly, but I need to do more testing. Once I have ironed out all the kinks I will place a bit of information on what I did, and then place a demo so other people can use it.