Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Help a brotha out (event problems in RPGVX)

Wassup,What's happenin?   I kinda need help eventing for my game,Simple Gears(interested,then click user bar in my sig).

I wanted to find a way to make it so that cars come out randomly(as well as people) from certain points.  Only problem is, when I tried to event it(which has lasted 2 weeks, and has really frustrated me), the cars and peoople stay there.  They just stand there.  I wanted it so they move from one sspot, to another, and disappear(a really good example of this is the game Idolcraft in Completed Games.)

  Another thing , I'm using a evented radio system.  One of the features that comes with this is the ability to hear the music from outside(like when a car with its volume on full blast comes by you.), where if the car touches a certain part (or comes by charcter), you hear the music, but as it passes, and eventually goes away, the music fades.  I think I have the fadein/out music thing right, but here's the thing: I cant seem to make it so that if the car reavhes a certain area, it'll do this.
      This has really brought out the beast in me, so I thought maybe it's time I made this topic.
  Any suggestions? I'd be more than welcome to shhow you how I put it up if necessary.
 
There is a "View Range" script somewhere out there with the music effect, it checks how far the player is from an event and plays music accordingly. Unfortunately, it was for XP, but you can always request a new one/edit.

As for cars, you can try multiple event pages and variables like so:
Code:
@>Control Variables: [Random] = Ran (0...3)
@>Conditional Branch: Variable [Random] = 0
  @>Set Event Location: This Event: (X,Y)
  @>Control Self-Switch A = ON
@>Conditional Branch: Variable [Random] = 1
  @>Set Event Location: This Event: (X,Y)
  @>Control Self-Switch B = ON
...etc

After setting all the self-switches, create new pages with those Conditions. Then use a Custom move route and specify the movement. At the end, when you want the car/person to disappear, simply use a "Change Graphic: None."

If you want the event to reset and go back to the first page after completing a move route, you can try replacing self-switches with a variable instead (you'll need one variable for each event). Then at the end of each Custom Move Route, have a "Wait: x frames" and then change that variable to 0.
 
Regi":163ajlz7 said:
There is a "View Range" script somewhere out there with the music effect, it checks how far the player is from an event and plays music accordingly. Unfortunately, it was for XP, but you can always request a new one/edit.

As for cars, you can try multiple event pages and variables like so:
Code:
@>Control Variables: [Random] = Ran (0...3)
@>Conditional Branch: Variable [Random] = 0
  @>Set Event Location: This Event: (X,Y)
  @>Control Self-Switch A = ON
@>Conditional Branch: Variable [Random] = 1
  @>Set Event Location: This Event: (X,Y)
  @>Control Self-Switch B = ON
...etc

After setting all the self-switches, create new pages with those Conditions. Then use a Custom move route and specify the movement. At the end, when you want the car/person to disappear, simply use a "Change Graphic: None."

If you want the event to reset and go back to the first page after completing a move route, you can try replacing self-switches with a variable instead (you'll need one variable for each event). Then at the end of each Custom Move Route, have a "Wait: x frames" and then change that variable to 0.
Ah, thank you Regi.  This was very useful.

@Unka Josh:If you have something to say otherwise,I'll put screenshots.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top