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
> [Eventing]My steal demo and locking picking demo. With Screen Shots and Links to demo downloads.
2dgamestudio
post Aug 24 2008, 06:38 PM
Post #1


Level 19
Group Icon

Group: Revolutionary
Posts: 398
Type: Event Designer
RM Skill: Skilled




Well here is the Steal System, I had a pervious one but I made some changes to it.

Steal from an NPC tutorial
by Chris Ross(That is me) > edited by Leventhan

Step 1
So the first step is to go to Database > Common Event > Name one of them “Steal”
Then go to list of event commands and add a new variable called “Steal”, set a random number between 1 - 10. What this means is that when the common event steal is called a number between 1 and 10 will be chosen by the game.



Step 2
Once you have that done make a new map, it can be any size you want and add an NPC to the map.
Add a new event command to the npc.

http://i43.photobucket.com/albums/e367/2dgamestudio/2.jpg

Step 3
Call the common event “Steal” by pressing the call common event button. Then add a conditional branch and set the variable steal to less then are equal to 5. This means that if the player touches the NPC and hits the action button whether the random number returned is less than or equal to 5. If the random number is greater then 5 then the player has successfully stolen from the NPC. However, if we leave the system this way the player can keep trying to steal from the NPC which is no fun at all.



Step 4

So lets add a switch called “Steal Failed”, and set it ON under the conditional branch.
Make a new event page and set the switch “Steal Failed” to ON under the conditions page. make a new event show text have it say something like ” I hate thieves, I can’t believe you tried to steal from me!” or something.

http://i43.photobucket.com/albums/e367/2dgamestudio/3.jpg

Step 5
That takes care of if the player fails at stealing from an NPC but what happens if the player succeeds
stealing from the NPC?
Go back to the First event page, under the conditional branch you should see a “Else” branch that handles when the player got a random number higher than 5 and was able to steal from the NPC.

Step 6
So add the items to the player inventory which they stole, it could be gold, items, weapons, armor, or even a skill! So now that we have stolen from the NPC create a switch called “StealSuccess” and set it ON. Now make a new event page and have the condition switch set “StealSuccess” is ON. You can add a new event to the NPC and have them say whatever you want them to say.



That is the end of the steal tutorial and here is the link to the demo
NonRTP Version - which means you have RMVX installed on your computer http://www.mediafire.com/?ioc95ipljor
And here is the link to the RTP Version - which means you dont have RMVX installed on your computer http://www.mediafire.com/?ioc95ipljor

Locking Picking Event Based System - Created By Chris Ross

Well this system is going to allow the player to pick lock on, locked treasure chest and locked doors. It is a pretty simple system to make but adds a little extra to your game.

Step 1 - Make A New Skill Called Lock Picking.
To make a new skill, you have to go to database>Skills. Once in skills make a new skill called Lock Picking, and set the scope to none and the occasion to never. In the descerption of the skill you have it something like “Allows you to pick locks on doors and treasure chest.” Once that is done lets head to step 2.



Step 2 - Make A New Map.
Lets make a new map and added two events to this map, the first event will be a npc who will add the skill to LockingPicking to our hero skill menu and also set his varable LockPickingSkill to 1. So how do we do this first set the first event graphic to a npc person and then in the event of list command make a new text event. Which could say something along the lines of “So you want to learn the way of the thiefs?” I shall teach you how to pick locks. Then Add the skill LockPicking to the hero skill menu by making a Change Skill Event and add LockPicking. Then make a new varable and name it to Lock_Picking_SkillLV and set it to 1. Now lets make the second event on the page.

The second event is going to be a treasure chest event, Do not use the quick event maker, becasue you have to customize this event and it is easyer if you do it from scratch.

First Set the event graphic to a closed treasure chest, then in the list of event commands make a new varable called Treasure_ChestLV and set it to 1.

Once that is done make a new conditional event and have it set to treasure_chestlv1 == 1.

Once that is done make another Conditional event and have it set to Lock_Picking_SkillLV = 1.

and under that one more conditional branch and have it set to Hero [Lock Picking] Learned.

Once that is all done you now can add a new event play SE “Chest” 80, 100 which is the sound of a chest opening.

Once that is done make a new event and have it set move route and set it to this event. Then add Direction Fix Off, Turn Left, wait 3 fames, turn right, wait 3 frames.

Once that is done make a new event in the list of event command and have it as a Control self switch A and set it to On, Once that is done add another new event and have it as a text event that says you picked the lock on the treasure chest, and then add what ever was in the chest it could have been gold, items, weapons or armor. Once that is done make another event and add 1 to the varabel Lock_Picking_SkillLV so that the player gains exp for open the treasure chest.







Step 3 - Make A New Event Page.
Make a new event page and in conditions set the self switch a = on and the event graphic to a open treausre chest.



NonRtp Demo Ver - This means you have RMVX Installed on your computer - http://www.mediafire.com/?h8f4asxhdvm
RTP ver demo - Which means you dont have RMVX Installed on you computer - http://www.mediafire.com/?qkjzxsnw0af

Well this ends this tutorial, I hope you liked it and learned something from it. - Chris Ross, 2dgamestudio

If you like the demo please visit my site and leave some feed back on there. And comments are always more then welcome.

This post has been edited by 2dgamestudio: Aug 25 2008, 04:39 AM


__________________________
Current Project


[Show/Hide] Come Visit 2D Game Studio's for some great tutorials and games.
Go to the top of the page
 
+Quote Post
   
2dgamestudio
post Aug 25 2008, 04:40 AM
Post #2


Level 19
Group Icon

Group: Revolutionary
Posts: 398
Type: Event Designer
RM Skill: Skilled




Just added the lock picking tutorial to the post check it out smile.gif


__________________________
Current Project


[Show/Hide] Come Visit 2D Game Studio's for some great tutorials and games.
Go to the top of the page
 
+Quote Post
   
2dgamestudio
post Aug 26 2008, 09:59 AM
Post #3


Level 19
Group Icon

Group: Revolutionary
Posts: 398
Type: Event Designer
RM Skill: Skilled




Feed back is welcome if anyone would want to leave any smile.gif bunny.gif


__________________________
Current Project


[Show/Hide] Come Visit 2D Game Studio's for some great tutorials and games.
Go to the top of the page
 
+Quote Post
   
Sir_Robin
post Nov 24 2008, 12:19 PM
Post #4


Level 1
Group Icon

Group: Member
Posts: 8
Type: Musician
RM Skill: Beginner




the links aren't working sad.gif
Go to the top of the page
 
+Quote Post
   
2dgamestudio
post Nov 25 2008, 04:27 PM
Post #5


Level 19
Group Icon

Group: Revolutionary
Posts: 398
Type: Event Designer
RM Skill: Skilled




yes they are, What links the one in my sig?


__________________________
Current Project


[Show/Hide] Come Visit 2D Game Studio's for some great tutorials and games.
Go to the top of the page
 
+Quote Post
   
magicmace3
post Dec 30 2008, 07:12 PM
Post #6


Level 4
Group Icon

Group: Member
Posts: 50
Type: None
RM Skill: Intermediate




i like the steal part. but i have a question.

could you make a tutorial on lvling steal up... what i mean is:

steal lvl 1:10% chance to steal
steal lvl 10:90% chance to steal

i dont know how to make it level up and stuff. but i wont stop and work on my current project untill i find out because i might put this in my game.

I will give credit...

truth is i only hafta give credit to 3 people.


__________________________
current project: Millenium

%done: N/A%
-------------------
maps:0%
script: 0%
skills: 0%
items: 0%
weapon and armors:0%
monsters and mobs :0%
Plot: 1%


-------------------

Help my dragons/dinosaurs/furry things grow up. to help just click on them. It will take your to their page, where you can view their info.

and and
Go to the top of the page
 
+Quote Post
   
KAZRCRW_ME
post Dec 31 2008, 12:15 AM
Post #7


new stuff, I'll play around with it later...
Group Icon

Group: Revolutionary
Posts: 132
Type: None
RM Skill: Undisclosed




With name of God with true love and compassionate


I also have a question?

How about the item that can increase change/percentage for stealing in RMVX

Example: Theif's ring

After we wear it the percentage for stealing increase example:from 20% to 30%...

I hope you reply it...

Thank you...

May God bless us..



__________________________
Looking for the one with the glass slipper



[Show/Hide] Click me If you dare..




[Show/Hide] My Name



[Show/Hide] Avatars

Diligent Ying and Yang OMG_RAWR!

[Show/Hide] Vincent



Go to the top of the page
 
+Quote Post
   
KAZRCRW_ME
post Dec 31 2008, 12:20 AM
Post #8


new stuff, I'll play around with it later...
Group Icon

Group: Revolutionary
Posts: 132
Type: None
RM Skill: Undisclosed




Like game in Final Fantasy Tactics Advance...

I cannot download your demo (NonRTP Version - which means you have RMVX installed on your computer)

I hope you fix it...

Thank you


__________________________
Looking for the one with the glass slipper



[Show/Hide] Click me If you dare..




[Show/Hide] My Name



[Show/Hide] Avatars

Diligent Ying and Yang OMG_RAWR!

[Show/Hide] Vincent



Go to the top of the page
 
+Quote Post
   
magicmace3
post Dec 31 2008, 11:16 AM
Post #9


Level 4
Group Icon

Group: Member
Posts: 50
Type: None
RM Skill: Intermediate




also could you make one where you need a certain skill to be able to steal from one one. for example.

@>if shadow ( the skill) is on
@> call common event 0001[steal]

ect. im working on the level and i tink i almost got it..




lastly i have a suggestion..

you just make the steal common event say random variable.

when i made mine i put every thing inside the common event so when i want to steal i just make it call event 1 steal and stuff.
^^^ about that. i jsut realized that you have the choice to be able to choose what you steal the way i made mine i dont.


__________________________
current project: Millenium

%done: N/A%
-------------------
maps:0%
script: 0%
skills: 0%
items: 0%
weapon and armors:0%
monsters and mobs :0%
Plot: 1%


-------------------

Help my dragons/dinosaurs/furry things grow up. to help just click on them. It will take your to their page, where you can view their info.

and and
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Jan 1 2009, 09:27 PM
Post #10


Level 50
Group Icon

Group: +Gold Member
Posts: 1,529
Type: Scripter
RM Skill: Undisclosed




QUOTE (magicmace3 @ Dec 31 2008, 02:12 PM) *
i like the steal part. but i have a question.

could you make a tutorial on lvling steal up... what i mean is:

steal lvl 1:10% chance to steal
steal lvl 10:90% chance to steal


Make the level needed to steal a random level between 1 and 11
if random lvl <= steal lvl
_ yay!
else
_ you fail
end

QUOTE (KAZRCRW_ME @ Dec 31 2008, 07:15 PM) *
I also have a question?

How about the item that can increase change/percentage for stealing in RMVX

Example: Theif's ring

After we wear it the percentage for stealing increase example:from 20% to 30%...


Make a new variable, it would be something like the "active level"
if <wearing ring_simple>
_active level = actual level
_active level *= 120 ______ # This increases it by 20%, 30% would be 130, and so on
_active level /= 100
__ if active level >= needed level
___ yay!
__ end
end


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
KAZRCRW_ME
post Jan 4 2009, 07:03 PM
Post #11


new stuff, I'll play around with it later...
Group Icon

Group: Revolutionary
Posts: 132
Type: None
RM Skill: Undisclosed




With name of God who He is Loving and Compassionate..

Can I Know this put In Script or Event?


__________________________
Looking for the one with the glass slipper



[Show/Hide] Click me If you dare..




[Show/Hide] My Name



[Show/Hide] Avatars

Diligent Ying and Yang OMG_RAWR!

[Show/Hide] Vincent



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: 19th June 2013 - 11:00 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker