Description
Adds different vehicles: cars, trucks, buses, planes, trains, services. Currently it has one car (bmw_118), bus (volvo) and truck (kamaz). This also introduces a bit API allowing to register a car used analogical parameters (see API Doc Reference below). Note, this mod is very WIP and being under active development stage and that`s why many planned features and content are missing.
Features
Realistic physics: smooth going/rotation, pushing off nodes (along y axis only).
Vehicles have own interiors.
Detailed models and textures.
Planned features
Add more cars, trucks, buses, planes, trains/trams, ships and many other.
Fix a bug when any vehicles just don`t go forward due to the immediate braking. HIGH PRIORITY
Pushing off the vehicles along X/Z axises.
More crafting ingredients. HIGH PRIORITY
Wheels and steering wheel animations.
Emitting the smoke.
Switching on/off internal lighting.
Fix calculating of position of each seat (it offsets each time when a player has got in). HIGH PRIORITY
+1 on nice coding and textures. The cars are too glitchy IMO at the moment, especially the bus, and driving is laggy. I know this is still WIP, so I really hope this will be THE car mod for Minetest :)
Red_King_Cyclops wrote:Is this mod going to replace the vehicles mod?
I hope it will! D00MED's code is too messy, in my opinion, perhaps accounting for the current state of the mod :(
Red_King_Cyclops wrote:Is this mod going to replace the vehicles mod?
Like what I consider. In any case, I want to try to make realistic physics and nice models and textures.
CalebJ wrote:+1 on nice coding and textures. The cars are too glitchy IMO at the moment, especially the bus, and driving is laggy. I know this is still WIP, so I really hope this will be THE car mod for Minetest :)
Red_King_Cyclops wrote:Is this mod going to replace the vehicles mod?
I hope it will! D00MED's code is too messy, in my opinion, perhaps accounting for the current state of the mod :(
Yes, I know they are glitchy. Also, regardless my *smart* code the vehicles don`t always rotate and change their movement path immediately while driving. However, the default boats do it on time.
yw05 wrote:I don't think you need to add trains or trams. AdvTrains is already advanced enough and also used on many servers.
I wanted to add trains used AdvTrains`s API. Just other models.
I would consider making this a fork/part of advtrains and not part of this mod. But more power to you, bullet train models are always welcome! We don't have enough! :)
I have finally made many fixations/optimizations of the API, it took much time to do it all. Also, the bmw 118 model & texturre have been changed!
Changed the bmw 118 model and texture, it has got look more realistic:
Added adv_vehicles.vehicle_stop() function that will be called in the globalstep. So, vehicle braking doesn`t depend on whether any player is sitting inside or not anymore.
Vehicle changes its moving direction correctly when it is rotating. It calls adv_vehicles.pave_vector() in the same globalstep now.
Added acc_vector_length option that passes to register_vehicle(). Now, the truck, bus and car have different acceleration.
Removed unnecessary player_eye_offset parameter from a table of register_vehicle(). Now, you need to use eye_offset field individually for each seat that offsets original player camera position along to given coords.
Commented & clarified each action happening in api.txt.
Extended the API Doc.
Probably there are other changes, but they`re very small and I can not remember them.
Description
Adds different vehicles: cars, trucks, buses, planes, trains, services. Currently it has one car (bmw_118), bus (volvo) and truck (kamaz). This also introduces a bit API allowing to register a car used analogical parameters (see API Doc Reference below). Note, this mod is very WIP and being under active development stage and that`s why many planned features and content are missing.
Features
Realistic physics: smooth going/rotation, pushing off nodes (along y axis only).
Vehicles have own interiors.
Detailed models and textures.
Planned features
Add more cars, trucks, buses, planes, trains/trams, ships and many other.
Fix a bug when any vehicles just don`t go forward due to the immediate braking. HIGH PRIORITY
Pushing off the vehicles along X/Z axises.
More crafting ingredients. HIGH PRIORITY
Wheels and steering wheel animations.
Emitting the smoke.
Switching on/off internal lighting.
Fix calculating of position of each seat (it offsets each time when a player has got in). HIGH PRIORITY
AsyncErr: Lua: Runtime error from mod 'adv_vehicles' in callback environment_Step(): ...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: attempt to perform arithmetic on local 'current_point_yaw' (a nil value)
stack traceback:
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: in function 'rotate_point_around_other_point'
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:115: in function 'pave_vector'
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:350: in function <...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:335>
...\minetest-5.8.0-win64\bin\..\builtin\common\register.lua:26: in function <...\minetest-5.8.0-win64\bin\..\builtin\common\register.lua:12>
AsyncErr: Lua: Runtime error from mod 'adv_vehicles' in callback environment_Step(): ...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: attempt to perform arithmetic on local 'current_point_yaw' (a nil value)
stack traceback:
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: in function 'rotate_point_around_other_point'
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:115: in function 'pave_vector'
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:350: in function <...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:335>
...\minetest-5.8.0-win64\bin\..\builtin\common\register.lua:26: in function <...\minetest-5.8.0-win64\bin\..\builtin\common\register.lua:12>
This mod has been already dead long ago, I don't work on it anymore. There is a much more stable and advanced another mod with an own API (automobiles pack by apercy): viewtopic.php?t=27698&hilit=Automobiles
AsyncErr: Lua: Runtime error from mod 'adv_vehicles' in callback environment_Step(): ...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: attempt to perform arithmetic on local 'current_point_yaw' (a nil value)
stack traceback:
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: in function 'rotate_point_around_other_point'
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:115: in function 'pave_vector'
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:350: in function <...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:335>
...\minetest-5.8.0-win64\bin\..\builtin\common\register.lua:26: in function <...\minetest-5.8.0-win64\bin\..\builtin\common\register.lua:12>
This mod has been already dead long ago, I don't work on it anymore. There is a much more stable and advanced another mod with an own API (automobiles pack by apercy): viewtopic.php?t=27698&hilit=Automobiles
Thanks for the reply, I already have the apercy mod in the server, it's a shame about your mod, I had it in my old server and it made many people have fun with the tracks and garages, police stations etc I didn't know it wasn't more maintained, I only tried it in single player, I wanted to put it back in the server due to the variety of media, if I have time I can fix it a bit?
AsyncErr: Lua: Runtime error from mod 'adv_vehicles' in callback environment_Step(): ...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: attempt to perform arithmetic on local 'current_point_yaw' (a nil value)
stack traceback:
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: in function 'rotate_point_around_other_point'
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:115: in function 'pave_vector'
...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:350: in function <...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:335>
...\minetest-5.8.0-win64\bin\..\builtin\common\register.lua:26: in function <...\minetest-5.8.0-win64\bin\..\builtin\common\register.lua:12>
This mod has been already dead long ago, I don't work on it anymore. There is a much more stable and advanced another mod with an own API (automobiles pack by apercy): viewtopic.php?t=27698&hilit=Automobiles
Thanks for the reply, I already have the apercy mod in the server, it's a shame about your mod, I had it in my old server and it made many people have fun with the tracks and garages, police stations etc I didn't know it wasn't more maintained, I only tried it in single player, I wanted to put it back in the server due to the variety of media, if I have time I can fix it a bit?
Yes, of course you can fix and then open a PR with those fixes on my github repo. However, I'm not going to revive development of it. The code is actually a mess and inworkable. The textures are too high-resolution and pretty bad quality. The models are also not better, they have a bad shape in some places of the meshes and some of them have duplicated parts. So it needs in a full overhaul. I have a plan to do some new vehicles based on the automobiles pack API. It would be an addition for the basic vehicles which that mod has.