Main Menu

[Resolved] How do I make a potion that has a duration effect

Started by 1wdc, September 28, 2008, 11:56:42 AM

0 Members and 1 Guest are viewing this topic.

1wdc

Okay here is my example:

I want to make a potion to increase a player's walking speed temporarily, however I can't figure out how to get it to stop after 2 minutes.

Help would be much appreciated :)

Holkeye

Post in the right fucking place, and maybe people won't ignore you.

1wdc

Be more friendly, and maybe you'd keep some members.

Holkeye

I guess its a good thing that I don't give a shit if you leave then, huh?

1wdc

#4
Calm down, the internet isn't serious business. Cut down on the crack and kindly tell people where to put their topics, especially if they're newer members and it was their first post.

No wonder this topic goes 23 hours without a new post.

modern algebra

23 hours? It's only been seven hours since you posted this topic

Anyway, I moved it to Tutorials. However, this will likely require a script, so post a topic in Script Request. Follow the stickied rules or else Falcon will get angry at you.

GilgameshRO

This doesn't require a script at all. You make the potion call a common event.
...wraghsasgs let me just make a demo or something. I'll post it here whenever I get around to it.

modern algebra

OH lol, sorry about that. I misunderstood the request: I shouldn't have redirected you to Scripts. Gilga is right.

codemeister1990the2nd

just set a timer for 2 minutes, increase the player walk speed, and voila
its all in events, gilga is right, use a common event
player walk speed is in set move route
(it could probably be more detailed in what I just said, but that's the basics)

modern algebra

I wouldn't use a timer, I'd use a wait command. Reason being only one timer can be active at a time, so you'd have to not use the timer for anything else or else disable use of the potion when another timer is active.

GilgameshRO

I was going to make an event for this real quick, but everything ends up being more complex in RMVX. The just of it is you need a looping wait with a variable, or one really really long wait, as well as a seperate event to change your movement speed with a conditional branch related to the variable, since any event altering your movement pattern shuts down your manual movement.

codemeister1990

a wait command might work, if made correctly, this is not an easy thing to create   :(
Tahl died when I got my WoW account activated lol
And I lost my GoE 1 & 2 unecrypted data when my backup harddrive died after I reformatted...go figure
-GoE http://rmrk.net/index.php/topic,30050.0.html
-GoE2 http://rmrk.net/index.php/topic,30045.0.html

Kokowam

20 x number of seconds = waiting # of frames, from what I remember. 1wdc, you just suck at RPG Making. Learn what each event thing does and THEN come to us for help. You don't even need to learn them. Just read.

modern algebra

There's no call for that mooface. I'm sure I could find some requests from you where the same advice could be given.

1wdc

Quote from: mastermoo420 on October 11, 2008, 02:53:27 AM
20 x number of seconds = waiting # of frames, from what I remember. 1wdc, you just suck at RPG Making. Learn what each event thing does and THEN come to us for help. You don't even need to learn them. Just read.
I do know what each event does, tried several different common events, lurked the forum, and have found nothing.

codemeister1990

Quote from: modern algebra on October 11, 2008, 04:04:32 PM
There's no call for that mooface. I'm sure I could find some requests from you where the same advice could be given.

:mex: VIVA LA HITLER XD
Tahl died when I got my WoW account activated lol
And I lost my GoE 1 & 2 unecrypted data when my backup harddrive died after I reformatted...go figure
-GoE http://rmrk.net/index.php/topic,30050.0.html
-GoE2 http://rmrk.net/index.php/topic,30045.0.html

GilgameshRO

#16



Jesus, that took all of two minutes and 30 seconds to make. The two minutes were to test it.
Have the speed potion call that first common event there.
The only issues are that it doesn't pause the timer during event scenes, and scenes that modify the character's speed will conflict with it, and I really don't feel like setting that up for you. It's not too hard, figure it out yourself.
These does, however, make it so that the timer resets if you use a second potion.

1wdc

That worked, thank you.

Sorry for the slow response, Oblivion + Spore can get addicting.

Kokowam

#18
Lol Spore gets old, quick. It is so boring once you reach creature stage.

Quote from: Seamus on October 11, 2008, 04:04:32 PM
There's no call for that mooface. I'm sure I could find some requests from you where the same advice could be given.
I'm actually going to try and find some of my requests, lol.

EDIT: I searched "request" from posts by me. Majority are talking about people and helping with requests. The majority of the remainder are non-RM questions, lol. The few that are are graphic requests that are obviously aren't on RMRK or that one help with scripting because it required using an obviously complex side-scrolling battle system. Lol.