Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [VX] Random Treasure, Best Used In VX.
Reshiram//Exe
post Jul 19 2010, 09:53 AM
Post #1


Big Ball of WTF
Group Icon

Group: Revolutionary
Posts: 856
Type: Event Designer
RM Skill: Advanced




Hello to my First How to Tutorial. This tutorial Covers everything you Will need to Make random Treasure.
What is "Random Treasure?
In some RPG games, treasure chests have random contents. This is more a realism thing as you wouldn't find "THAT" sword able to kill a dragon in a treasure chest in real life. it would be probably full of junk. Making random treasure is surprisingly easy, and you only have to make it once. As you can copy and paste your random Treasure chests wherever you desire.


Basic Method to making a random treasure chest
Fortunately, Enterbrain slipped in a quick treasure chest generator. This can be the base for our random chest. See the event command:
Change items:+__[____] Or something along those lines? This is were we need to edit this for Randomness. How? go into the database and create a new Variable or common event if you have already made your random chest. You can call it whatever you like. "Treasure Gen" or "Random Treasure" would be a sensible idea, Or something along those lines.So you don't delete this variable.

Now, Remember, what ever you want to NOT Get out of a treasure chest, put on a really high number so it is not inconvenient so you have to make multiple random generators, But not specify any of the number ID'S of the items. Such items would be quest items. Unless it is a random collection quest laugh.gif now when the player opens the chest, randomly set the variable, then reward the item in that number slot.


Junk Items
want the Player to get nothing but junk out of some chests? Create a item that does nothing or something very useless and Name it "Junk" or "Rubbish" Whatever. This can be added into the items and got out of the chest at random.


Please add this to your post.

Was this guide useful?:
did you notice any spelling/Grammar errors(Please say what):
do you want me to make more guides in the future?
Go to the top of the page
 
+Quote Post
   
Alt_Jack
post Jul 19 2010, 12:45 PM
Post #2


Level 19
Group Icon

Group: Revolutionary
Posts: 377
Type: Event Designer
RM Skill: Skilled
Rev Points: 40




I tried this and it gave me a random quantity, not item number. huh.gif
The variable controls how many of something you get, and would work better for random amounts of gold.
The "operand" (number of) has 2 options: set or variable.
I'm guessing it's supposed to say:
QUOTE
Play SE: "Chest" 80,100
Set move route: this event (wait)
direction fix off
turn left
wait 3 frames
turn right
wait: 3 frames
control self switch A = ON
control variables {0005:random treasure] = Random No, (1.....20)
change items: [potion] + variable [05. random treasure]
text: \ v[5 ] was found!

The text part shows the result of the variable (it gave me 2, rather than item #2). The part where it says "potion" is unavoidable.
Otherwise it'd work fine. Best try a script instead.

This post has been edited by Alt_Jack: Jul 19 2010, 01:08 PM


__________________________

the Alternate Jacks event demo
As well as all of my images in one place, free for use.
Most of my images will be there, since this site takes too long to approve stuff and VX.net has no bulk uploader.
Go to the top of the page
 
+Quote Post
   
MajinBangFlash
post Aug 17 2010, 03:33 AM
Post #3


Retro-console lover
Group Icon

Group: Revolutionary
Posts: 195
Type: Writer
RM Skill: Skilled




An example of the event would be nice dry.gif


__________________________
Go to the top of the page
 
+Quote Post
   
rayvales
post Sep 29 2011, 09:31 AM
Post #4


Level 4
Group Icon

Group: Member
Posts: 50
Type: Event Designer
RM Skill: Intermediate




tis event gave me some ideas to think about, thank you smile.gif
Go to the top of the page
 
+Quote Post
   
RzrBladeMontage
post Oct 5 2011, 01:04 AM
Post #5


"Hey.. would you say... I became a Hero?" - Zack Fair
Group Icon

Group: Revolutionary
Posts: 773
Type: Event Designer
RM Skill: Advanced




Ray please don't necro. Verbal warn.


__________________________





Go to the top of the page
 
+Quote Post
   
Tsukihime
post Oct 5 2011, 12:32 PM
Post #6


Level 25
Group Icon

Group: Revolutionary
Posts: 560
Type: None
RM Skill: Undisclosed
Rev Points: 25




No idea is "old". I wouldn't have come across such an idea if it was buried.


__________________________
My Scripts
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 09:25 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker