DKTools Custom Vehicles

Title: Custom Vehicles

Version: 1.1

Author: DK

Site: DK Plugins

Description:
Adds land vehicles

Requirements and dependencies:
  1. Availability of working plugin DKTools version 0.99 or above
  2. Version of RPG Maker 1.5+
Features:
  • Creating an unlimited number of land transport
  • Setting speed, starting position, graphics, regions and BGM
  • Plugin commands for changing transport parameters
  • Turn on switch when transport is using
Download: https://dk-plugins.ru/mv/map/custom-vehicles/
Plugin updated to version 1.1
Added the ability to turn on the switch when using transport
Amazing, that’s really useful. How hard would it be to add complete vehicle physics? Like acceleration, steering, etc 🙂
Amazing, that’s really useful. How hard would it be to add complete vehicle physics? Like acceleration, steering, etc 🙂
Complete physics will be difficult to implement, but, for example, acceleration is quite possible.
For example, if you use a gamepad that has triggers (like Xbox Gamepad) for a game, then you can use the trigger force to smoothly increase the speed.
I'll think about this function 🙂
Complete physics will be difficult to implement, but, for example, acceleration is quite possible.
For example, if you use a gamepad that has triggers (like Xbox Gamepad) for a game, then you can use the trigger force to smoothly increase the speed.
I'll think about this function 🙂
Oh, that's good to know! Yep, I would love to have acceleration! As do other people 🙂 Thanks for considering and good luck!
l
Hi,

I noticed a bug : the vehicle can ride on the roofs.

Here is the correction I propose :
Replace lines 563 to 567 :
if (_.isFinite(regions)) {
return $gameMap.isPassable(x2, y2) && $gameMap.regionId(x2, y2) === regions;
} else {
return $gameMap.isPassable(x2, y2) && (regions.contains($gameMap.regionId(x2, y2)) || regions.contains(0));
}
with :
if (_.isFinite(regions)) {
return $gameMap.isPassable(x, y, d) && $gameMap.isPassable(x2, y2, this.reverseDir(d)) && $gameMap.regionId(x2, y2) === regions;
} else {
return $gameMap.isPassable(x, y, d) && $gameMap.isPassable(x2, y2, this.reverseDir(d)) && (regions.contains($gameMap.regionId(x2, y2)) || regions.contains(0));
}
I have alot of plugins operating my vehicles so i'll be experiementing with this one, I could perhaps use multivehicles so i'm following this topic 🙂

Original thread: https://forums.rpgmakerweb.com/threads/dktools-custom-vehicles.67247/