Coolie 148 Posted December 2, 2012 (edited) Land Vehicle v1.07 By: William Couillard (Coolie) Last Update: September 29th, 2021 This script allows you to change the "Boat" vehicle into a land vehicle capable of traveling on the same terrain that the player is able to. You can opt to keep random encounters on or off (you can change this for the other vehicles, also), as well as choose whether or not touch events (including teleports) or action button events (pressing a button to start an event) should still process while piloting the vehicle. You can also set the movement speed of the vehicle. Screenshot(s) Features Changes the "boat" vehicle to be changed to travel on land Customizable land vehicle speed Allow or disallow touch events from processing while driving the land vehicle Allow or disallow action button events from processing while driving the land vehicle Allow or disallow enemy encounters from processing while driving the land vehicle, ship, and/or airship Land Vehicle will only animate while moving Ship and Airship still animate while idle Special Thanks Galv (1.01 compatibility help) MrTrivel (1.04 feature help) Chigoo (1.06 feature help) Script Link http://pastebin.com/aSFvZiY1 Compatibility Patch Script: Land Vehicle v1.07 & Galv's Vehicle On/Off Locations http://pastebin.com/3FC5Cxyb Edited September 29, 2021 by Coolie Script Update 2 Share this post Link to post Share on other sites
Rasphere 0 Posted December 2, 2012 In using this script would still be possible to have a boat? Like if I want a chocobo and then at a later time still use the boat to cross an ocean? Share this post Link to post Share on other sites
Coolie 148 Posted December 2, 2012 Yes, this script does not change how the Ship or Airship vehicles function. It only changes the Boat vehicle. Share this post Link to post Share on other sites
DarkDevilz 0 Posted December 2, 2012 humm.. this script make like an amphibious vehicle? can move on land and water? or just change the boat to moving on land?? Share this post Link to post Share on other sites
Coolie 148 Posted December 2, 2012 humm.. this script make like an amphibious vehicle? can move on land and water? or just change the boat to moving on land?? It alters the mechanics of the default Boat to move on land only. Share this post Link to post Share on other sites
estriole 326 Posted December 3, 2012 @rasphere: just want to help you clear things up. basically ace have 3 vehicle : boat, ship, and airship this script change boat to land vehicle ONLY. if you want to travel in water. you still have ship for that. the reason why william c create this script maybe because he think boat and ship almost have the same function. so why need 2 water vehicle? why not convert one to land vehicle? Share this post Link to post Share on other sites
Coolie 148 Posted December 3, 2012 ^ Exactly, and I needed a Land Vehicle for my project, as shown in the screen shot. 1 Share this post Link to post Share on other sites
DarkDevilz 0 Posted December 3, 2012 oh... just make boat be a car???? LoL i think it's make an amphibious vehicle say... nice script, later i'll try for my other project Share this post Link to post Share on other sites
Eurgh 0 Posted December 5, 2012 Script 'Land Vehicles' line 66: SyntaxError occured. unexpected ';', expecting ')' check_passage(x, y, (1 << (d / 2 - 1)) & 0x0f) any suggestions? Share this post Link to post Share on other sites
DP3 188 Posted December 5, 2012 Replace the & with an & it's some weird formatting where the site replaces the symbol, not the scripters fault Share this post Link to post Share on other sites
Coolie 148 Posted December 5, 2012 (edited) Hmm... perhaps I should put these on Pastebin and link from here from now on. http://pastebin.com/aSFvZiY1 Edited December 5, 2012 by William C Share this post Link to post Share on other sites
andrex1212 0 Posted December 6, 2012 This is great, thanks a lot for the script. This is something I needed for my game as well, so kudos! Share this post Link to post Share on other sites
amerk 1,122 Posted December 7, 2012 It boggle the mind how EB has not caught on as of yet that land travel is just as important as all other forms... especially when they include horses in their list of vehicles! I still think boat is necessary for rivers to make games similar to Final Fantasy, but not so much as having land vehicles. Thanks for this. Share this post Link to post Share on other sites
Magna8Z 0 Posted December 9, 2012 can you make a demo for this? I always got the line 95 error,I don't know what to put for x and y Share this post Link to post Share on other sites
EternalShadow 28 Posted December 9, 2012 I'd use this, but Zen 2 has no world map! Nicely done. Share this post Link to post Share on other sites
Coolie 148 Posted December 9, 2012 can you make a demo for this? I always got the line 95 error,I don't know what to put for x and y Can you tell me the exact error message? Share this post Link to post Share on other sites
thegilroy 3 Posted December 9, 2012 I have an idea that may be helpful if you can get it to work. Instead of the land vehicle being limited to the same terrain as the player, it would be cool if it could travel terrain that the player cannot. For example, in order for a player to travel through a forest he must enter a map of the woods and physically find a way through, but the chocobo or another land vehicle allows them to run through the forest on the world map with needing to physically go into the forest. Does that make sense? Share this post Link to post Share on other sites
Coolie 148 Posted December 9, 2012 It can already do that. It turns touch events into "Below Hero" events that do not activate while riding it. You can set "Same Level as Hero" events to create tiles that the vehicle cannot ride through. Share this post Link to post Share on other sites
ninjalex 0 Posted December 11, 2012 (edited) http://i569.photobucket.com/albums/ss133/ninjalex926/Capture.png I am getting this error. I am using " Galv's Vehicle On Off Locations" as well so I'm not sure if the two are not compatible or it's something else. Edited December 11, 2012 by ninjalex Share this post Link to post Share on other sites
Coolie 148 Posted December 11, 2012 That's probably exactly what it is. When used alone, there is zero chance of this script causing any errors. Share this post Link to post Share on other sites
Galv 1,388 Posted December 11, 2012 Had a quick look. William overwrote a default method for the boat that my script uses. Add this below both scripts. This should make them compatible: class Game_Player < Game_Character def map_passable?(x, y, d) case @vehicle_type when :boat $game_map.boat_passable?(x, y, d) when :ship $game_map.ship_passable?(x, y, d) when :airship true else super end end end Share this post Link to post Share on other sites
Coolie 148 Posted December 11, 2012 (edited) Had a quick look. William overwrote a default method for the boat that my script uses. Add this below both scripts. This should make them compatible: class Game_Player < Game_Character def map_passable?(x, y, d) case @vehicle_type when :boat $game_map.boat_passable?(x, y, d) when :ship $game_map.ship_passable?(x, y, d) when :airship true else super end end end ::thumbsup:: Added a pastebin link to the original post for anyone else who may need this. Thanks Galv. Edited December 11, 2012 by William C Share this post Link to post Share on other sites
ninjalex 0 Posted December 11, 2012 (edited) That's probably exactly what it is. When used alone, there is zero chance of this script causing any errors. I just took the "Galv's Vehicle On Off Locations"script out and I am still getting the same error. Edit: Never mind it works! Thank you guys for yah help Edited December 11, 2012 by ninjalex Share this post Link to post Share on other sites
Bleeps88 0 Posted January 30, 2013 (edited) I'm looking for some help.I am getting the exact same error message as shown in Ninjalex's screenshot http://i569.photobuc...926/Capture.png I do not have any other custom scripts added. Edited January 30, 2013 by Bleeps88 Share this post Link to post Share on other sites
Coolie 148 Posted January 30, 2013 I'm looking for some help. I am getting the exact same error message as shown in Ninjalex's screenshot http://i569.photobuc...926/Capture.png I do not have any other custom scripts added. Script updated to version 1.02 to fix this error. Share this post Link to post Share on other sites