From a2d0b1b8f2f6ba2864e1dbbfc2457583114152ea Mon Sep 17 00:00:00 2001 From: orwell96 Date: Tue, 24 Jan 2017 19:09:33 +0100 Subject: Create new models and textures for japanese train --- advtrains/advtrains_train_japan/init.lua | 24 +++++++++++++++++++-- .../models/advtrains_engine_japan.b3d | Bin 165287 -> 437635 bytes .../models/advtrains_wagon_japan.b3d | Bin 171991 -> 554284 bytes .../textures/advtrains_engine_japan.png | Bin 12664 -> 27935 bytes .../textures/advtrains_wagon_japan.png | Bin 11175 -> 54396 bytes 5 files changed, 22 insertions(+), 2 deletions(-) (limited to 'advtrains/advtrains_train_japan') 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 Binary files a/advtrains/advtrains_train_japan/models/advtrains_engine_japan.b3d and b/advtrains/advtrains_train_japan/models/advtrains_engine_japan.b3d 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 Binary files a/advtrains/advtrains_train_japan/models/advtrains_wagon_japan.b3d and b/advtrains/advtrains_train_japan/models/advtrains_wagon_japan.b3d 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 Binary files a/advtrains/advtrains_train_japan/textures/advtrains_engine_japan.png and b/advtrains/advtrains_train_japan/textures/advtrains_engine_japan.png 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 Binary files a/advtrains/advtrains_train_japan/textures/advtrains_wagon_japan.png and b/advtrains/advtrains_train_japan/textures/advtrains_wagon_japan.png differ -- cgit v1.2.3