Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Click here to join us on IRC (#charas on irc.freenode.net)!
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Someone know how to do that?
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Someone know how to do that? (Read 5021 times)
Slayer004_69
Member
Initiate
Posts: 81
Someone know how to do that?
«
on:
July 25, 2005, 05:35:03 AM »
ok hm, im not sure all of you will understand, but i wish so... ok , my prob is, in my game, im doing a "meditation room" and, the more you stay without moving or pressing any keys, you'll learn some skills, example, you enter the chamber , it asks : Do you wanna meditate, Yes/No, if u say yes, the character moves to the center of a carpet, and then the graphic change into the "meditation character", and then...you just need to wait huh...we will say, 5mins without doing anything, if u succeed, it could say like : congratulations u won the Fire Skill, something like that... so...i just need to know how to do the "timer" event... that will alow my hero to get his skill if he doesnt move for a certain time...
Logged
I'm the master of Pedegrees
Sephiroth rocks
Acolyte
Posts: 479
(No subject)
«
Reply #1 on:
July 25, 2005, 01:34:21 PM »
First make 4 events around the spot where the hero's meditating and make the trigger condition "Touched by hero" and make them turn a switch on. Then start a 5 min timer in the meditation event and make a parellel process event and set the trigger to be "Timer is 0min and 0sec". Then make a conditional branch in the event and make it trigger if the switch the surrounding events turn on is turned off. Then inside the conditional branch learn the hero the skill(s) and turn the switch off.
Logged
Slayer004_69
Member
Initiate
Posts: 81
(No subject)
«
Reply #2 on:
July 25, 2005, 05:53:45 PM »
hmm...i tried what you said...but i dont seem to work...or maybe im doing it not correctly :S...could u try to explain it again plz ?
Logged
I'm the master of Pedegrees
Sephiroth rocks
Acolyte
Posts: 479
(No subject)
«
Reply #3 on:
July 25, 2005, 08:39:41 PM »
My mistake. The conditional branch should trigger if the switch is turned on not off. Other than that it should work.
Logged
Slayer004_69
Member
Initiate
Posts: 81
(No subject)
«
Reply #4 on:
July 25, 2005, 08:58:43 PM »
hm...doesnt seem again to work... :S... i tried a lot of diffrent things, but maybe i just not understand well how u explained it to me...( im french lol )...so....if u could re-explain it easiest plz, it would be great
Logged
I'm the master of Pedegrees
Sephiroth rocks
Acolyte
Posts: 479
(No subject)
«
Reply #5 on:
July 25, 2005, 09:09:09 PM »
Well...
Meditation event:
<>Message: Do you wish to meditate?
<>Choise: yes/no
<>yes handler:
<>timer operations: Set timer 5mins 0secs.
<>switch opertions: turn switch Meditate on
<>no handler:
<>
Events surrounding the meditation area (touched by hero):
Trigger condition: switch Meditate is on
<>switch operation: turn switch Interrupt Meditation on
Parellel process event:
Trigger condition: Timer is 0 mins and 0 secs
Trigger condition 2: Switch Meditate is on
<>conditional branch: switch Interrupt Meditation is off
<>change skill: Add [skill] to hero
else:
<>message: You wasn't concentrated enough!
Logged
Slayer004_69
Member
Initiate
Posts: 81
(No subject)
«
Reply #6 on:
July 25, 2005, 09:35:43 PM »
i did exactly what u wrote...and it doesnt work...*-)
Logged
I'm the master of Pedegrees
Slayer004_69
Member
Initiate
Posts: 81
(No subject)
«
Reply #7 on:
July 27, 2005, 02:32:00 AM »
do anyone got other ideas ? ( sorry for double posting )
Logged
I'm the master of Pedegrees
WarxePB
Action Sue
Royal
Posts: 3,601
What killed the dinosaurs?
(No subject)
«
Reply #8 on:
July 27, 2005, 02:45:42 AM »
Create 2 Parallel Process events. Insert the following code into the events:
Event 1:
<>Key Input: Var[0721]
<>Branch if Var[0721: MEDITATE] is 1 or more
|<>Branch if Var[0720:MINUTES] is 5
||<>You learned (spell)!
||<>
|<>Else Handler
||<>You couldn't concentrate enough.
||<>
|<>End
|<>
<>End
<>
Event 2:
<>Wait: 0.1 sec
<>Variable Operation: Var[0718: M-SECONDS] +, 1
<>Branch if Var[0718: M-SECONDS] is 10
|<>Variable Operation: Var[0718: M-SECONDS] Set, 0
|<>Variable Operation: Var[0719: SECONDS] +, 1
|<>Branch if Var[0719: SECONDS] is 60
||<>Variable Operation: Var[0720: MINUTES] +, 1
||<>
|<>End
|<>
<>End
<>
I don't see why Sephy's won't work for you, but try this anyways and see if it works.
Logged
Blog:
The Gigaverse
Twitter:
Initial Chaos
Slayer004_69
Member
Initiate
Posts: 81
(No subject)
«
Reply #9 on:
July 27, 2005, 02:56:33 AM »
maybe we dont use the same RPG maker *-)..but hm, i got a question....what ya mean by : key input ^^'' sory for that... cause i dont think we use the same...and the terms are diferent maybe
Logged
I'm the master of Pedegrees
WarxePB
Action Sue
Royal
Posts: 3,601
What killed the dinosaurs?
(No subject)
«
Reply #10 on:
July 27, 2005, 02:57:55 AM »
Key Input = Password. And Branch = Fork. Sorry about that.
Logged
Blog:
The Gigaverse
Twitter:
Initial Chaos
Slayer004_69
Member
Initiate
Posts: 81
(No subject)
«
Reply #11 on:
July 27, 2005, 03:14:39 AM »
ok, i did all u said, but hm, ( i didnt test it ) hm...will it be on a specific spot? or it will be wherever my hero is in the map?
Logged
I'm the master of Pedegrees
WarxePB
Action Sue
Royal
Posts: 3,601
What killed the dinosaurs?
(No subject)
«
Reply #12 on:
July 27, 2005, 03:16:22 AM »
Wherever he is. It might be a good idea to make both events activated by a switch, and then turn the switch on when you're staritng to meditate.
Logged
Blog:
The Gigaverse
Twitter:
Initial Chaos
Slayer004_69
Member
Initiate
Posts: 81
(No subject)
«
Reply #13 on:
July 27, 2005, 03:17:10 AM »
yea...yea...
, good idea, ill do that, now i will test it
Logged
I'm the master of Pedegrees
Slayer004_69
Member
Initiate
Posts: 81
(No subject)
«
Reply #14 on:
July 27, 2005, 03:30:13 AM »
just a question...and u said : 1 or more, did u mean : "above" or "bigger" ?
hmm well...it didnt work ( with above )...
....so i dont think it will work with "bigger"...
Logged
I'm the master of Pedegrees
Print
Pages: [
1
]
2
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Someone know how to do that?