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

cheapie
Member
 
Posts: 309
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

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

by cheapie » Mon Feb 01, 2016 22:35

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
Last edited by cheapie on Mon Feb 08, 2016 19:43, edited 1 time in total.
 

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

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

by lightonflux » Tue Feb 02, 2016 01:09

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
 

cheapie
Member
 
Posts: 309
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

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

by cheapie » Tue Feb 02, 2016 01:48

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.
 

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

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

by benrob0329 » Tue Feb 02, 2016 02:08

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?
 

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

User avatar
SaKeL
Member
 
Posts: 269
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

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

by SaKeL » Mon Feb 08, 2016 18:12

Screenshots?
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

Sokomine
Member
 
Posts: 3374
Joined: Sun Sep 09, 2012 17:31

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

by Sokomine » Sat Mar 12, 2016 23:40

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?
A list of my mods can be found here.
 

cheapie
Member
 
Posts: 309
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

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

by cheapie » Sun Mar 13, 2016 01:06

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.
 

wilkgr76
Member
 
Posts: 827
Joined: Wed Feb 18, 2015 02:44

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

by wilkgr76 » Sun Mar 13, 2016 10:46

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)
"If you can't contribute code, contribute docs!" --wilkgr, 2017
 

User avatar
TenPlus1
Member
 
Posts: 2095
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

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

by TenPlus1 » Sun Mar 13, 2016 11:22

How about making a Hummer model and 4 players could ride you at same time :))))
 

wilkgr76
Member
 
Posts: 827
Joined: Wed Feb 18, 2015 02:44

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

by wilkgr76 » Sun Mar 13, 2016 21:13

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...
"If you can't contribute code, contribute docs!" --wilkgr, 2017
 

Sokomine
Member
 
Posts: 3374
Joined: Sun Sep 09, 2012 17:31

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

by Sokomine » Thu Mar 17, 2016 02:36

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.
A list of my mods can be found here.
 

User avatar
ExeterDad
Member
 
Posts: 1582
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

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

by ExeterDad » Fri Mar 18, 2016 14:35

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.
 

User avatar
Diamond knight
Member
 
Posts: 416
Joined: Sun Apr 19, 2015 19:50
Location: Sol 3 (aka earth for you science noobs)
In-game: Diamondknight or diamond_knight

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

by Diamond knight » Sun Mar 20, 2016 19:47

ho do you disable anticheat? i dont use minetest.conf much as the lines are unseperated and sloppy in notepad.exe
Join The United Empire of Ferrum, a new virtual society gaming clan that uses real world military and financial tactics to achieve victory. We are currently looking for new politicians for the clan. [url]theunitedempireofferrum.weebly.com[/url]
 

cheapie
Member
 
Posts: 309
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

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

by cheapie » Sun Mar 20, 2016 19:51

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.
 

wilkgr76
Member
 
Posts: 827
Joined: Wed Feb 18, 2015 02:44

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

by wilkgr76 » Sun Mar 20, 2016 23:05

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
"If you can't contribute code, contribute docs!" --wilkgr, 2017
 

User avatar
Diamond knight
Member
 
Posts: 416
Joined: Sun Apr 19, 2015 19:50
Location: Sol 3 (aka earth for you science noobs)
In-game: Diamondknight or diamond_knight

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

by Diamond knight » Mon Mar 21, 2016 00:13

is it installed by default on windows?
Join The United Empire of Ferrum, a new virtual society gaming clan that uses real world military and financial tactics to achieve victory. We are currently looking for new politicians for the clan. [url]theunitedempireofferrum.weebly.com[/url]
 

wilkgr76
Member
 
Posts: 827
Joined: Wed Feb 18, 2015 02:44

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

by wilkgr76 » Mon Mar 21, 2016 00:29

Diamond knight wrote:is it installed by default on windows?

Yes... DUH
"If you can't contribute code, contribute docs!" --wilkgr, 2017
 

IanniPowerup!!!
Member
 
Posts: 33
Joined: Wed Nov 29, 2017 17:33
In-game: IanniPowerup
 

User avatar
azekill_DIABLO
Member
 
Posts: 6780
Joined: Wed Oct 29, 2014 20:05
Location: Inside the Box
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 


Return to WIP Mods



Who is online

Users browsing this forum: Bing [Bot] and 3 guests