[Mod] Cubic microcar [0.4.0] [mesecar]

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

[Mod] Cubic microcar [0.4.0] [mesecar]

by paramat » Mon Dec 09, 2013 16:59

Image

^ Nyancart, Oerkka, Mesecar

A fork of https://forum.minetest.net/viewtopic.php?id=7381 which is a fork of PilzAdam's boat mod.
Download https://github.com/paramat/mesecar/archive/master.zip and rename folder to 'mesecar'
Browse code https://github.com/paramat/mesecar

For Minetest 0.4.10 and later
Depends default
Licenses: code WTFPL, textures CC BY-SA

4 styles of microcar: Car55, Nyancart, Mesecar and Oerkka.
Will only turn when moving, turn speed reduces near top speed.
Dual-motor 4 wheel drive update (inspired by Tesla Model S).
By default will climb slabs but not full blocks, edit STEPH to 1.1 to climb blocks.
16 pixel textures scaled to a 1.5 node cube, the player is sitting inside and has to be hidden because scaling the car also scales the driver.
My pathv6alt mod https://forum.minetest.net/viewtopic.php?f=11&t=10064 generates roads in mgv6 to drive on.
Noisegrid lua mapgen also has roads https://forum.minetest.net/viewtopic.php?f=11&t=9296.

Crafting recipies.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-- Crafting

minetest.register_craft({
   output = "mesecar:motor",
   recipe = {
      {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
      {"default:copper_ingot", "default:steel_ingot", "default:copper_ingot"},
      {"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
   },
})


minetest.register_craft({
   output = "mesecar:battery",
   recipe = {
      {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
      {"default:steel_ingot", "default:mese_block", "default:steel_ingot"},
      {"default:copper_ingot", "default:copper_ingot", "default:steel_ingot"},
   },
})


minetest.register_craft({
   output = "mesecar:mesecar1", -- Car55
   recipe = {
      {"default:steel_ingot", "dye:blue", "default:steel_ingot"},
      {"default:steel_ingot", "group:wool", "default:glass"},
      {"mesecar:motor", "mesecar:battery", "mesecar:motor"},
   },
})


minetest.register_craft({
   output = "mesecar:mesecar2", -- Oerkka
   recipe = {
      {"default:steel_ingot", "dye:magenta", "default:steel_ingot"},
      {"default:steel_ingot", "group:wool", "default:glass"},
      {"mesecar:motor", "mesecar:battery", "mesecar:motor"},
   },
})


minetest.register_craft({
   output = "mesecar:mesecar3", -- Nyancart
   recipe = {
      {"default:steel_ingot", "dye:pink", "default:steel_ingot"},
      {"default:steel_ingot", "group:wool", "default:glass"},
      {"mesecar:motor", "mesecar:battery", "mesecar:motor"},
   },
})


minetest.register_craft({
   output = "mesecar:mesecar4", -- Mesecar
   recipe = {
      {"default:steel_ingot", "dye:yellow", "default:steel_ingot"},
      {"default:steel_ingot", "group:wool", "default:glass"},
      {"mesecar:motor", "mesecar:battery", "mesecar:motor"},
   },
})
Last edited by paramat on Mon Feb 08, 2016 07:56, edited 24 times in total.
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Mon Dec 09, 2013 17:28

Wow, those physics are really better than the old.
The only bad thing I can find on this, is the orange color :)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

by BrunoMine » Mon Dec 09, 2013 17:50

this is really good. Perfect
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

by paramat » Mon Dec 09, 2013 20:59

Krock wrote:Wow, those physics are really better than the old.
The only bad thing I can find on this, is the orange color :)

Gimp your ride... =)
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

by lightonflux » Mon Dec 09, 2013 21:36

Idea: Car elevates itself if it moves on street blocks. Like this mods block

But please don't make it a hard dependency.

Here an illustration about the block situation:

Image

Grey blocks are street blocks brown just dirt.
 

User avatar
Esteban
Member
 
Posts: 872
Joined: Sun Sep 08, 2013 13:26
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

by Esteban » Mon Dec 09, 2013 22:22

I was waiting for this! Cool! Im going to test ASAP :D
 

benjitaus
New member
 
Posts: 3
Joined: Sat Aug 30, 2014 02:51

Re: [Mod] Mese power car [0.1.0] [mesecar]

by benjitaus » Mon Sep 01, 2014 08:49

How do you go forward? I cant control the car.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Mese power car [0.1.0] [mesecar]

by paramat » Mon Sep 01, 2014 23:12

WASD keys.
Note it won't go up full nodes, only half slabs, i have road mods: 'path' and 'noisegrid'.
EDIT
Note the car is uncontrollable and jerky while the server is busy, this is unavoidable. Best to fully generate an area of world before driving to avoid mapgen lags.
Last edited by paramat on Tue Sep 02, 2014 04:36, edited 1 time in total.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Mese power car [0.2.0] [mesecar]

by paramat » Tue Sep 02, 2014 04:33

Version 0.2.0
-- added step height and max speed parameters
-- bugfix floating above slabs
-- resize car, collisionbox
-- new texture
-- update crafting
Last edited by paramat on Thu Sep 18, 2014 03:50, edited 1 time in total.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.0] [mesecar]

by paramat » Wed Sep 03, 2014 06:21

0.3.0
Code updated to curret 'boats' mod standard.
New cute cubic microcar.
Last edited by paramat on Thu Sep 04, 2014 16:48, edited 1 time in total.
 

benjitaus
New member
 
Posts: 3
Joined: Sat Aug 30, 2014 02:51

Re: [Mod] Cubic microcar [0.3.0] [mesecar]

by benjitaus » Wed Sep 03, 2014 06:52

Thank you. I got it to work. Sort of.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Cubic microcar [0.3.0] [mesecar]

by Krock » Wed Sep 03, 2014 18:50

Cute microcar :)
It's like a cart, just controllable and off-rail.

Could you add a special object, like a boat, to put the car on it?
So, it would be possible to drive with that it over the sea.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
balthazariv
Member
 
Posts: 214
Joined: Mon Apr 07, 2014 15:48

Re: [Mod] Cubic microcar [0.3.0] [mesecar]

by balthazariv » Wed Sep 03, 2014 19:38

I like it but why when I put it, it levitates one block of high.
I must put it in a hole in one block for it touches the ground.

Image
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.0] [mesecar]

by paramat » Wed Sep 03, 2014 22:05

Line 171 should be:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
pointed_thing.under.y = pointed_thing.under.y + 1

+1 not +2, that might fix it.
I'll fix this for the next version.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.1] [mesecar]

by paramat » Thu Sep 04, 2014 16:52

0.3.1
-- Fix texture sizes, edit textures
-- Tune player attach position
-- Fix on-place postion
-- Reduce turn rate at high speeds
-- Acceleration parameter
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.2] [mesecar]

by paramat » Thu Sep 18, 2014 03:55

0.3.2
New textures scaled up to 1.5 nodes wide, player hidden inside because player is unfortunately also scaled.
Player viewpoint somehow remains above the car roof, which works out well because it is like an auto-third person view.
Last edited by paramat on Wed Feb 11, 2015 18:26, edited 1 time in total.
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Re: [Mod] Cubic microcar [0.3.2] [mesecar]

by lightonflux » Thu Sep 18, 2014 11:13

It would be great if the view was farer away in third person view. Is that possible with Minetest at the moment?
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.2] [mesecar]

by paramat » Thu Sep 18, 2014 22:15

 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Re: [Mod] Cubic microcar [0.3.2] [mesecar]

by lightonflux » Fri Sep 19, 2014 16:54

 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by paramat » Sat Nov 29, 2014 05:14

0.3.3 has 3 styles of microcar to choose from, the new designs are nyancar and oerkka.
 

gameslayer
New member
 
Posts: 3
Joined: Sat May 31, 2014 10:47
In-game: Gameslayer

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by gameslayer » Wed Feb 11, 2015 06:20

Hey where do I get the mod dependency needed to run this mod? it would be helpful if you included them in the mod zip when downloading this and explaining you need these extra mods to make it work.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by paramat » Wed Feb 11, 2015 11:34

Hi, the dependancy 'default' is part of Minetest Game so you already have it.
 

tbillion
Member
 
Posts: 189
Joined: Wed Apr 03, 2013 16:07

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by tbillion » Sun Nov 22, 2015 12:30

creat mod.. seriously fun especially with the roads mod. only suggestion is maybe add the ability to detect a collision. (becasue im a bad driver) and i drove right through another car! lol... any way great job!
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by paramat » Sun Nov 22, 2015 19:28

You can edit the 'collisionbox' for each car https://github.com/paramat/mesecar/blob/master/init.lua#L42
It's by default a little narrower than the car because it doesn't rotate with the car so is effectively wider when the car is diagonal. So yes edges of a car can sometimes pass through objects.
I should add a bright yellow mesecar.
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by benrob0329 » Sun Nov 22, 2015 19:55

Nice!!

Maybe the Mese Car could be super fast?

Also, what do you think about adding "fuel"?
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by paramat » Sun Nov 22, 2015 20:03

I'm a busy dev so feel free to fork and edit / add whatever you want.
I should add crafting recipes, the power source / battery can be a meseblock.
Last edited by paramat on Wed Nov 25, 2015 13:26, edited 1 time in total.
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by mahmutelmas06 » Sun Nov 22, 2015 23:49

My Mods:

Beverage
 

tbillion
Member
 
Posts: 189
Joined: Wed Apr 03, 2013 16:07

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by tbillion » Wed Nov 25, 2015 13:04

or a pickup truck... like a morris minor pickup .. if youve ever seen them... you know mini produced a pickup truck too.. and with the truck you could give it properties of a chest so you can put you rjunk in the trunk...haha.. get the pun?
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by paramat » Wed Nov 25, 2015 13:32

Nice idea, not sure if a vehicle can store items but if someone works out how let me know.
Minis (the original ones) are close to my heart, we had one when i was a young child. Even now small cars are my favourite, especially the cute boxy Japanese Kei cars (which would be perfect for MT).

Image
 

tbillion
Member
 
Posts: 189
Joined: Wed Apr 03, 2013 16:07

Re: [Mod] Cubic microcar [0.3.3] [mesecar]

by tbillion » Wed Nov 25, 2015 13:39

i will volunteer to figure out how to give it a trunk if someone else figures out how to sprite it.. i tried spriting in this before and lets just say im a coder not an artist. i am working on another mod so it could be a few days, but i will make it second priority i already have a good handle on entity inventories... maybe con VanessaE into sprtiing it .. shes a god ;)
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 2 guests

cron