Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [Eventing]Extra land vehicle, an eventers guide to an extra vehicle with demo
Mr_E_Man
post Jun 27 2008, 05:00 PM
Post #1


Level 8
Group Icon

Group: Revolutionary
Posts: 124
Type: Event Designer
RM Skill: Skilled




1. Create a new event. Put the priority below the player and have the trigger be player touch. The graphic for this event should be the graphic for your new vehicle.

2. In your list of event commands, set a move route. The target of the move route should be the player. Choose the change graphic option and set it to change the player's graphic to that of the vehicle. You can choose to adjust the player's speed here too.

3. After that, insert a switch control. Create a new switch and call it PimpMobile. Set it to on.

4. Create a new event page with the condition that PimpMobile is on. Set the priority to below the character, set the graphic to nothing, and the trigger to parallel process.

5. On this new event page, set up a conditional branch with the condition of a specific button pressed. You will hit this button to get out of the vehicle.

6. In the conditional branch, put in a control variables. Create a new variable called HeroX and set it to the player's X coordinate. Create a second variable and call it HeroY. Set it to the player's Y coordinate.

7. Below the variable adjustments, insert a set event location. Use the variables you just created to set the event's X and Y coordinates.

8. Create a new move route. The target should again be the player. Use the change graphic option to change the hero back and return her to a normal speed. Then, have the hero take 1 step back.

9. Insert a switch control and turn PimpMobile off.

If I wrote this properly, the hero should be able to step onto the vehicle and appear to enter it. When the player presses a certain button, the hero will turn back and step off/out of the vehicle.

This only works to create vehicles that have the same passability as the hero. It would be good for something like a horse, cart, car, etc.

If you want your player to be able to change maps while in the vehicle, just place this event on the new map. Because PimpMobile is on, the event should be on the second page, invisible and waiting for the hero to exit the vehicle.

Enjoy.



You get extra points if your extra vehicle is actually a pink caddy with 20" spinners, hydraulics, a fuzzy, white-tiger print interior, and plays low rider while you're cruisin'.

You'll get even more points if it goes in a sword and sorcery game and nobody thinks it's strange or out of the ordinary.



Demo available here:

http://www.mediafire.com/?wdyjh2mjyy4


__________________________
We exist within all things and all things exist within us... it's very crowded.
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th May 2013 - 03:40 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker