MV/MZ SDJB_MoreCustomVehicles

PluginName: SDJB_MoreCustomVehicles
Author: ShadowDragon

while its in heavy WIP as a challenge by @Solar_Flare

Create as many vehicles as you like, and use their custom objects available.
relocate, set, summon vehicles.

Each vehicle board from each side, or just sideboard.

Read the helpfile, for full instructions what is available.

Spoiler: Helpfile
Code:
 Introduction
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 This plugin introduces a completely separate custom vehicle system.
 Default RPG Maker vehicles (Boat, Ship, Airship) are NOT modified
 and will continue to work exactly as in the base engine.

 Custom vehicles are independent, with their own mechanics and
 movement system, enabling fully customizable vehicles with features
 beyond the default system.

 Default engine behaviors:
 → Vehicle direction is not saved when exiting
 → Airships are boarded from above
 → There is no land vehicle type

 Custom vehicle improvements:
 → Direction is saved when exiting
 → Airships use a dynamic altitude system and can be boarded like
   boats/ships (side boarding)
 → Land vehicles introduce a new type that behaves like the player
 → Additional mechanics for boats and ships

 Some features are marked PRO and only function in the paid version.


 Features
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 → Create Land Vehicles (player-style movement)
 → Create Boats, Ships, and Airships
 → Individual Side boarding for all vehicle types
 → Individual vehicle speed
 → Individual speed modifiers (PRO)
 → Vehicle BGM (per vehicle)
 → Vehicle fuel system (PRO)
 → Vehicle key requirements (PRO)
 → Vehicle battlebacks (PRO)

 Airships include a dynamic altitude system:
 → Altitude affects airship height and perspective
 → Higher altitude scales the airship larger
 → Shadow scales smaller with altitude
 → Map depth adjusts for flying height
 → Regions can block specific altitude levels

 Fuel (PRO) can scale consumption based on altitude.


 Fuel System (PRO)
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Under construction and coming in a future update.


 Vehicle Keys (PRO)
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Under construction and coming in a future update.


 Speed Modifiers (PRO)
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Under construction and coming in a future update.


 Vehicle Battlebacks (PRO)
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Under construction and coming in a future update.


 Vehicle Interaction
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Vehicle transfers and interactions are controlled via either
 event note tags or comment tags:

 <allow vehicle>   => Any vehicle can interact
 <allow land>      => Only land vehicles can interact
 <allow boat>      => Only boats can interact
 <allow ship>      => Only ships can interact
 <allow airship>   => Only airships can interact

 Boolean addon (optional):

 <allow … true> → Vehicle and player can interact
 <allow … false> or omit → Only the specified vehicle(s) can interact

 Example:
   <allow land true>  => Land vehicles and player can interact 


 Vehicle Trigger Priority
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 RPG Maker events can use three priority types:

 Below Characters
 Same as Characters
 Above Characters

 When the parameter "Vehicle Type Triggers" is enabled,
 custom vehicles interact with events based on realistic
 physical behavior:

 Land / Boat / Ship
 → Can trigger events:
   Below Characters
   Same as Characters
 → Cannot trigger events:
   Above Characters

 Airships
 → Can trigger events:
   Above Characters
 → Cannot trigger events:
   Below Characters
   Same as Characters

 If the parameter is disabled, vehicles can trigger events
 using any priority type.


 Scriptcalls
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Relocate a vehicle to a specific map position:
   $gameSystem.relocateCustomVehicle(index, mapId, x, y);

 Examples:
   $gameSystem.relocateCustomVehicle(4, 1, 10, 15);
   $gameSystem.relocateCustomVehicle("Speedboat", 1, 10, 15);
   $gameSystem.relocateCustomVehicle("Speedboat", this._mapId, 10, 15);


 Set the vehicle location on the current map:
   $gameSystem.setCustomVehicleLocation(index, x, y, mapId);

 Examples:
   $gameSystem.setCustomVehicleLocation(4, 12, 18);
   $gameSystem.setCustomVehicleLocation("Speedboat", 12, 18);
   $gameSystem.setCustomVehicleLocation("Speedboat", 12, 18, 5);


 Summon a vehicle near the player:
   $gameSystem.summonCustomVehicle(index, options);

 index = vehicle ID or vehicle name

 Options:
 → board        => Board immediately after summoning (default: false)
 → permanent    => Vehicle remains on the map (default: false)
 → exitDespawn  => Vehicle disappears when exiting (default: false)

 Examples:
   $gameSystem.summonCustomVehicle(4, {
       board: false,
       permanent: false,
       exitDespawn: false
   });

 Short version:
   $gameSystem.summonCustomVehicle("Speedboat", { board: true });

 
 Checking Vehicle State
 ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
 Returns true/false depending on whether the player is inside a custom vehicle:
   $gameSystem.isInCustomVehicle(type)

 Examples:
   $gameSystem.isInCustomVehicle()
       => true if in any custom vehicle
   $gameSystem.isInCustomVehicle("ship")
       => true if driving a ship

 Valid vehicle types:
   "land"
   "boat"
   "ship"
   "airship"

 If omitted, all vehicles are checked.


=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB


=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.

(require my base plugin (SDJB_Base or SDJB_BaseMVZ (minified version))
leave Feedback and or suggestions.

Download from itch.io
Updated with a very early alpha built to test it out.
can be used in NON-Commercial only at this point.

Please leave suggestions or feedback behind to make the best vehicle
available for use and what you want to see back on it.

Parameters that does nothing (like vehicle Key, fuel is intentional).
as they aren't implemented yet, as I want the full basic function before they
are added in.
This looks very interesting. I have downloaded it, and might try it in my most recent "finished" project (which is an MV one). In it, the father of one of the party members gives the party a tent that they can only use on the overworld map. It would fit the story if it was replaced by a horse-drawn wagon.
This looks very interesting. I have downloaded it, and might try it in my most recent "finished" project (which is an MV one). In it, the father of one of the party members gives the party a tent that they can only use on the overworld map. It would fit the story if it was replaced by a horse-drawn wagon.
if wagon is land, you can do so simply, as you can make each of the vehicles.

for now, each vehicle has to be made for the mapId, transfers that I think off, should
be added too cleanly for each vehicle, but I need to add transfer part as well to cross
different map while driving one.

so I set this on my TODO list after altitude is done, and fix transfer for a BETA release.
but this is really a pain to make, not sure why I took the challenge, as there wasn't one
that has full control of vehicles, so I just mess around what can be done ^^
I am having trouble getting a land vehicle to appear, using MV. There aren't any other plugins enabled except for your SDJB_Base and SDJB_MoreCustomVehicles.
Screenshot 2026-02-19 131012.png

I left the SDJB_Base parameters at their default values. I tried a few More Custom Vehicle parameters, but at the moment they are:
Screenshot 2026-02-19 131108.png

Screenshot 2026-02-19 131123.png

Everything seems self-explanatory. I tried starting the player on another map, they transferring the party to map 1 by a transfer event, but I still don't see the new vehicle.
Screenshot 2026-02-19 131202.png

Should I be using a script call or plugin command to call the vehicle? Is there a notetag that I should use on map 1?
Should I be using a script call or plugin command to call the vehicle? Is there a notetag that I should use on map 1?
if it works while starting on the map itself, than it is a transfer issue.
I didn't add any transfer or refresh mode on those.

and honestly, I didn't checked that, to add it to the map, transfer between 2 maps,
or start from another (that totally slipped between my mind), as I use 1 map for testing,
see if it works, make the vehicles work.

I will test this on my own end and see if I can replicate the issue (which should be).
I will be working on this as well, as mostly is taken from the vehicle, code to replicate
the effect.

so I have to check what I did wrong, and make some logs.

plugin commands/scriptcalls aren't added at this point to summon the vehicle
by its "id" or "name", even I have it partly coded with some of the features (fuel).

but fuel isn't entirely added yet, so I will work on it, but I have to wait for a little week
as I work on a different plugin as well that I made and extend it.

EDIT:
it seems to work on my end, but they are summoned on each map, even transfers.
so there is definitely a glitch to be fixed (will work on it).
I tried it on a brand new MZ project, with just one map, and only your two plugins (the base plus this one). It works!🙂 For a one-map project I didn't spot any bugs.

Next, I made a second map (a cave). The land vehicle appears on the world map where it is supposed to be. However, when I walked the party into the transfer to the second map, it also appeared there, in the same X and Y coordinates as it originally appeared on the world map. I could get the party on, and move the land vehicle, but when the party got off the graphic was replaced by nothing (it became invisible). It was still there; I couldn't walk the party through it, and I could get the party to get on and of it. (The party was invisible when they were on the land vehicle in the cave, but re-appeared when they got off.)

I edited the MV test project to make it just one map, but the land vehicle still didn't show up.

I realise that this is a work in progress, but I am very interested. I decided that my finished project isn't the best one to use this on because there are a few boat trips and sea voyages. I don't want to load and unload the land vehicle onto a boat or ship.

I will probably make my next project have just one land mass. I would want to use it in conjunction with a plugin that can either switch terrain tags or regions to be passible or non-passible because I would want the party to be able to go through woods on foot but not in a horse-drawn wagon. This is for the future; I have enough to do on my current projects at the moment so at the moment am just gathering ideas for it.
I tried it on a brand new MZ project, with just one map, and only your two plugins (the base plus this one). It works!🙂 For a one-map project I didn't spot any bugs.
I had no idea this worked in MZ to be honest.

but while the vehicle did spawn in MV (not tested in MZ as it may be different?)
but I'm surprised it works there, but plugin command wont work in MZ, so it should
be done with scriptcalls where MV can have plugin commands.

(I may need help with MZ plugin commands though, but this will be guesswork,
as I can't use MZ plugin commands in hybrid.


I edited the MV test project to make it just one map, but the land vehicle still didn't show u
this may be caussing if you use NWJS < 1.6.x or < nwjs version of 0.48.4 which I use
for MV.


and I could get the party to get on and of it. (The party was invisible when they were on the land vehicle in the cave, but re-appeared when they got off.)
for followers, it has gather followers from default, so I didn't test this, as I don't
use followers though, but I look into it later.

However, I did forgot a line in the creation which did summon on all maps,
and this is been fixed.

I also extend the summon, relocate and set the vehicle by id or name into the map
for gaining access (I just need to test them out if they work, so a new version will
be available as BETA version which has some fixes and improvements.

and alternated some function to be smarter for usage, so I do hope this one works
better, but while vehicles can't transfer yet (and get event notetags) to do so if they are allowed.

as if not added, they can't leave the map, but there is more testing required, so if you
want to help testing, I send you a DM with a new version.

vehicle transfer, BGM, Fuel, Key requirement is on the TODO list, but if you own MZ,
you can test it fully there as I can't be certain if hybrid is equal as it does miss features
based on the MV exe inside, running MZ core.

if it keeps working in MZ, I add an MZ tag to it so there is no error in the plugin manager.
for followers, it has gather followers from default, so I didn't test this, as I don't
use followers though, but I look into it later.

The followers seemed to be handled correctly, the followers being gathered when the party got on the vehicle. When the party got off, the followers appeared as the party were moved.

this may be caussing if you use NWJS < 1.6.x or < nwjs version of 0.48.4 which I use
for MV.

Must admit that I don't feel confident upgrading my nwjs version, as I am not sure what nwjs is. I have seen references to it on the forum, but some of the threads have been people having trouble after they updated it. The version of MV that I have is 1.6.1. I installed it when I got my "new" (second hand) laptop last year.

I had no idea this worked in MZ to be honest.

but while the vehicle did spawn in MV (not tested in MZ as it may be different?)
but I'm surprised it works there, but plugin command wont work in MZ, so it should
be done with scriptcalls where MV can have plugin commands.

(I may need help with MZ plugin commands though, but this will be guesswork,
as I can't use MZ plugin commands in hybrid.

vehicle transfer, BGM, Fuel, Key requirement is on the TODO list, but if you own MZ,
you can test it fully there as I can't be certain if hybrid is equal as it does miss features
based on the MV exe inside, running MZ core.

if it keeps working in MZ, I add an MZ tag to it so there is no error in the plugin manager.

I found quite a few MV plugins work on MZ, although some need FOSSIL for the plugin commands to be used. Many of the ones that don't seem to involve scenes, for instance Himeworks' Party Manager works but their Party Switching Scene doesn't.

I will have to try to find out how to do plugin commands for MZ. At least one of my MV plugins really needs it.

If you want your plugin tested on MZ, I will be happy to help.

Since getting MZ I have tended to use that more. I use MV to test things, and for maintenance of older projects. I would probably use MV for a project that has 6 battle party members, as I know how to make the battle menus work reasonably with MV. Other than that, I would be likely to use MZ for any new project.

By the way, there are a couple of other plugins that may be of interest:

https://dk-plugins.ru/land-vehicles/

This one does land vehicles, and is free for non-commercial projects. I tested it on MZ, there is help in English. I have a feeling it was originally written for MV, so I expect that it would work on MV.

The DK plugin lets you set regions that are passable by the land vehicle, and also regions that aren't. It lets you set a switch ON if the party is on the vehicle (useful if you want to stop the vehicle transferring to another map or enable extra choices on the main menu).

https://www.caspergaming.com/plugins/cgmz/customvehicles/

This is paid, and written for MZ. I don't know whether or not it would work on MV. This author's plugins usually need their core plugin to work as well. It says that it does land vehicles, and also extra boats, ships, airships.
The followers seemed to be handled correctly, the followers being gathered when the party got on the vehicle. When the party got off, the followers appeared as the party were moved.
this may be due MZ is probably handled different? I need to look at that one,
while I didn't expect MZ would work here. (for now, I focus on MV, and fix MZ later.


Must admit that I don't feel confident upgrading my nwjs version, as I am not sure what nwjs is. I have seen references to it on the forum, but some of the threads have been people having trouble after they updated it. The version of MV that I have is 1.6.1. I installed it when I got my "new" (second hand) laptop last year.
NWJS is how MV runs as well as MZ, MZ start with 0.48.4 so far I know, MV starts
with 0.29 (which is old version). upgrading nwjs is wise to 0.48.4 (equal as MZ)
as minimum or higher if you like (specially needed for steam achievements).

This one does land vehicles, and is free for non-commercial projects. I tested it on MZ, there is help in English. I have a feeling it was originally written for MV, so I expect that it would work on MV.
I did saw this one, but is only land vehicles, and extend "Game_Vehicles", same with
synrec (only 1 land) and one other that has it.

I don't know how far CGMZ goes with custom vehicles.

While i use my own Function (Custom_Vehicles), it has its own object.

saved direction, can be called by id, name, add fuel, require key, own bgm,
can summon (board it directly, and despawn it after, set vehicle and more.

even it gets it own altitude system (more dynamic and not by default).

but helping in MZ would be great.
Beta Version Released with a nice update and fixed airship exit among 2 other crucial fixes.

new:
relocate the custom vehicle to a new map
summon vehicle (can board instantly or not, despawn on exit or saved permanent.
set vehicle to a map.
while this works most for land, boat, ships, airship is still working its altitude.
x, y, direction are saved during transfer, (vehicle transfer is not yet possible).

while this is a BETA version, expect bugs, unwanted glitches as I test the basics in MV.
While it is confirmed it works in MZ (this may break or not) but it will be compatible
with MZ as well.

First Post is updated with the new version.
I have just had a very quick look at the land vehicle in the MZ test project. So far it looks promising.
The issue of the vehicle appearing on the other map is solved. The vehicle only appears in the cave when an event runs the code:

$gameSystem.relocateCustomVehicle("Vardo", 2, 10, 10);

If the vehicle is moved to the cave (map 2) without the party on, the vehicle works normally in the cave.

I added a river with a bridge to the world map. The land vehicle can cross the river at the bridge, but elsewhere (which is as it should be).

There is an issue when transferring the vehicle to the other map when the party is on the vehicle. If you use the above script call, it transfers the vehicle, but doesn’t take the party with the vehicle. (The party is invisible after that happens.) The party is left on the world map unless you transfer the party by the event command “Transfer Player” afterward.

If you use the editor command “Transfer Player” without using the code to transfer the party when it is on the vehicle, it transfers the party to the cave, but not the vehicle. As before, the party is invisible.
I intend to try out other types of vehicles, and have more than one of the same type, so expect another post from me within the next couple of days.
There is an issue when transferring the vehicle to the other map when the party is on the vehicle. If you use the above script call, it transfers the vehicle, but doesn’t take the party with the vehicle. (The party is invisible after that happens.) The party is left on the world map unless you transfer the party by the event command “Transfer Player” afterward.

If you use the editor command “Transfer Player” without using the code to transfer the party when it is on the vehicle, it transfers the party to the cave, but not the vehicle. As before, the party is invisible.
I intend to try out other types of vehicles, and have more than one of the same type, so expect another post from me within the next couple of days.
this is expected as if you see the description or what I wrote here:
(vehicle transfer is not yet possible).

it means, vehicle transfer isn't yet possible as I want to use event comment,
or event notetag (which used mostly to transfer player to a new map) to have
the tag <transfer vehicle> which allow them to use.

I added a river with a bridge to the world map. The land vehicle can cross the river at the bridge, but elsewhere (which is as it should be).
if those are events to create the brides, this may be blocked?
if its below, it should go over it (didn't test this), but same as character,
vehicle is blocked and interactions as well (may need parameter for this) to allow it,
or an even that has <allow vehicles> in order to interact with it as well.

but there is so many things to be done though and I work on airship altitude first,
so it allows different heights and not a single one. altitude heights is based
on regions (4 differents) so you can make things more dymanic.

so once I get the altitude working, I add the transfer ability as I don't know if it was
default possible, so I need to check how that works, so I can replicate it correctly.

I have just had a very quick look at the land vehicle in the MZ test project. So far it looks promising.
The issue of the vehicle appearing on the other map is solved. The vehicle only appears in the cave when an event runs the code:

$gameSystem.relocateCustomVehicle("Vardo", 2, 10, 10);

If the vehicle is moved to the cave (map 2) without the party on, the vehicle works normally in the cave.
does this mean the default parameter fails to place it in MZ?
The default parameter places your vehicles exactly where expected. This is true for both land vehicles and additional ships done with your plugin.

The bridge was just one of the RTP tiles from Sheet B of the overworld set. I have also tried a bridge that is an event, again a passable tile from Sheet B. The event bridge also let the land vehicle cross.

By the way, your ship works exactly the same as the default one except that background music isn't implemented yet for yours.

I will look at boats and airships. I understand that your airships are a work in progress.
Sorry about double-posting. ShadowDragon might not notice an edit.

Boats work fine. Your airship works fine, although, as you said, you haven't done the altitude yet.

I had a bit trouble when I tried to use a number as a vehicle name:
Screenshot 2026-02-22 200513.png

When I changed the name to "Dragon", it worked. I then tried changing the name of the second land vehicle to "75"; playtesting produced a similar error. When I changed the name of the second land vehicle again, to "Wagon 75", everything worked without producing an error.
calling the vehicle can be by name or its id, if you name is called "75"
which throw an error, this isn't tested, but can look at it.

see if I can replicate it in MV, when needed, I will patch this as well.
it is possible that just the string number is seen as id? but I do some tests
on it.
When I changed the name to "Dragon", it worked. I then tried changing the name of the second land vehicle to "75"; playtesting produced a similar error. When I changed the name of the second land vehicle again, to "Wagon 75", everything worked without producing an error.
I patched the number as I put it to lowerCase which names crashes on numbers.
so number was seen as "index" look up.

I alter it slight with the name hard parsing to string (toString().toLowerCase())
in order to make "33" stays "33" and not 33 without strings.

so this version should now work as expected with numbers as well as name.
This long hour fiddling and messing with it, the following is possible.

Before this version get released, I make the helpfile as most of the vehicle
functions is complete for free but far from done yet!

what is added:
- Vehicle BGM is now possible to use
- Dynamic Airship (in 4 max altitudes (1,2,3,4). base altitude is 12.
- Added shadow (with scale down (based on maxAltitude))
so max altitude 3 make it raise to 36 (12*3) up to 48 by default. (pro get it alter it (limited 10-18)
Aside from altitude raising nicely, this also "SCALE" it bigger by 0.08 by maxAltitude.
(0.08, 0.16, 0.24 and 0.32) respectively as a nice touch (as higher from the ground).

lastly, each airship on maxAltitute can have the passage blocked by regionId.
highest altitude can bypass lower tiers, but not vice versa, this make mountains
and big vulcano's blockable if you choose so.

different heights for different airships ^^

while I wanted to add zooming out when in airship won't work, I don't add it yet,
as I have no idea how to render the map cleanly outside. (this may be left out permanently!)

Release date, around end of this week.
Patches update (not updated in first post)
- fixed dashing in vehicles (so it behave as default
- block airship going outside of map (my mistake)
- able to check if player is in vehicle inside conditional branch.
either normal (for all) or check on type.

MZ has some issues I deal with currently to solve this.
MV is stable.
This plugin has a major update, and released for a "Gamma" version
in WIP and is stable.

fixed Notetag, comment tag for vehicles
while airship can scale, so does the map which give you a little more depth,
and wider visible landscape where you can go.

this is more for larger map, as small maps create a black border.
I don't know if this can be blocked!

there is lots of features, so once full testing is done in MV/MZ, this would be
the "free version" as Pro version get more features, for more flexible settings
to suit their game.

if you have trouble, issues, feedback, let me know (once stable enough,
it will be moved to itch.io.

this is still in WIP, so bugs can still happen and far from finished.

Original thread: https://forums.rpgmakerweb.com/threads/sdjb_morecustomvehicles.182469/