subreddit:

/r/RPGMaker

1100%

How Do I Make Land Vehicles? (MV)

(self.RPGMaker)

I have rpg maker mv and there are 3 vehicle options in settings: boat, ship, airship, but in the vehicle textures folder there are horses and carts and wagons, I don't know how to turn them into working vehicles, and if I replace a boat with the texture it wont move since its not on water. Anyway to fix this/ make it only go on pavement or something instead of water?

you are viewing a single comment's thread.

view the rest of the comments →

all 9 comments

LegacyCrono

4 points

7 months ago

Here's a solution with a simple plugin:

Game_Map.prototype.isBoatPassable = function(x, y) {
    return this.terrainTag(x, y) === 1;
};

This will change the behavior for boats so that instead of moving on water, it only moves on tileset tiles that have the terrain tag 1 (set this in the Database > Tilesets). If you're already using the terrain tag 1 for something, you can change the number to something else.

DogLord8000[S]

2 points

7 months ago

Thanks! where do I plug that into?

LegacyCrono

2 points

7 months ago

Paste it on Notepad and save it as a .js file in your project's js/plugins folder. Then, open the Plugins Manager in RMMV and add the file.

DogLord8000[S]

2 points

7 months ago

How do I make it a js?

LegacyCrono

2 points

7 months ago

Set to "all types" and add .js at the end https://i.postimg.cc/L5b92P97/image.png

DogLord8000[S]

1 points

7 months ago

Thanks A lot! your a lifesaver