[Mod] Boost cart [boost_cart]

User avatar
Krock
Developer
 
Posts: 4145
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

[Mod] Boost cart [boost_cart]

by Krock » Sun Sep 21, 2014 09:04

Boost cart


This is a "lighter" version of the carts mod with some new features.

Image
Showing the item transport and mesecons support. Power and brake rails must only be enabled by a mesecons signal if that mod is enabled.

Features:
  • Faster and less CPU intensive
  • Configurable maximal cart speed
  • Pathfinder for automatic position correction
  • Switch the direction on crossings (by pressing the movement keys)
  • Fully backwards compatible with the original carts mod by PilzAdam
  • Copper rails (gives copper an use) - moreblocks equivalent
  • Drop items inside the cart and punch it to transport them
  • Different rail type support
  • Handbrake with the 'down' key

News - MTG carts:
Since version 0.4.15 there are now carts in the official subgame minetest_game. That version of carts is based on boost_cart but does not support mesecons. You can still use boost_cart as before, it will simply overwrite the other mod.

Depends: default, mesecons (optional)
License: CC0
Code: View sauce | *.zip | .git clone
Attachments
preview_boost_cart.png
(315 KiB) Not downloaded yet
Last edited by Krock on Mon Oct 09, 2017 11:08, edited 5 times in total.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Moderator
 
Posts: 5544
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

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

Re: [Mod] Boost cart [boost_cart]

by Sokomine » Sun Sep 21, 2014 16:06

Nice. I still hope there will be client-side support for carts and other entities players might get attached to. That could save a bunch of problems which can't be solved server-side.
A list of my mods can be found here.
 

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

Re: [Mod] Boost cart [boost_cart]

by lightonflux » Wed Sep 24, 2014 00:36

Great mod. Would be nice if you can press a direction key and the mod applies it to the next junction. So you don't miss a junction when you travel with great speed. A window of 2-3 seconds should be good, after 3sec the keypress should expire, so you don't take the wrong turn.
 

User avatar
cx384
Member
 
Posts: 492
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Boost cart [boost_cart]

by cx384 » Wed Sep 24, 2014 18:01

Cool mod. It would be nice to have adjustable points/switches.
Can your read this?
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

Re: [Mod] Boost cart [boost_cart]

by 4aiman » Sun Sep 28, 2014 16:51

/me likes :)
Already in Magichet instead of carts :)
Any plans on cart_with_chest (to transport items) or wagons?
 

Daïmanu
Member
 
Posts: 12
Joined: Tue Feb 04, 2014 21:48

Re: [Mod] Boost cart [boost_cart]

by Daïmanu » Sat Oct 04, 2014 14:33

Krock wrote:Switch the direction on crossings (by pressing keys)


Could you secify which key?

Why not using a rail switch item to switch a direction?
You place it near to a junction and you can hit it or activate it with a mesecon circuit.
 

User avatar
Krock
Developer
 
Posts: 4145
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Boost cart [boost_cart]

by Krock » Sat Oct 04, 2014 14:37

Daïmanu wrote:Could you secify which key?

Why not using a rail switch item to switch a direction?
You place it near to a junction and you can hit it or activate it with a mesecon circuit.

Just the left and right movement key

That's a nice idea to switch them with mesecons but not every cart driver has the same target.
Therefore it might be better as it currently is.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

Daïmanu
Member
 
Posts: 12
Joined: Tue Feb 04, 2014 21:48

Re: [Mod] Boost cart [boost_cart]

by Daïmanu » Sat Oct 04, 2014 14:55



How didn't I guess it... Thanks.

Krock wrote:That's a nice idea to switch them with mesecons but not every cart driver has the same target.
Therefore it might be better as it currently is.


I was thinking to a network with a start, and you can select a destination with mesecons buttons.
 

User avatar
Krock
Developer
 
Posts: 4145
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Boost cart [boost_cart]

by Krock » Wed Jan 14, 2015 17:35

The latest update improves the cart speedup (punching).
Commit link: Allow to stop cart by punching against the moving direction
Please report bugs.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Krock
Developer
 
Posts: 4145
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Boost cart [boost_cart]

by Krock » Sun Mar 15, 2015 14:05

Update!
Image

The carts now only run on the type of rails it got placed on.
You can define more rails and change the group connect_to_raillike to 2 to separate them from the other rails.
The current master branch doen't display those correctly.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

Kilarin
Member
 
Posts: 712
Joined: Mon Mar 10, 2014 00:36

Re: [Mod] Boost cart [boost_cart]

by Kilarin » Mon Mar 16, 2015 00:41

Krock wrote:The carts now only run on the type of rails it got placed on

How is that and advantage? Or am I misunderstanding?
 

wappo
New member
 
Posts: 5
Joined: Sun Mar 22, 2015 02:29
Location: Japan

Re: [Mod] Boost cart [boost_cart]

by wappo » Sun Mar 22, 2015 06:11

I like boost cart mod.
But, I can not start cart on the power rail connect mesecon switch.
PilzAdam's cart mod is work.

Image
 

User avatar
Krock
Developer
 
Posts: 4145
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Boost cart [boost_cart]

by Krock » Sun Mar 22, 2015 09:57

wappo wrote:I like boost cart mod.
But, I can not start cart on the power rail connect mesecon switch.
PilzAdam's cart mod is work.

http://i.imgur.com/aiVEZd9.jpg

No problem, I added that feature right now.
https://github.com/SmallJoker/boost_cart/commit/159d
I haven't tested all possibilities but it seems to work correctly.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

wappo
New member
 
Posts: 5
Joined: Sun Mar 22, 2015 02:29
Location: Japan

Re: [Mod] Boost cart [boost_cart]

by wappo » Sun Mar 22, 2015 13:01

Krock wrote:
wappo wrote:I like boost cart mod.
But, I can not start cart on the power rail connect mesecon switch.
PilzAdam's cart mod is work.

http://i.imgur.com/aiVEZd9.jpg

No problem, I added that feature right now.
https://github.com/SmallJoker/boost_cart/commit/159d
I haven't tested all possibilities but it seems to work correctly.


Thanks Krock.
mesecon switch is working.
 

wappo
New member
 
Posts: 5
Joined: Sun Mar 22, 2015 02:29
Location: Japan

Re: [Mod] Boost cart [boost_cart]

by wappo » Sat Mar 28, 2015 01:12

bugs?
When the cart that was moving, I exited the game.
Next the game, this cart does not work.

Empty cart stop in the very long rail.


Sorry, I can not English.
 

Badake
New member
 
Posts: 4
Joined: Wed Mar 25, 2015 16:36
In-game: Badake

Re: [Mod] Boost cart [boost_cart]

by Badake » Mon Mar 30, 2015 18:14

Have this mod on my family server tho i've not used it personally yet.
My son placed a cart high up in one of his buildings! Dont ask me why, given up trying to understand 7 year olds lol. However, now he cant seem to remove it, any ideas?
 

User avatar
Krock
Developer
 
Posts: 4145
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Boost cart [boost_cart]

by Krock » Mon Mar 30, 2015 18:21

Badake wrote:However, now he cant seem to remove it, any ideas?

Hold shift and punch/left click on the cart to take it.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

Badake
New member
 
Posts: 4
Joined: Wed Mar 25, 2015 16:36
In-game: Badake

Re: [Mod] Boost cart [boost_cart]

by Badake » Tue Mar 31, 2015 10:15

Thankyou Krock, worked a treat he's happy again.
 

ABJ
Member
 
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Boost cart [boost_cart]

by ABJ » Thu Apr 02, 2015 17:13

Now for the collision detection!
Oh and by the way the item cart download link says not found

EDIT: Wait I forgot! Cart trains! Made up of multiple coupled carts!
 

graag
New member
 
Posts: 2
Joined: Sat Apr 04, 2015 07:20
GitHub: graag
In-game: graag

Re: [Mod] Boost cart [boost_cart]

by graag » Sat Apr 04, 2015 07:30

I made a small steering modification for this mod.
When riding inside a cart pressing up will accelerate the cart - similar to how one steers in the boat mod.
My son likes this better then the frantic punching ;)

If anyone is interested here's the commit: https://github.com/graag/boost_cart/com ... 9a937df065
 

ABJ
Member
 
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Boost cart [boost_cart]

by ABJ » Sat Apr 04, 2015 08:56

graag wrote:I made a small steering modification for this mod.
When riding inside a cart pressing up will accelerate the cart - similar to how one steers in the boat mod.
My son likes this better then the frantic punching ;)

If anyone is interested here's the commit: https://github.com/graag/boost_cart/com ... 9a937df065

Wow..........your first post on the MT forums was about a contribution to a mod many like :thumbup: :D
Back to the topic. I'm a total n00b at github. How do I download commits?
EDIT: I totally forgot to say that I ABSOLUTELY NEED THIS!!!!!! :D
 

graag
New member
 
Posts: 2
Joined: Sat Apr 04, 2015 07:20
GitHub: graag
In-game: graag

Re: [Mod] Boost cart [boost_cart]

by graag » Sat Apr 04, 2015 21:11

Just use my fork to give it a try: https://github.com/graag/boost_cart and click "download zip".
Probably you'll have to rename it to boost_cart after unzipping.
 

User avatar
rubenwardy
Moderator
 
Posts: 5544
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Boost cart [boost_cart]

by rubenwardy » Sat Apr 04, 2015 21:57

ABJ wrote:
graag wrote:...

Wow..........your first post on the MT forums was about a contribution to a mod many like :thumbup: :D
Back to the topic. I'm a total n00b at github. How do I download commits?
EDIT: I totally forgot to say that I ABSOLUTELY NEED THIS!!!!!! :D


PilzAdam's first post WAS a mod. It was carts, July 2012. The good old days. ** stares off into the distance. **
 

ABJ
Member
 
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.
GitHub: ABJ-MV
In-game: ABJ
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 13 guests