Turn a mining cart into a vehicle you can ride on mine tracks

What would be the easiest way to achieve this ? 
Go into the system setting section of the eventing pages (page 3). There is a setting to change vehicle image. Change the image to the mine cart. On page 2 of the eventing is where you can set your vehicle location. There ya go. Now, if you didn't want to use one of your vehicles for this you could set up an event that turns the character transparent and move it along with the minecart. You could also do a autorun event where you remove all characters from the party, set the vehicle as a member of the party, then automatically move it down the tracks. When you get off you can remove the vehicle and replace the characters. If you want the player to move the mine cart, you can do the above step, but simply remove menu access.

Was any of this helpful? I tried to give several options.
If you want the player to move the mine cart, you can do the above step, but simply remove menu access.
 
This won't work if she sets up the event to trigger as an autorun and an autorun event will trigger after loading the map and not when interacting with the cart. Vehicles, on the other side, don't just walk on the ground because you set them to have a ground vehicle graphic. Anyway adding few modifications to these options make them a valid choice.


Forgive me if the post is very long but you can just read the part you need.

CART AS A VEHICLE
Spoiler
Vehicles works their own way. If you want a boat to move on the ground you have to set up your tileset properly since boat and ship can only move in the water and airship is not good for that since it can override the X passability and the player would be able to walk on the ground while on the cart (this just to avoid mentioning the lifting animation, an airship cart flies).

The best way to do it is creating your own tileset for that map and set the cart as a vehicle (boat) as DBDragoner said. To do so you have to put your railway as the first A1 tile and the boat will walk on it for sure.


IMPORTANT: A1 tiles are animated tiles, since your railway is static be sure you copy-paste it in the whole animation or your terrain appearence will change over time.
CART AS AN EVENT
Spoiler
If you don't know how to create your own tileset or if you don't want to, you can use an event. The event should have the chart graphic with the "Fixed direction" option checked (we don't want the cart to turn when the player interacts with it) and should have a priority "Same as characters". When interacting with it you have few options: remove a party member, add the cart as a party member as DBDragoner said, remove the other party members and let the cart walk or you could change player followers to OFF and change the 1st actor graphic to be a cart graphic. In the end, the event should turn a switch ON so you can use a Common Event that is a parallel process and triggers when the switch is on. The event should check if a certain button is being pressed. If yes it should transfer the cart event to the player location, change player graphic (or add party members back to the party), and transfer the player on the ground.

You don't necessary need a Common Event to do that, if your cart is not allowed to walk across different maps you could set the switch to be a Self Switch for the cart event and set the parallel process to be the second event page (no event graphic here) with a condition "Self Switch A is ON".


Anyway if you use the Common Event you need a cart event in every map to transfer when the player dismounts.
 
ISSUES TIME

Here you can find few issue you could run into and ways to fix them. If you want your game to be realistic then you should give it a look. If you only want to create a simple cart, no matter what, then you can skip this.

Spoiler
The best option, in my opinion, is the custom tileset with the cart set as a vehicle. Keep in mind that unless your railway is a straight line you have to use a graphic that changes according to the direction the cart is facing. If so you could have a problem: if the player faces the wrong direction, the cart will turn. This is not much realistic, is it?

NOTE: if you use the event option you should have either an O passability for the railway with only 2 directions allowed in the "4 direction" passability tab OR an identical tileset where ground passability is set to X and railway passability is set to O. In this last case you have to add the option to change map tileset to the event.


Changing tileset allows you to have a more realistic environment where you can actually walk on the rails when not on the cart. Not changing the tileset requires less efforts.


How to avoid the previous issue

If you don't want the player to control cart movement you could just set the second page to be an autorun event (instead of parallel process) and move the cart without player's help. This way you avoit the cart turning problem. (this works for the event option but with few modifications it could work for the vehicle option as well)

If you want the player to control the cart then you sohuld add a parallel process that checks player position storing it into variables and changes actor graphic according to the rail direction in that specific position.

Change actor graphic: to do or not to do

Spoiler
If you set the cart to be an event then HOW you do it makes the difference. Here hare few pros and cons for eahh option.

Add Cart Character

  • PROS: a cart chacter can be a condition for other events (for example you can use it as a condition for the parallel process that checks the button to dismount).
  • CONS: you have to disable menu access, difficult to handle (you have to store party formation somewhere and set it back once the player "dismounts"), you have to disable encounters when the player is on the cart.
Change Actor Graphic
  • PROS: the player can fight even when on the cart, easier to handle (you can just change ALL actors graphic and set it back, you don't have to store party formation), you don't have to disable menu access.
  • CONS: you cannot use the cart as a condition for other events and you have to use a switch.

I hope this helps and I hope I just wrote all you need...
alot to read and test out, all of it is helpful I assure you. thanks a bunch !!!

Original thread: https://forums.rpgmakerweb.com/threads/turn-a-mining-cart-into-a-vehicle-you-can-ride-on-mine-tracks.50368/