animated japanese trains

This commit is contained in:
rbduck 2020-03-11 17:07:48 +01:00
parent 6953185d8c
commit d24cb5ccb9
10 changed files with 22 additions and 8069 deletions

View File

@ -6,7 +6,7 @@ else
end
advtrains.register_wagon("moretrains_engine_japan", {
mesh="moretrains_engine_japan.obj",
mesh="moretrains_japan_bullet_engine.b3d",
textures = {"moretrains_engine_japan.png"},
drives_on={default=true},
max_speed=20,
@ -56,16 +56,16 @@ advtrains.register_wagon("moretrains_engine_japan", {
},
},
assign_to_seat_group = {"dstand", "pass"},
--doors={
-- open={
-- [-1]={frames={x=0, y=20}, time=1},
-- [1]={frames={x=40, y=60}, time=1}
-- },
-- close={
-- [-1]={frames={x=20, y=40}, time=1},
-- [1]={frames={x=60, y=80}, time=1}
-- }
--},
doors={
open={
[-1]={frames={x=0, y=10}, time=1},
[1]={frames={x=20, y=30}, time=1}
},
close={
[-1]={frames={x=10, y=20}, time=1},
[1]={frames={x=30, y=40}, time=1}
}
},
door_entry={-1.7},
visual_size = {x=1, y=1},
wagon_span=3.18,
@ -76,7 +76,7 @@ advtrains.register_wagon("moretrains_engine_japan", {
}, S("Japanese Train Engine (moretrains)"), "moretrains_engine_japan_inv.png")
advtrains.register_wagon("moretrains_wagon_japan", {
mesh="moretrains_wagon_japan.obj",
mesh="moretrains_japan_bullet_wagon.b3d",
textures = {"moretrains_wagon_japan.png"},
drives_on={default=true},
max_speed=20,
@ -128,12 +128,12 @@ advtrains.register_wagon("moretrains_wagon_japan", {
assign_to_seat_group = {"pass"},
doors={
open={
[-1]={frames={x=0, y=20}, time=1},
[1]={frames={x=40, y=60}, time=1}
[-1]={frames={x=0, y=10}, time=1},
[1]={frames={x=20, y=30}, time=1}
},
close={
[-1]={frames={x=20, y=40}, time=1},
[1]={frames={x=60, y=80}, time=1}
[-1]={frames={x=10, y=20}, time=1},
[1]={frames={x=30, y=40}, time=1}
}
},
door_entry={-1.7, 1.7},

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 117 KiB

View File

@ -22,5 +22,10 @@ moretrains_wagon_*
models: own
textures: own
wood wagon uses default tree texture from default (Cisoun)
icons: from advtrains - placeholder / wip
icons: based on icons from advtrains
mod - moretrains_japan:
models and textures: own
icons: based on icons from advtrains