[Mod] Boost cart [boost_cart]

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
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, one of the less interesting things.

Positive things about this mod:
  • Faster and less CPU intensive
  • 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

Negative:

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 source | Download *.zip (always up-to-date!)
Last edited by Krock on Sun Feb 12, 2017 10:43, edited 4 times in total.
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
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Boost cart [boost_cart]

by rubenwardy » Sun Sep 21, 2014 11:10

oooh. Nice.

/me tests
 

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

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
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: 249
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
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
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.
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>
 

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
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
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.
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
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
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.
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>
 

Kilarin
Member
 
Posts: 649
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

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
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
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.
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>
 

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

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

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
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
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.
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>
 

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: 2344
Joined: Sun Jan 18, 2015 13:02
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: 2344
Joined: Sun Jan 18, 2015 13:02
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
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
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: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Boost cart [boost_cart]

by ABJ » Sun Apr 05, 2015 15:59

That said, what about my second question?
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Boost cart [boost_cart]

by ABJ » Thu Apr 16, 2015 12:45

Krock, I want to contribute to this mod. I'm planning to add more rail types. How do I make the mod work with the rails?
 

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

Re: [Mod] Boost cart [boost_cart]

by Krock » Thu Apr 16, 2015 15:56

ABJ wrote:Krock, I want to contribute to this mod. I'm planning to add more rail types. How do I make the mod work with the rails?

I do not plan to add more rails to this mod. Create a new mod and add there all your new rails.
To get different types (wide- or narrow-gauge), simply set the group "connect_to_raillike" to 2, 3 or something else.

If you have a rail with multiple acceleration states, use the function
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
boost_cart:boost_rail(node position, acceleration)

to push the cart after switching the rail to an "On"-state.
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>
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Boost cart [boost_cart]

by ABJ » Thu Apr 16, 2015 16:07

What is the "node position" and how many nodes per number does the cart accelerate?
And how about brake rails? Do you simply set the "acceleration" value to a minus one?
 

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

Re: [Mod] Boost cart [boost_cart]

by lightonflux » Thu Apr 16, 2015 16:45

ABJ wrote:That said, what about my second question?


First click at commits at the upper bar:

Image

Then select the commit you want to download/view/browse:

Image

When you are in the browse view and the branch button should look like this:

Image

Then press the download button and you get the content of the repo at that commit.

http://a.pomf.se/eabnya.png
 

User avatar
Splizard
Member
 
Posts: 220
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard

Re: [Mod] Boost cart [boost_cart]

by Splizard » Thu Apr 23, 2015 22:28

We need upside down rails so we can make rollercoasters!
Games: The Hungry Games.
Mods: Lifters (Simple Lifts), Snow Biomes and Gates.
Also checkout my texture pack Gridtoon!
View all of them plus more at http://minetest.splizard.com! (may not always be online).
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 9 guests

cron