Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   RPGMaker (http://zelaron.com/forum/forumdisplay.php?f=188)
-   -   [RMBleh] Hey can someone help me? (http://zelaron.com/forum/showthread.php?t=45549)

Tyrix 2008-04-27 04:19 PM

[RMBleh] Hey can someone help me?
 
Well, i need some help with making an event timer.

what it is, i need my char to get from one side to the temple to the other in a set amount of time... And i need a timer that, when it runs out its game over. Can you tell me how please? i will be very grateful :D

Goodlookinguy 2008-04-28 06:51 AM

Quote:

Originally Posted by Tyrix
Well, i need some help with making an event timer.

what it is, i need my char to get from one side to the temple to the other in a set amount of time... And i need a timer that, when it runs out its game over. Can you tell me how please? i will be very grateful :D

What RPG Maker version are you using?

Goodlookinguy 2008-04-28 07:46 AM

Do tell, but it no longer matters. I'm guessing your using either RM2k3, XP, or VX. If 2000, then I have to install it sense I, for some odd reason, haven't installed it on my laptop.

---------
I am going to write out how a code would look when set as a code, not individual instructions on building it, unless you request that I do so. In order for me to do write those instructions step by step I need you to specify the RPG Maker version your using. (95, 2000, 2003, XP, VX).


Example of layout of code

Code:

EVENT 001 <== Event Name
-------- <== Break (Everything Below this needs to be made)
<>Message: Text  <== What actually needs to be made.

RPG Maker VX Instructions

PHP Code:

# File Begins Timer and Sets In Motion EVN 003 

Code:

EVN 001
--------
@>Comment: <!-- Code Begin -->
@>Text: -, -, Dark, Middle
 :        : You have 5 seconds to reach the other side.
@>Control Timer: Startup (0 min 5 sec.)
@>Control Switches: [0001: Define Time] = ON
@>

PHP Code:

# This Code Stops the Timer and Prevents EVN 003 from Executing 

Code:

EVN 002
--------
@>Control Timer: Stop
@>Control Switches: [0001: Define Time] = OFF
@>

PHP Code:

// IMPORTANT: Set "Trigger" to "Parallel Process". 
// IMPORTANT: Set Switch "0001:Define Time" to checked
// IMPORTANT: Hide the Event so that the player can't touch it
# Event Handles Timer and togles Game Over 

Code:

EVN 003
--------
@>Control Variables: [0001:Timer] = Timer
@>Conditional Branch: Variable [0001:Timer] == 0
        @>Game Over
        @>
 :        Branch End
@>


RPG Maker XP Instructions

PHP Code:

# File Begins Timer and Sets In Motion EVN 003 

Code:

EVN 001
--------
@>Comment: <!-- Code Begin -->
@>Text: You have 5 seconds to reach the
 :        : other side.
@>Control Timer: Startup (0 min. 5 sec.)
@>Control Switches: [0001: Define Time] = ON
@>

PHP Code:

# This Code Stops the Timer and Prevents EVN 003 from Executing 

Code:

EVN 002
--------
@>Control Timer: Stop
@>Control Switches: [0001: Define Time] = OFF
@>

PHP Code:

// IMPORTANT: Set "Trigger" to "Parallel Process". 
// IMPORTANT: Set Switch "0001:Define Time" to checked
// IMPORTANT: Hide the Event so that the player can't touch it
# Event Handles Timer and togles Game Over 

Code:

EVN 003
--------
@>Control Variables: [0001:Timer] = Timer
@>Conditional Branch: Variable [0001:Timer] == 0
  @>Game Over
  @>
 : Branch End
@>


RPG Maker 2003

PHP Code:

# File Begins Timer and Sets In Motion EVN 003 

Code:

EVN 001
--------
<>Comment: <!-- Code Begin -->
<>Message: You have 5 seconds to reach the
:        other side.
<>Timer 1 Operation: Set, 0M 05S
<>Timer 1 Operation: Start
<>Switch Operation: [0001: Define Time] ON
<>

PHP Code:

# This Code Stops the Timer and Prevents EVN 003 from Executing 

Code:

EVN 002
--------
<>Timer 1 Operation: Stop
<>Switch Operation: [0001:Define Time] OFF
<>

PHP Code:

// IMPORTANT: Set "Trigger Condition" to "Parallel Process". 
// IMPORTANT: Set Switch "0001:Define Time" to checked
// IMPORTANT: Hide the Event so that the player can't touch it
# Event Handles Timer and togles Game Over 

Code:

EVN 003
--------
<>Variable Oper: [0001:Timer] Set, Timer 1 Seconds Left
<>Branch if Var: [0001:Timer] is 0
        <>Game Over
        <>
: End
<>


Goodlookinguy 2008-04-29 07:26 AM

Hey Lenny, this should be added to the list sticked guides.

A lot of people are probably wondering how to go about making a timer for a castle and what not in their games for RM2k3-VX.


All times are GMT -6. The time now is 12:02 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.