

boost: if set to 'true' then the vehicle can boost with 'use/aux1' (default is false).gravity: the gravity acting on the vehicle.Defines the speed at which the vehicle will rise. rise_speed: dependant on fly_mode being set to 'rise'.hold will keep the vehicle in place when 'jump' is pressed, and 'rise' will cause the vehicle to rise when the same key is pressed. fly_mode: can be either 'hold' or 'rise' (default is 'hold').

fly: if true then the vehicle will fly (default is false).jump: can be either 'hover' or 'jump' (default is nil).arrow2/reload_time2/shoots2/shoot_y2/infinite_arrow2: same as above but fired with 'use/aux1'.infinite_arrow: if this is set then the vehicle won't need an arrow item to be in the inventory.shoot_angle: This will make the weapon shoot at a differrent vertical angle (default is 0).shoot_y: y offset of the weapon, default is 1.5.reload_time: how long it takes before the weapon can be fired again (default is 1).
MINETEST CAR MOD DRIVERS
arrow: This should be the entity name for the weapon fired (default is nil) (requires an item with the name arrow_name."_item" to be in the drivers inventory).shoots: If true then the vehicle can shoot with 'sneak'(arrow must be defined, default is false).decell: This defines the decelleration of the vehicle.fixed: Setting this to 'true' will disable movement from the vehicle.speed: This defines the speed of the vehicle, if unset it will be '10'.The function is written so that these are all somewhat optional. The table should contain the relevant variables listed below.

If the function was to be used inside on_step for an entity, 'entity' would be replaced with 'self.object' In the above case, entity is used in place of an entity or object. Vehicles.object_drive is the function used for the movement of vehicles. If you do get a vehicle in a tricky spot, you can punch it whilst driving and it will be dropped. Vehicles will explode if they touch lava, so be careful.ĭon't drive cars or planes etc. If the barrier from one type hits the other type, the vehicle will explode Other The Lightcycles can place light barriers when 'sneak' is pressed. If you are lucky you can move back into water, but be careful because this does not always work. The speed boat can be used on water, but if it is driven onto land it will stop completely. Currently only the Assault suit does this.

It is also possible for vehicles to jump or hover for a small amount of time. The plane is a bit differrent It will hold it's height when 'jump' is pressed. Using the jump key does not work very well at the moment.
MINETEST CAR MOD DRIVER
The jet will move upward when the driver looks up, or when the driver presses 'jump'. Some vehicles can fly, for example the jet. It is possible to have a second weapon, fired with 'use/aux1', but currently only the assault suit does this. They require a missile to be in the drivers inventory to do this. Vehicles can also use weapons, for example the jet and tank, which will fire a missile when 'sneak' is pressed. It will only last for a limited time and it will not recharge whilst the key is still held down. Some vehicles can have a small boost when the 'use/aux1' key is held. For example, cars can reverse but planes cannot. You can use the forward button(same as you would use for walking), to move the vehicles, but only some will be able to reverse. Basic controlsĪll vehicles are steered by looking around.
MINETEST CAR MOD MOD
I don't recall now if it was this mod that add player like NPCs since I run many mods together but I think it is and it did fool me the first time.Adds various vehicles to Minetest. ( )Īlive AI: Adds NPCs and a few mobs the NPCs operate independly and will search for resources and build on their own. Working Villagers, Adds NPCs able to perform pre defined tasks like guarding, mining. Mobs NPC: From the group of mods using mobs redo API, which support a bunch of other mods if you intend to add more mobs to your world that would be the more compatible ( )
