[Mod] Vehicles: Cart

Nemo08
Member
 
Posts: 132
Joined: Mon Dec 26, 2011 04:59

by Nemo08 » Thu Mar 01, 2012 07:41

i think cart mod dont updated to last MT build
 

User avatar
RabbiBob
Member
 
Posts: 335
Joined: Sat Jan 28, 2012 22:40
Location: /teleport 54,47,28

by RabbiBob » Fri Mar 02, 2012 01:47

For the pickup/crash bug, change the line

add_item("craft vehicles:cart 1") to add_item("main" ,"vehicles:cart")

Code: Select all
function cart:on_punch(hitter)
    self.health = self.health - 1
    if self.health <= 0 then
        self.object:remove()
        --hitter:get_inventory():add_item("craft vehicles:cart 1")
        hitter:get_inventory():add_item("main" ,"vehicles:cart")
    end
end


Edit:

The 'q' drop issue looks like it was due to the on_drop call, corrected by changing to drop. Though right now I seem to be dropping all in my inventory (2) rather than 1 as depicted in the line.

Code: Select all
minetest.register_craftitem("vehicles:cart", {
    tile_images = {"vehicles_cart_top.png","vehicles_cart_top.png",
        "vehicles_cart_side.png","vehicles_cart_side.png","vehicles_cart_side.png","vehicles_cart_side.png"},
   
    inventory_image = "vehicles_cart_inventory.png",
    walkable = true,
    climbable = true,
    description = "Cart",
    --on_drop = function(item, dropper, pos)
    drop = '"vehicles:cart" 1',
        --minetest.env:add_entity({x = round(pos.x), y = round(pos.y), z = round(pos.z)}, "vehicles:cart")
        --return true
    --end
})



The facing issue only occurs with newly placed carts in 20120122. If you bring a world up from 20120106 with carts already in place, they look and function fine. I haven't been able to determine what isn't right anymore with the cart definition that is causing the placement issue. I've tried changing the _image definitions above with little success.

Off to bed...
Last edited by RabbiBob on Fri Mar 02, 2012 02:18, edited 1 time in total.
 

User avatar
xyz
Member
 
Posts: 450
Joined: Thu Nov 10, 2011 14:25

by xyz » Fri Mar 02, 2012 11:53

Also you may try using this mod from my repo (it got updated someday). Will update it again when have free time.
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Fri Mar 02, 2012 13:28

xyz wrote:Also you may try using this mod from my repo (it got updated someday). Will update it again when have free time.

Well the mod from there seems to work to a degree. I crafted a cart but cant place it on the track.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
RabbiBob
Member
 
Posts: 335
Joined: Sat Jan 28, 2012 22:40
Location: /teleport 54,47,28

by RabbiBob » Sat Mar 03, 2012 12:59

xyz wrote:Also you may try using this mod from my repo (it got updated someday). Will update it again when have free time.


Thanks! I updated and it works under 20120122 when placed on a track, plus the Player movement works.

In testing (see video):
If I right click to place the object, it comes out as a single pane.
Using 'q' to drop places it properly, however inventory doesn't decrement by 1.

http://www.youtube.com/watch?v=eAzWJ8XKFh8

There's a reason I've been looking at this one so much, however I think I'm trying to run before I learn to walk with Lua. If you're interested, I'll toss my idea your way as I think you'll be able to pull it off.
 

Utilisatrice
Member
 
Posts: 103
Joined: Thu Feb 16, 2012 18:04

by Utilisatrice » Sat Mar 03, 2012 13:37

Hi all,

Ya, i hav test this mod also and it's work 100%,

thank's that very amazing.
 

evildrummer
Member
 
Posts: 15
Joined: Sat Feb 11, 2012 13:32

by evildrummer » Wed Mar 07, 2012 12:06

Utilisatrice wrote:Hi all,

Ya, i hav test this mod also and it's work 100%,

thank's that very amazing.


send me the stuff in zip file


PLz
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Wed Mar 07, 2012 23:34

evildrummer wrote:send me the stuff in zip file


PLz


Maybe you could download it from the link in the first post?

It seems like you might want to invest in an archiver program. I recommend 7-Zip. ZIP isn't the only archive format out there and it is useful to be able to extract others yourself rather than asking that everyone use another format.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

MilanFIN
Member
 
Posts: 20
Joined: Wed Jan 25, 2012 17:23

by MilanFIN » Tue Mar 20, 2012 07:47

Will this work witht the newest minetest, meaning 0.4.dev-20120320?

EDIT: and do I still have to modify the mod and minetest source by hand?
Last edited by MilanFIN on Wed Mar 21, 2012 12:51, edited 1 time in total.
 

User avatar
bgsmithjr
Member
 
Posts: 436
Joined: Thu Mar 08, 2012 23:21
Location: USA,Michigan

by bgsmithjr » Fri Mar 30, 2012 16:44

Any progress?
Did you see my raft post?
 

dellodp
Member
 
Posts: 14
Joined: Wed Apr 04, 2012 10:14

by dellodp » Wed Apr 04, 2012 17:49

Is this download available for windows in zip format as i cant access the .tar format once downloaded.
 

User avatar
Calinou
Moderator
 
Posts: 3156
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Wed Apr 04, 2012 17:54

This mod is heavily outdated anyway... Also, you should use 7-zip for extracting .tar files.
 

maddogg
Member
 
Posts: 27
Joined: Wed Dec 21, 2011 23:55

by maddogg » Wed Apr 04, 2012 21:06

poiuztr99 wrote:when i go to the rails and press q the minetest process is killed.


i am also gettin this
 

MilanFIN
Member
 
Posts: 20
Joined: Wed Jan 25, 2012 17:23

by MilanFIN » Mon Apr 09, 2012 17:58

This so should be updated and INCLUDED to Minetest by defauld before stable 0.4 release.
 

User avatar
Hackeridze
Member
 
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Thu Apr 12, 2012 04:49

MilanFIN wrote:This so should be updated and INCLUDED to Minetest by defauld before stable 0.4 release.

+1
My game: RTMG
GENTOO USER
 

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

by rubenwardy » Thu Aug 23, 2012 17:32

Can you make a chest cart?

- - -
X C X
X X X

X-ingot
C-chest

So carts are still useful without player movement (delievery).
 

User avatar
xyz
Member
 
Posts: 450
Joined: Thu Nov 10, 2011 14:25

by xyz » Thu Aug 23, 2012 20:14

rubenwardy wrote:Can you make a chest cart?

- - -
X C X
X X X

X-ingot
C-chest

So carts are still useful without player movement (delievery).

This mod is abandoned now.
 

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

by rubenwardy » Thu Aug 23, 2012 22:12

xyz wrote:
rubenwardy wrote:Can you make a chest cart?

- - -
X C X
X X X

X-ingot
C-chest

So carts are still useful without player movement (delievery).

This mod is abandoned now.


I will do some work on it then, when i have time :)
 

Belgac
Member
 
Posts: 57
Joined: Wed Aug 08, 2012 15:27
Location: Brussels, Belgium

by Belgac » Thu Aug 23, 2012 22:39

or you could use carts by pilzadam, they transport objects.

http://minetest.net/forum/viewtopic.php?id=2451
Contributor: Plant aging library
Creator: (soon)
 

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

by rubenwardy » Thu Aug 23, 2012 23:09

Belgac wrote:or you could use carts by pilzadam, they transport objects.

http://minetest.net/forum/viewtopic.php?id=2451


Just realised i was already using this! Thanks
 

Hampa
New member
 
Posts: 2
Joined: Wed Apr 03, 2013 05:36

by Hampa » Wed Apr 03, 2013 05:42

why did you make a tar.gz link!?
 

User avatar
kaeza
Moderator
 
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Apr 03, 2013 05:55

This is an old version. The new version can be found here: http://forum.minetest.net/viewtopic.php?id=2451
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Apr 03, 2013 10:39

kaeza wrote:This is an old version. The new version can be found here: http://forum.minetest.net/viewtopic.php?id=2451

Its not a new version, its a completly different mod.
 

User avatar
kaeza
Moderator
 
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Apr 03, 2013 11:05

PilzAdam wrote:
kaeza wrote:This is an old version. The new version can be found here: http://forum.minetest.net/viewtopic.php?id=2451

Its not a new version, its a completly different mod.

Ah! Sorry then :P
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal
 

big8666
New member
 
Posts: 4
Joined: Fri Aug 09, 2013 18:59

by big8666 » Mon Aug 12, 2013 12:43

were do i put the file becouse its ot a zip its a .tar.gz
 

PreviousNext

Return to Old Mods



Who is online

Users browsing this forum: No registered users and 6 guests