aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_japan
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2017-01-24 19:09:33 +0100
committerorwell96 <mono96.mml@gmail.com>2017-01-24 19:09:33 +0100
commita2d0b1b8f2f6ba2864e1dbbfc2457583114152ea (patch)
tree7be8bd62f5e2069899b4e3759c4031482fb00592 /advtrains/advtrains_train_japan
parent631e77b1898baeee96418e9011a1d9c0dc2d7162 (diff)
downloadadvtrains-a2d0b1b8f2f6ba2864e1dbbfc2457583114152ea.tar.gz
advtrains-a2d0b1b8f2f6ba2864e1dbbfc2457583114152ea.tar.bz2
advtrains-a2d0b1b8f2f6ba2864e1dbbfc2457583114152ea.zip
Create new models and textures for japanese train
Diffstat (limited to 'advtrains/advtrains_train_japan')
-rw-r--r--advtrains/advtrains_train_japan/init.lua24
-rw-r--r--advtrains/advtrains_train_japan/models/advtrains_engine_japan.b3dbin165287 -> 437635 bytes
-rw-r--r--advtrains/advtrains_train_japan/models/advtrains_wagon_japan.b3dbin171991 -> 554284 bytes
-rw-r--r--advtrains/advtrains_train_japan/textures/advtrains_engine_japan.pngbin12664 -> 27935 bytes
-rw-r--r--advtrains/advtrains_train_japan/textures/advtrains_wagon_japan.pngbin11175 -> 54396 bytes
5 files changed, 22 insertions, 2 deletions
diff --git a/advtrains/advtrains_train_japan/init.lua b/advtrains/advtrains_train_japan/init.lua
index a0c82cd..ad26fd1 100644
--- a/advtrains/advtrains_train_japan/init.lua
+++ b/advtrains/advtrains_train_japan/init.lua
@@ -14,10 +14,20 @@ advtrains.register_wagon("engine_japan", {
{
name=S("Driver stand"),
attach_offset={x=0, y=10, z=0},
- view_offset={x=0, y=6, z=0},
+ view_offset={x=0, y=0, z=0},
driving_ctrl_access=true,
},
},
+ 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}
+ }
+ },
visual_size = {x=1, y=1},
wagon_span=2.5,
is_locomotive=true,
@@ -34,8 +44,18 @@ advtrains.register_wagon("wagon_japan", {
{
name=S("Default Seat"),
attach_offset={x=0, y=10, z=0},
- view_offset={x=0, y=6, z=0},
+ view_offset={x=0, y=0, z=0},
+ },
+ },
+ 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}
+ }
},
visual_size = {x=1, y=1},
wagon_span=2.3,
diff --git a/advtrains/advtrains_train_japan/models/advtrains_engine_japan.b3d b/advtrains/advtrains_train_japan/models/advtrains_engine_japan.b3d
index f82c33e..218d965 100644
--- a/advtrains/advtrains_train_japan/models/advtrains_engine_japan.b3d
+++ b/advtrains/advtrains_train_japan/models/advtrains_engine_japan.b3d
Binary files differ
diff --git a/advtrains/advtrains_train_japan/models/advtrains_wagon_japan.b3d b/advtrains/advtrains_train_japan/models/advtrains_wagon_japan.b3d
index 7970438..e6263dd 100644
--- a/advtrains/advtrains_train_japan/models/advtrains_wagon_japan.b3d
+++ b/advtrains/advtrains_train_japan/models/advtrains_wagon_japan.b3d
Binary files differ
diff --git a/advtrains/advtrains_train_japan/textures/advtrains_engine_japan.png b/advtrains/advtrains_train_japan/textures/advtrains_engine_japan.png
index b286b38..2bc5fb8 100644
--- a/advtrains/advtrains_train_japan/textures/advtrains_engine_japan.png
+++ b/advtrains/advtrains_train_japan/textures/advtrains_engine_japan.png
Binary files differ
diff --git a/advtrains/advtrains_train_japan/textures/advtrains_wagon_japan.png b/advtrains/advtrains_train_japan/textures/advtrains_wagon_japan.png
index bee565e..c9cddc8 100644
--- a/advtrains/advtrains_train_japan/textures/advtrains_wagon_japan.png
+++ b/advtrains/advtrains_train_japan/textures/advtrains_wagon_japan.png
Binary files differ