Model, animate, texture and integrate new subway wagon

engine follows!
This commit is contained in:
orwell96 2017-01-17 20:02:25 +01:00
parent 33c3631ef5
commit 9c400f7d43
18 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,7 @@
advtrains.register_wagon("subway_wagon", {
mesh="advtrains_subway_train.b3d",
textures = {"advtrains_subway_train.png"},
mesh="advtrains_subway_wagon.b3d",
textures = {"advtrains_subway_wagon.png"},
drives_on={default=true},
max_speed=15,
seats = {
@ -17,7 +17,11 @@ advtrains.register_wagon("subway_wagon", {
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
is_locomotive=true,
drops={"default:steelblock 4"},
}, "Subway Passenger Wagon", "advtrains_subway_train_inv.png")
--custom_on_activate = function(self, dtime_s)
-- atprint("subway custom_on_activate")
-- self.object:set_animation({x=1,y=80}, 15, 0, true)
--end,
}, "Subway Passenger Wagon", "advtrains_subway_wagon_inv.png")
--wagons
minetest.register_craft({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB