Main Menu
  • Welcome to The RPG Maker Resource Kit.

Steal money skill

Started by gman, February 07, 2006, 12:54:08 PM

0 Members and 1 Guest are viewing this topic.

gman

hi guys. am new around here and was wondering
if any of youse know how to make a skill to steal money from
enemies. im using RPGmaker 2k.
i mean stealing items is easy to make but
money? need professional help...
thx fellas

blueXx

Quotei mean stealing items is easy to make but
money? need professional help...

build the item stealing system, instead of add item make add money
for the money you should make something like

variable X = random(1,100000)
and then add that random amount , changed by which monsters you face and success chance

if you know how to make an item thievery system it seriously shouldn't be any problem
holy shit my sig was big!

gman

yes i've tried that. but the problem is, there is no
"add money" option in the Monster Party page.
so i cant change  my money unlike items

blueXx

event commands, 6th button on the right side
or otherwise what sick version are you using, i'll find it there
holy shit my sig was big!

ahref

its change money methinks

blueXx

Quote from: ahrefits change money methinks

you don't say  :roll:
holy shit my sig was big!

haloOfTheSun

Quote from: gmanim using RPGmaker 2k.

There is no change money command in the monster groups event window in 2000.
:tinysmile:

blueXx

i am so not searching...
make a parallel going:
if item moneychest is possessed then
-remove item(money chest)
-add money: +20

(i would assume there is a money adding option in a normal event... )

then make an item steal thingy, put diffrent chests for diffrent values and that's it
holy shit my sig was big!

Zeriab

You can do this in RPGmaker 2k. There are several ways, I will only show one.
In the following I will use:
1 switch: StealSwitch
2 variable: Chance, AmountStolen

Firstly go to the Database\Skills and make, let's call it Steal
Under the classification select Switch.
Make it available at Battle only.
Find the ON Switch and select one, let's call the selected one for StealSwitch
Fill out the rest as you please.

Then go Database\Monsters Party and select the party you want the ability Steal to work against.
Under the Battle Events on page 1 (you only need 1 page) set a trigger to StealSwitch-ON and enter the following commands:
<>FORK Optn:Varbl[xxxx:AmountStolen]-0
 <>Variable Ch:[yyyy:Chance] Set, Randm[0*100]
 <>FORK Optn:Varbl[yyyy:Chance]-30abov
   <>Variable Ch:[xxxx:AmountStolen] Set, Randm[100*2000]
   <>Messg:You've stolen \V[xxxx] gold!
   <>
  :ELSE Case
   <>Change Switch:[zzzz:StealSwitch]-OFF Set
   <>
  :END Case
 <>
:END Case
<>
This requires might require a bit explanation.
Let's take the first line: <>FORK Optn:Varbl[xxxx:AmountStolen]-0
This means that you should use a Fork Conditions, check variable, select the AmountStolen and check if it is the same a 0.
The xxxx simply means the number AmountStolen have in the database, yyyy refers likewise to Chance in the variables 'database' and zzzz for StealSwitch in the switches 'database'.
If you want to change the probability of stealing change this line:  <>FORK Optn:Varbl[yyyy:Chance]-30abov
If you want to change the amount of gold stolen change this line:
   <>Variable Ch:[xxxx:AmountStolen] Set, Randm[100*2000]


Under the Common Events make an event (select a non-used).
Name it whatever you like. Set the Event Start Condition to Parallel Process. Set the Appearance Conditions Switch to StealSwitch
Enter this as the Events Commands
<> Change Money: Money V[xxxx] Incr.
<> Variable Ch:[xxxx:AmountStolen] Set, 0
<> ChangeSwitch:[zzzz:StealSwitch]-OFF Set
<>



If you got questions just ask.

gman

thanks for all the help guys!
especially you Zeriab.
I could understand your explanation the first time I read it.
I'm gona try it. Thx again.