map damage and timed events?

Discussion in 'RPG Maker VX Ace' started by Mrpaulyshore, Apr 14, 2014.

  1. Mrpaulyshore

    Mrpaulyshore Veteran Veteran

    Messages:
    76
    Likes Received:
    1
    First Language:
    english
    Hi! I am making a scenario where my characters are trapped in a fire maze and they have a limited time to get out. I need to know how to set a timer so if you fail to make it out in time the game ends. I also want to know to make the fire icons on the map damage your characters.

    Thanks in advance!
     
    #1
  2. whitesphere

    whitesphere Veteran Veteran

    Messages:
    1,688
    Likes Received:
    783
    Location:
    Somewhere on Earth
    First Language:
    English
    There is a built-in Timer.  What I'd do is this:

    1. Create a Common Event, called "TimerExpire"    This event would have a single Condition which checks to see if the timer is on.  If the timer is on, this would end the game when the time limit is reached, possibly displaying a text message beforehand such as "The party died in the fire"

    2. Set the Game timer to the desired amount of time and start the timer.  This will display the time used so far.

    3. When your party reaches the maze, have a hidden, autorun event start the Timer.  Then, have the event start the TimerExpire event as a Parallel process when your party reaches the fire maze.  

    This way, the TimerExpire event will keep checking the time remaining.

    Personally, if I made a fire maze, I'd have the maze continually damage the party, with the game over coming when the party dies from loss of HP.  This gives the player some time to think but the player would have to consider the best way to get out of the maze.

    To do this, set the Fire tiles to be damage producing tiles.  So the party would take damage with each step...

    Or, you could use both, but I'd say the timer would be enough if you want a game over within a time limit.
     
    Last edited by a moderator: Apr 14, 2014
    #2
    shushcat likes this.
  3. Mrpaulyshore

    Mrpaulyshore Veteran Veteran

    Messages:
    76
    Likes Received:
    1
    First Language:
    english
    dayum..your good thank you so much!!
     
    #3
  4. Mrpaulyshore

    Mrpaulyshore Veteran Veteran

    Messages:
    76
    Likes Received:
    1
    First Language:
    english
    Not to double post, But I have no idea what a producing tile is?? I am a noob at this so i need more of a detailed explanation for everything
     
    #4
  5. whitesphere

    whitesphere Veteran Veteran

    Messages:
    1,688
    Likes Received:
    783
    Location:
    Somewhere on Earth
    First Language:
    English
    A "damage producing tile" causes your party to take damage when they walk across it.  In most RPGs, this is something like the Poison Swamp (the purple blobs in the default tileset).  In real life, it would be like walking across, say, a section of floor which had long metal nails sticking out of it.  

    In your case, I think it's fair and reasonable to say fire would hurt people who walk through it.  

    Basically, every party member takes some damage with each step across the damage producing tiles.  So if they started with, say, 100 HP each, if the tile took 5 HP with each step, and the party walked over 4 of these tiles, each party member would only have 80 HP after walking on the tiles.  This simulates the danger of the area.  

    Another way to do it is to have a Parallel event (one which is executed periodically by the game itself) which checks the Region ID of the party's current tile.   If your party is standing on a tile with the "fire" Region ID, they take damage.     A Region ID is just a number, from 1 to 64, associated with the current map tile.

    You set Region IDs for your map by pressing F7 on the Map screen.  Then you draw with one of the numbers.  This sets the Region ID for the tiles you select. Regions represent different types of terrain, and can be used so the enemies in random battles  match the terrain --- scorpions in the desert, yetis in the snow, etc.  

    This use of Region IDs allows you to have a "fire maze" with some cool spots, such as inside a small alcove or something.
     
    #5

Share This Page