Submit Your Article RPG RPG Revolution RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker XP > how to create a multiple-flowering plant system w/o scripts

how to create a multiple-flowering plant system w/o scripts


things you will need to know how to do:
create items, controll variables, and controll self switches.(but if you dont, this is a great way to learn)

STEP1____________________________________________________creating seeds, and outcomes(fruit, herbs, ect)

go to tools_database_Item
change maximum
you will see a window that says max: change it to 36 and press ok

select 33 and call it fruit seed
select 34 and call it herb seed
select 35 and call it fruit
select 36 and call it herb

make 33/34 consumable:no, occasion: never, icon: 043(item12..yes i know its a rock, but you can make your own seed, use the accorn, or change the rock to a more seed looking color)
make 33 price: 20
make 34 price: 40
-----------------------------------------
make 35/36 consumable:yes,
make 35 rcvr HP:700, price: 60
make 36 rcvr HP: 2500, price: 180

STEP2____________________________________________________creating and controlling the necessary variables to start
[and page one of your event]

create an event, title it "my garden"
open up the "event commands" window
in the right column one from the top you will see controll variables.
click it and a third window will pop up. it is called controll variables and it has many things on it. dont worry...

see the top box variable:single and click on the arrow facing right on the thing that says0001:

title 0001:fruit seed
title 0002:herb seed

now select fruit seed as your variable
make the operand item: and select that window to be fruit seed.

make a second control variables command and make it 0002 herb seed operand only if item:herb seed
[congradulations you have created page one of my garden]


STEP3____________________________________________________creating page two and three of my garden
(now it picks up a bit)

in my garden press new event page
you are now on MY GARDEN PAGE2
look at the area to the left that says conditions
>select variable and make it 0001 fruit seed
> then make it 1 or above
look at the bottom-left-center of this event page and select parallel process

now we are going to go to the list of comands and go show text: plant your fruit seed?
make a choice:yes/no
when yes: change item>fruit seed>decrease>1
wait>240 frames(as 40 frames=1 second)
control self switch>A>on
control variables>fruit seed> -1

when no: control variables>fruit seed> -1


now go to MY GARDEN PAGE3
do the same as you did with page 2 but change:
-all variables to herb seed
-self switch to 'B'
-items to herb seed


STEP4____________________________________________________creating page 4 and 5 of my garden
(picks up a bit more)

create 2 new pages
pg4:only if self switch A, graphic:*
pg5:only if self switch B, graphic:*
pg4/5:want to pick your plant
choices yes/no
when yes
changeitem:fruit(or herb on B page), +1
control self switch of that page=off
*(pick something from the tileset or create one or
copy a map and edit it on paint shop pro, or
paint, or anyother editing programs.)




EXTRA____________________________________________________
extra things you can do with this

-you can make more (up to four with self switch and nearly infinite with normal switch) variations of plants and seeds

-you can make the wait time after planting more or less depending on what your into by changing wait:240 into something else(where each 40 frames=1 second in realtime)

-you can plant trees by using "syncronized switching" or making a tree character

-you can make plants grow in stages by making wait time and switch1 on instead of wait time and self switchon

newpage condition=switch1 parallel process wait time switch2

newpage condition=switch2 parallel wait time switch3on

newpage cond=switch3 parallel wait self switchon

(but the key is to have different graphics for each of the switched pages... and the wait time to be something that isnt to short but also not to long.) 
Details
Tutorial: how to create a multiple-flowering plant system w/o scripts
Date Listed: Mon, 08 Jun 2009 22:02:36 -0400
Author: afwell1
Total Hits: 995


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal