RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Password awesome Chest

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 86
First i would say thanks to Mastermoo420 for the special chest tutorial, I got an idea from he's special chest system and mixed it with my chest system. So if the password is 5001 or higher you get good items, if it's 5000 and lower you get so so items, i recommend you do his tutorial 1st so here it is:


http://rmrk.net/index.php/topic,16852.0.html

1. After you do that open up the sign event and on the 1st page put it to parallel process and take away the message or text that shows the variable #, also put the variable random # between 1 and 9999 and on the 2nd page leave it as it is, here's what it should be like:

------------------------------------------
1st page on Sign(show Password)

<>Variable: [####: password] = Random (1..9999)
<>Local Switch A = ON
<>

2nd page

<>Message: \v[ # ]             {Variable Number you assigned for variable password}
<>
------------------------------------------


2. Next click the Chest event and on the input # put 4 digits instead of 2 digits because it can be ####, under the conditional branch that says if password equals input number make a new conditional branch that if variable password is >= 5001, got that? good.

(when i say under the conditional branch i mean inside it, do not put execute custom handler)
(In the treasure chest event make it fixed direction)
(After you finish you could put all on a conditional branch that only if char facing up and else message  "Cant open from here")

3. Next under that conditional branch make a variable operation and make a new variable called "items" that is set = to random #'s between 1 and 5(or how many different items you can get).

4. Put a conditional branch under the variable operation that if variable items = any of the # between 1 and 5 then here it get complicated but make a move event in the conditional branch that lock facing is off and make it face Down,Left,Right,Up(this event)after it put a wait of 8, add the message for what you got and the item thing that gives them to you, then make local switch A = ON.

5. For the other 1-5 copy step 4 but change it to if  items = 2 or items =  3 and so on to strong items only, should look something like this:




6. Later on make a conditional branch if variable password is <= 5000 then copy step 3 and 4  for weak items, here is a screen shot, also a demo. Still need help? then message me.




DEMO

http://www.megaupload.com/?d=MCY8F9H1
« Last Edit: December 29, 2007, 08:53:34 PM by elfyelf »

*
A Random Custom Title
Rep:
Level 96
wah
Uh for the images, put them between these codes:

Code: [Select]
[IMG][/IMG]

Will help people more. :P

**
Rep:
Level 86
yeah thanks,done.

***
Rep:
Level 86
I hate everyone except the ones I don't hate...
Sry for necro-posting, but please make the text white, black is just hard to read if you're using the Dark Theme. Apart from that, nice tut, I think I might be able to use this, I've never quite understood variables (shocking, I know...), and I've been trying to do this (without succes, as I still don't get variables.) for some time. I'm lazy, I know. But heck. Useful to... newbs if that is the right word, even though I hate calling myself a newb... ::) But I guess I can't trick anyone, and there's no use lying to yourself... grr... Ah well, moving off topic once again. Nice tut, keep 'em coming!
I wonder how many of my-reps are there for a reason, and not just because some jackass wanted to show off in front of some other jackasses...?
Probably a lot of them - and those people sure as hell don't deserve my pity, let alone my disgust.
That's right, let's see some more -Rep'ing! BOOYEAH!!

**
Rep:
Level 86
Thx but you could get the demo at the bottom, and I also but it white, I didn't notice the themes.

***
Rep:
Level 86
I hate everyone except the ones I don't hate...
Yeah well, my cpu's overloaded with downloads. I've filled two desktops now with downloaded stuff (COMPLETELY FILLED)
I wonder how many of my-reps are there for a reason, and not just because some jackass wanted to show off in front of some other jackasses...?
Probably a lot of them - and those people sure as hell don't deserve my pity, let alone my disgust.
That's right, let's see some more -Rep'ing! BOOYEAH!!

*
A Random Custom Title
Rep:
Level 96
wah
Uhhh... Download it to some other place? Use a folder? >_>

***
Rep:
Level 86
I hate everyone except the ones I don't hate...
Yes, yes alright I'll download the frigging demo. I just forgot about this. Besides, I'd bet my bed on that I won't be able to edit the game.

EDIT: Alright, I downloaded it, and I am VERY happy we didn't bet because I wouldn't have had anywhere to sleep then. Of the, what, 30 downloads, this is prolly the THIRD I've been able to edit.
« Last Edit: December 31, 2007, 05:51:38 PM by Demonic Blade »
I wonder how many of my-reps are there for a reason, and not just because some jackass wanted to show off in front of some other jackasses...?
Probably a lot of them - and those people sure as hell don't deserve my pity, let alone my disgust.
That's right, let's see some more -Rep'ing! BOOYEAH!!