Page 1 of 1

[Mod] Non-laggy cars [cars][git]

PostPosted: Mon Feb 01, 2016 22:35
by cheapie
This mod adds cars in what might be the simplest way possible - it turns the player into a car (and back again, if desired) - this makes it not lag like entity-based solutions do, but you can't see a car you're "in" from first-person view, and the car appears to be driving itself since nobody seems to be in it :P

Screenshot: Image

Use: Punch anything with the "car" craftitem to turn into a car or back. When you're a car, you cannot jump and you're heavier, but you can move faster if anticheat is off. The collision box is intentionally unchanged to preserve compatibility with older roads that aren't wide enough.

Crafting:
{{"default:glass","default:steel_ingot",""},
{"homedecor:motor","default:steel_ingot","default:steel_ingot"},
{"homedecor:plastic_sheeting","","homedecor:plastic_sheeting"}}

Dependencies: *NONE* to use the cars, but default and homedecor are needed to craft them.

License: Mesh and texture are based on work by Melkor, and are under CC BY-NC-SA. Code is WTFPL.

Download: GitHub .zip .tar.gz

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Tue Feb 02, 2016 01:09
by lightonflux
A few things

* Change the walking sound. (If possible, if not this needs a bug report for minetest)
* Display the change in the HUD, e.g. via center message
* Maybe enable fast automatically

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Tue Feb 02, 2016 01:48
by cheapie
lightonflux wrote:* Change the walking sound. (If possible, if not this needs a bug report for minetest)

The docs say this should be possible. I tried it, and it didn't work.
lightonflux wrote:* Display the change in the HUD, e.g. via center message

I might have to try that at some point.
lightonflux wrote:* Maybe enable fast automatically

I'm not sure if that's possible (and it would make it a pain to drive slowly), but I could possibly increase the speed that's used when anticheat is off.

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Tue Feb 02, 2016 02:08
by benrob0329
Perhaps you could use entity attachment to make the car model, or perhaps a hud overlay.

Also, is there a way to disable sideways movement?

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Thu Feb 04, 2016 23:18
by Christian9
You should post some screenshots

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Mon Feb 08, 2016 18:12
by SaKeL
Screenshots?

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Sat Mar 12, 2016 23:40
by Sokomine
cheapie wrote:This mod adds cars in what might be the simplest way possible - it turns the player into a car (and back again, if desired) - this makes it not lag like entity-based solutions do, but you can't see a car you're "in" from first-person view, and the car appears to be driving itself since nobody seems to be in it :P

Nice idea :-) Now change the model (or get someone to do it) so that a(!) player's sitting in the car. The whole thing might even be animated the same way the player model is. Could something like that (combining two models) be done in blender?

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Sun Mar 13, 2016 01:06
by cheapie
Sokomine wrote:
cheapie wrote:This mod adds cars in what might be the simplest way possible - it turns the player into a car (and back again, if desired) - this makes it not lag like entity-based solutions do, but you can't see a car you're "in" from first-person view, and the car appears to be driving itself since nobody seems to be in it :P

Nice idea :-) Now change the model (or get someone to do it) so that a(!) player's sitting in the car. The whole thing might even be animated the same way the player model is. Could something like that (combining two models) be done in blender?


I have no idea how to use Blender, but any PRs with better models (ideally under a less restrictive license than the current one) will likely be accepted.

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Sun Mar 13, 2016 10:46
by wilkgr76
Would be nice if another player could ride you, and then the aforementioned model with a player in it is used :)

Cue lag and cheapie shouting at me that it's against the very foundation of the existence of this mod (non-lagginess)

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Sun Mar 13, 2016 11:22
by TenPlus1
How about making a Hummer model and 4 players could ride you at same time :))))

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Sun Mar 13, 2016 21:13
by wilkgr76
TenPlus1 wrote:How about making a Hummer model and 4 players could ride you at same time :))))

Then it better be able to traverse a 1-hole gap without falling down...

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Thu Mar 17, 2016 02:36
by Sokomine
cheapie wrote:I have no idea how to use Blender, but any PRs with better models (ideally under a less restrictive license than the current one) will likely be accepted.

Sadly, neither do I. Hopefully someone who knows how to use blender can jump in and help.

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Fri Mar 18, 2016 14:35
by ExeterDad
Combining two models is entirely possible. Even mapping so player skin would even be correct if custom skins were used. I've considered making a horse that could be "worn" rather then attached to. Yet appearing like a player riding a horse. Pretty much the same way this mod addresses it.

I can't commit to building you a model right now as my desktop needs some new parts and I'm not sure how my laptop will handle Blender. Also trying to get my work/personal life sorted out. But I do plan on getting more involved again soon.

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Sun Mar 20, 2016 19:47
by Diamond knight
ho do you disable anticheat? i dont use minetest.conf much as the lines are unseperated and sloppy in notepad.exe

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Sun Mar 20, 2016 19:51
by cheapie
Diamond knight wrote:ho do you disable anticheat? i dont use minetest.conf much as the lines are unseperated and sloppy in notepad.exe


Then use a text editor that handles line endings properly.

Alternatively, newer versions of MT have it in the settings menu.

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Sun Mar 20, 2016 23:05
by wilkgr76
Diamond knight wrote:ho do you disable anticheat? i dont use minetest.conf much as the lines are unseperated and sloppy in notepad.exe

Do open in wordpad

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Mon Mar 21, 2016 00:13
by Diamond knight
is it installed by default on windows?

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Mon Mar 21, 2016 00:29
by wilkgr76
Diamond knight wrote:is it installed by default on windows?

Yes... DUH

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Wed Nov 29, 2017 19:20
by IanniPowerup!!!
''Error it has dissalowed characters''

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Fri Dec 01, 2017 17:56
by azekill_DIABLO
rename the mod folder to 'cars'

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Fri Nov 02, 2018 01:52
by pilcrow
Does anyone have a mirror of this mod? The github page and all downloads no longer exist...

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Fri Nov 02, 2018 11:09
by twoelk

Re: [Mod] Non-laggy cars [cars][git]

PostPosted: Fri Nov 02, 2018 18:43
by pilcrow
Ah, thanks twoelk. That link works mostly fine (git clone worked perfectly, but the page itself wouldn't load in my Firefox for some reason; had to use SeaMonkey to view it).