[mod] Vehicles [vehicles]

Post Reply
User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Ok, try it now, should be fixed.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
Lejo
Member
Posts: 718
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [mod] Vehicles [vehicles]

by Lejo » Post

D00Med wrote:Ok, try it now, should be fixed.
Sorry, It's still the same.

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Ok, I'm looking into it
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Update(not very exciting):
>All vehicles except the parachute now use the same driving function. It's a lot easier to make new vehicles now.
>The assault suit can fire missiles with the 'use' key. It is now possible for vehicles to fire two weapons.
>vehicles get a boost(formerly nitro) with the 'use' key, and can still shoot with 'sneak'.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
Lejo
Member
Posts: 718
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [mod] Vehicles [vehicles]

by Lejo » Post

It works now fine, but how can I shot with the jet now?

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Oops, I forgot to put an 's' on the end of 'shoots', it works fine now
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
Lejo
Member
Posts: 718
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [mod] Vehicles [vehicles]

by Lejo » Post

Thank you now all works.

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

I have started to fix/rebuild/whatever the wings.
Unfortunately I can't seem to get them to be removed.
If anyone can help with this, it would be really appreciated.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Update(no wings yet):
Thanks to zaoqi:
>All functions are now in the api
>vehicles explode when they are in lava
>gravity affects vehicles that are not being driven
>functions are now in the format vehicles.function_name, eg: vehicles.object_drive
my changes:
>vehicles are now dropped if the driver punches them(whilst driving).
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

Robsoie
Member
Posts: 104
Joined: Fri Apr 29, 2016 16:22

Re: [mod] Vehicles [vehicles]

by Robsoie » Post

This mod is really plenty of fun, thanks for this great work.
Seems all that is needed now is to make some racing tracks, time to race on the Monaco grand prix :)

edit : for those interested, this imageloader mod is very interesting in order to make the base of a F1 circuit :
viewtopic.php?f=9&t=6751

by example quickly painted a Monaco track and saved as a bmp file (couldn't make the transparency work on the png in the mod :/ so i had to use bmp in gimp (in GIMP you must export the image as a bmp with Compatibility "Do not write space information" enabled and the Advanced option must be set to 24bits)
http://i.imgur.com/t5G5YyN.png

Important to know with imageloader and bmp, for the transparency you use the pink RGB 255,0,255 color , so at least it can work around the odd png results

By example the result on a flat world using the imageloader to load that bmp :
http://i.imgur.com/wg1yMKd.jpg

With some more building work to improve the surrounding after getting your desired circuit base in a Minetest world, it can be very good to use with the vehicle mod, too bad there's no AI but with some multiplayer it can be fun :D

Just be cautious with your BMP size, the big circuit in the screenshot is obtained from the bmp being only 256x117

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

@Robsoie
Thanks, and that's a really good idea. Currently it's a bit dull trying to race the cars, but I'm hoping to improve them until they are trickier to drive.

Update(by zaoqi):
>intilib support has been added. I don't know if it works for all languages, but it certainly works for Chinese.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

zaoqi
Member
Posts: 42
Joined: Sat Jan 07, 2017 12:14
GitHub: zaoqi
IRC: zaoqi
In-game: zaoqi

Re: [mod] Vehicles [vehicles]

by zaoqi » Post

depends:
default,tnt,dye,stairs?,intllib?
I speak en_CN/zh_CN/wzh_ACN.
My mods: ZNM's Not Minecraft Minecraft-like Commands Crafting+/gamemode

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

^fixed
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

IKRadulov
Member
Posts: 19
Joined: Thu Nov 10, 2016 11:02

Re: [mod] Vehicles [vehicles]

by IKRadulov » Post

The mod is great , but will you make the player hand invisible while you are in a vihicle ?

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Thanks for the suggestion, but I have no idea how to do that, since the hand is technically an item :S
I could make a hud image to cover it up, but that would be visible in 3rd person too.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
krokoschlange
Member
Posts: 62
Joined: Sat Jul 02, 2016 08:33
GitHub: krokoschlange
In-game: krokoschlange

Re: [mod] Vehicles [vehicles]

by krokoschlange » Post

You could take a look at this:viewtopic.php?f=9&t=16435 Maybe it helps.

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

hmm ok, thanks
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

Pinquin
New member
Posts: 1
Joined: Mon Jan 23, 2017 18:13

Re: [mod] Vehicles [vehicles]

by Pinquin » Post

When I rightclick on a vehicle, it has the error:

Code: Select all

10:40:13: ERROR[main]: ServerError: ...brary/Application Support/minetest/mods/vehicles/api.lua:30: attempt to call method 'get_attach' (a nil value)
10:40:13: ERROR[main]: stack traceback:
10:40:13: ERROR[main]:  ...brary/Application Support/minetest/mods/vehicles/api.lua:30: in function 'force_detach'
10:40:13: ERROR[main]:  ...brary/Application Support/minetest/mods/vehicles/api.lua:44: in function 'object_attach'
10:40:13: ERROR[main]:  ...rary/Application Support/minetest/mods/vehicles/init.lua:299: in function <...rary/Application Support/minetest/mods/vehicles/init.lua:295>
I am using version 4.11 on Mac OS X.

IKRadulov
Member
Posts: 19
Joined: Thu Nov 10, 2016 11:02

Re: [mod] Vehicles [vehicles]

by IKRadulov » Post

@Pinquin Your version is old . I think the mod needs 4.14 minimum .

zaoqi
Member
Posts: 42
Joined: Sat Jan 07, 2017 12:14
GitHub: zaoqi
IRC: zaoqi
In-game: zaoqi

Re: [mod] Vehicles [vehicles]

by zaoqi » Post

I speak en_CN/zh_CN/wzh_ACN.
My mods: ZNM's Not Minecraft Minecraft-like Commands Crafting+/gamemode

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Update: I've added lightcycles. They will place a barrier when 'sneak' is pressed and can destroy the lightcycle of the opposite colour.
Vehicles now have the capability to remove or place nodes (or place nodes when 'sneak' is pressed).
Nodes that destroy the vehicles can also be set.
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
GreenXenith
Member
Posts: 1356
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
Location: UTC-8:00
Contact:

Re: [mod] Vehicles [vehicles]

by GreenXenith » Post

Maybe add a helicopter.
YouTube | Mods | Patreon | Minetest Discord @greenxenith

You should not be able to read this message.

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Yeah that'd be cool! thanks for the suggestion
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

User avatar
D00Med
Member
Posts: 949
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med
Location: Australia...somewhere

Re: [mod] Vehicles [vehicles]

by D00Med » Post

Ok, done :D
Look! I have a signature :]
My subgame: viewtopic.php?f=15&t=14051#p207242

zaoqi
Member
Posts: 42
Joined: Sat Jan 07, 2017 12:14
GitHub: zaoqi
IRC: zaoqi
In-game: zaoqi

Re: [mod] Vehicles [vehicles]

by zaoqi » Post

在第一视角不能从直升机上下来
Can't get out of the helicopter at the first sight
I speak en_CN/zh_CN/wzh_ACN.
My mods: ZNM's Not Minecraft Minecraft-like Commands Crafting+/gamemode

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests