Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> [Eventing]Pickpocketing, I always wanted to steal from others in VX!
Edboy
post Jun 24 2009, 11:01 AM
Post #1


Level 8
Group Icon

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




CLICK HERE FOR THE DEMO!

This basically works just like games using the D20 system (like Dungeons & Dragons).
You go to an NPC and talk to him while having Z pressed down. If you don't hold Z, then you just talk to him.

CLICK HERE FOR THE DEMO!

Creating variables
Create variable PickpocketRoll (this is a random number determining how good you go each time you pickpocket).
Create variable PickpocketSkill (this is a bonus to the number above).

Creating a "pickpocketable" NPC
Create a common NPC.
Add a conditional branch: If button Z is being pushed.
--->When false, then create a dialogue that will be showing up (normal talking with the NPC).
--->When true, then see the steps below.

Picking pockets
Control variable PickpocketRoll, random (set 1~20).
Control variable PickpocketRoll, add PickpocketSkill to PickpocketRoll.
--->If PickpocketRoll is less than 12, then the attempt is a fail.
--->If PickpocketRoll is equal or greater to 12, then you manage to steal an item
After pickpocketing, never forget to set PickpocketRoll to 0!


I know I'm not good at explaining, there's a playable tutorial/demo below.
CLICK HERE FOR THE DEMO!


P.S.: If the link is dead, send me a PM.


__________________________
Is it not natural ugliness better than artificial beauty?
Go to the top of the page
 
+Quote Post
   

Posts in this topic


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: 23rd May 2013 - 08:41 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker