.

User avatar
Melkor
Member
 
Posts: 345
Joined: Sat Sep 24, 2011 01:03
Location: Underground

by Melkor » Mon Oct 14, 2013 05:31

Esteban wrote:Image


Nice! good job!


paramat wrote:
Image

Image

haha cute :D

paramat wrote:I may still look into an alternative design, i'm thinking a car with Minetest charracter would be small, cute and boxy, which of course means a Japanese Kei-Car, which are my favourite cars:

Image

Honda N-box (nodebox).


hey, i can make that car, if you really want it!
Last edited by Melkor on Mon Oct 14, 2013 05:41, edited 1 time in total.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Mon Oct 14, 2013 06:31

I have forked this mod and have changed the physics and motion which was making the car 'float' in land like a boat. The collision box was stopping the car climbing nodes, not applicable in water of course. But i kept that and made the car only able to climb slopes created by half-slabs, although the slope climbing is rather crude and jumpy. I'll try to sort out an off road motion that can climb full nodes.

If you mean the fact that when it hits the node it jumps up, in the original, that was behaviour I added afterward to make it go up slops, by adding step height. Make the value lower to stop it climbing as high slopes.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
paramat
Developer
 
Posts: 3560
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

by paramat » Mon Oct 14, 2013 16:21

Dan, thats odd, my experience with your mod is that the collision box stops the car getting near a node to climb it. I raised the collision box and the car then can then float through and up the slope with the boat physics of PilzAdam's mod, i'm not sure adding step height has any effect.

Esteban, i looked at your code and noticed you have duplicated the original code for each car. there's a lot of unneccesary duplicated code, for example the helper functions only need be defined once, the remaining code should be edited for multiple car use ... although i don't know how :)
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Mon Oct 14, 2013 17:02

paramat wrote:Dan, thats odd, my experience with your mod is that the collision box stops the car getting near a node to climb it. I raised the collision box and the car then can then float through and up the slope with the boat physics of PilzAdam's mod, i'm not sure adding step height has any effect.

Esteban, i looked at your code and noticed you have duplicated the original code for each car. there's a lot of unneccesary duplicated code, for example the helper functions only need be defined once, the remaining code should be edited for multiple car use ... although i don't know how :)

You need an up-to-date build for stepheight.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Esteban
Member
 
Posts: 873
Joined: Sun Sep 08, 2013 13:26
Location: Somewhere in the Caribbean...
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

by Esteban » Mon Oct 14, 2013 17:39

.
Last edited by Esteban on Fri Mar 18, 2016 13:50, edited 1 time in total.
 

User avatar
Mcc457
Member
 
Posts: 84
Joined: Sat Sep 07, 2013 17:53
Location: Earth..nah too usual; Minetest

by Mcc457 » Thu Oct 17, 2013 00:49

I don't know if I've done something wrong, but the mod installs, but I can't place cars.
Working on a sub-game; mostly based texture packs, adventure and soon chemistry...
 

User avatar
CraigyDavi
Member
 
Posts: 582
Joined: Sat Aug 10, 2013 13:08
Location: Hampshire, UK
GitHub: davisonio
IRC: davisonio
In-game: CraigyDavi

by CraigyDavi » Thu Oct 17, 2013 10:25

Mcc457 wrote:I don't know if I've done something wrong, but the mod installs, but I can't place cars.


You can only place the car on nodes with the group "cracky". Try placing it on stone.
 

neron
Member
 
Posts: 82
Joined: Sat Dec 22, 2012 20:22
 

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Sat Feb 08, 2014 00:33

Typo: punching "car:hot_rod" will give you "car:hot_road" (line 3151).
Last edited by qwrwed on Sat Feb 08, 2014 00:37, edited 1 time in total.
 

Aiden
New member
 
Posts: 1
Joined: Sat Feb 08, 2014 05:17
 

User avatar
Esteban
Member
 
Posts: 873
Joined: Sun Sep 08, 2013 13:26
Location: Somewhere in the Caribbean...
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

Re:

by Esteban » Mon May 19, 2014 19:49

.
Last edited by Esteban on Fri Mar 18, 2016 13:50, edited 1 time in total.
 

gunnercody
Member
 
Posts: 23
Joined: Sun Jul 20, 2014 18:26
In-game: gunnercody
 

User avatar
hunterdelyx1
Member
 
Posts: 27
Joined: Fri Aug 10, 2012 02:14

Re: [Mod] Car (Now with more cars and crafting recipes!) [0.

by hunterdelyx1 » Sat Aug 02, 2014 01:24

Great mod! But it doesn't work good in multiplayer.

1.http://itmages.ru/image/view/1818037/d064dfc4
Player model faces the wrong direction.

2. if i punch car with player, it will drop and player will become invisible.
 

User avatar
hassage
Member
 
Posts: 187
Joined: Sun Apr 14, 2013 17:53
Location: France
IRC: hassage
In-game: hassage
 

User avatar
Esteban
Member
 
Posts: 873
Joined: Sun Sep 08, 2013 13:26
Location: Somewhere in the Caribbean...
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

Re: [Mod] Car (Now with more cars and crafting recipes!) [0.

by Esteban » Sun Aug 10, 2014 13:24

.
Last edited by Esteban on Fri Mar 18, 2016 13:51, edited 1 time in total.
 

User avatar
hunterdelyx1
Member
 
Posts: 27
Joined: Fri Aug 10, 2012 02:14
 

User avatar
Christian9
Member
 
Posts: 337
Joined: Fri Sep 19, 2014 20:29
Location: Hell Creek
In-game: Christian9
 

User avatar
Esteban
Member
 
Posts: 873
Joined: Sun Sep 08, 2013 13:26
Location: Somewhere in the Caribbean...
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

Re: [Mod] Car (Now with more cars and crafting recipes!) [0.

by Esteban » Fri Sep 19, 2014 21:04

.
Last edited by Esteban on Fri Mar 18, 2016 13:51, edited 1 time in total.
 

User avatar
paramat
Developer
 
Posts: 3560
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: [Mod] Car (Now with more cars and crafting recipes!) [0.

by paramat » Sat Sep 20, 2014 02:08

hunterdelyx1 wrote:Great mod! But it doesn't work good in multiplayer.

1.http://itmages.ru/image/view/1818037/d064dfc4
Player model faces the wrong direction.

2. if i punch car with player, it will drop and player will become invisible.

These were recently fixed in 'boats' mod, which is now in default minetest game. Dan's car mod is very similar to boats mod https://github.com/minetest/minetest_game/blob/master/mods/boats/init.lua see 'on rightclick' and 'on punch' functions and update your code, i recently had to do this for my own car mod.

EDIT
See this for bug 2 https://github.com/minetest/minetest_game/issues/276#comments
 

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

Re: [Mod] Car (Now with more cars and crafting recipes!) [0.

by balthazariv » Tue Sep 23, 2014 11:35

Hello,

Good works but i have this error :

Code: Select all
13:33:35: ERROR[main]: ServerError: L:\Minetest\minetest - Copie\bin\..\mods\car\init.lua:3186: attempt to index a nil value
13:33:35: ERROR[main]: stack traceback:
13:33:35: ERROR[main]:    L:\Minetest\minetest - Copie\bin\..\mods\car\init.lua:3186: in function <L:\Minetest\minetest - Copie\bin\..\mods\car\init.lua:3155>
 

User avatar
Esteban
Member
 
Posts: 873
Joined: Sun Sep 08, 2013 13:26
Location: Somewhere in the Caribbean...
GitHub: Esteban-
IRC: Esteban
In-game: Esteban

Re: [Mod] Car (Now with more cars and crafting recipes!) [0.

by Esteban » Tue Sep 23, 2014 11:46

.
Last edited by Esteban on Fri Mar 18, 2016 13:51, edited 1 time in total.
 

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

Re: [Mod] Car (Now with more cars and crafting recipes!) [0.

by balthazariv » Wed Sep 24, 2014 18:32

Esteban wrote:The mod is quite outdated, I will see if by the weekend I can update the code.


Thanks
 

Previous

Return to Old Mods



Who is online

Users browsing this forum: No registered users and 2 guests