aboutsummaryrefslogtreecommitdiff
path: root/moretrains_japan/init.lua
diff options
context:
space:
mode:
authorrbduck <rbduck@platen-software.de>2020-03-11 17:07:48 +0100
committerrbduck <rbduck@platen-software.de>2020-03-11 17:07:48 +0100
commitd24cb5ccb9f337dc20af26ca41c998e1126fe524 (patch)
treec8502e587179dfecad56ddfa2618ff774992132b /moretrains_japan/init.lua
parent6953185d8c26e2f09808a51d1a6d34a6ab48711d (diff)
downloadmoretrains-d24cb5ccb9f337dc20af26ca41c998e1126fe524.tar.gz
moretrains-d24cb5ccb9f337dc20af26ca41c998e1126fe524.tar.bz2
moretrains-d24cb5ccb9f337dc20af26ca41c998e1126fe524.zip
animated japanese trains
Diffstat (limited to 'moretrains_japan/init.lua')
-rw-r--r--moretrains_japan/init.lua32
1 files changed, 16 insertions, 16 deletions
diff --git a/moretrains_japan/init.lua b/moretrains_japan/init.lua
index 1268926..a5f6344 100644
--- a/moretrains_japan/init.lua
+++ b/moretrains_japan/init.lua
@@ -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},