From 02025f53aae8dcae757788dd6dd1378693587988 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Tue, 18 Jun 2019 21:03:21 +0200 Subject: [PATCH] Move attachment positions down 1 node --- advtrains_train_industrial/init.lua | 4 ++-- advtrains_train_japan/init.lua | 20 ++++++++++---------- advtrains_train_steam/init.lua | 4 ++-- advtrains_train_subway/init.lua | 10 +++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua index fcd85d1..7fbe97c 100644 --- a/advtrains_train_industrial/init.lua +++ b/advtrains_train_industrial/init.lua @@ -14,7 +14,7 @@ advtrains.register_wagon("engine_industrial", { seats = { { name=S("Driver Stand (right)"), - attach_offset={x=5, y=7, z=-8}, + attach_offset={x=5, y=-3, z=-8}, view_offset={x=5.2, y=-4, z=0}, driving_ctrl_access=true, group = "dstand", @@ -59,7 +59,7 @@ advtrains.register_wagon("engine_industrial_big", { }, { name=S("Driver Stand (left)"), - attach_offset={x=5, y=7, z=-8}, + attach_offset={x=5, y=-3, z=-8}, view_offset={x=-5.2, y=-4, z=0}, driving_ctrl_access=true, group = "dstand", diff --git a/advtrains_train_japan/init.lua b/advtrains_train_japan/init.lua index 97c7817..a811dd1 100644 --- a/advtrains_train_japan/init.lua +++ b/advtrains_train_japan/init.lua @@ -13,31 +13,31 @@ advtrains.register_wagon("engine_japan", { seats = { { name=S("Driver stand"), - attach_offset={x=0, y=8, z=13}, + attach_offset={x=0, y=-2, z=13}, view_offset={x=0, y=0, z=0}, group="dstand", }, { name="1", - attach_offset={x=-4, y=8, z=0}, + attach_offset={x=-4, y=-2, z=0}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="2", - attach_offset={x=4, y=8, z=0}, + attach_offset={x=4, y=-2, z=0}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="3", - attach_offset={x=-4, y=8, z=-8}, + attach_offset={x=-4, y=-2, z=-8}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="4", - attach_offset={x=4, y=8, z=-8}, + attach_offset={x=4, y=-2, z=-8}, view_offset={x=0, y=0, z=0}, group="pass", }, @@ -84,31 +84,31 @@ advtrains.register_wagon("wagon_japan", { seats = { { name="1", - attach_offset={x=-4, y=8, z=8}, + attach_offset={x=-4, y=-2, z=8}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="2", - attach_offset={x=4, y=8, z=8}, + attach_offset={x=4, y=-2, z=8}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="1a", - attach_offset={x=-4, y=8, z=0}, + attach_offset={x=-4, y=-2, z=0}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="2a", - attach_offset={x=4, y=8, z=0}, + attach_offset={x=4, y=-2, z=0}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="3", - attach_offset={x=-4, y=8, z=-8}, + attach_offset={x=-4, y=-2, z=-8}, view_offset={x=0, y=0, z=0}, group="pass", }, diff --git a/advtrains_train_steam/init.lua b/advtrains_train_steam/init.lua index 5d6955c..2c60dd7 100755 --- a/advtrains_train_steam/init.lua +++ b/advtrains_train_steam/init.lua @@ -17,13 +17,13 @@ advtrains.register_wagon("newlocomotive", { seats = { { name=S("Driver Stand (left)"), - attach_offset={x=-5, y=10, z=-10}, + attach_offset={x=-5, y=0, z=-10}, view_offset={x=0, y=6, z=0}, group = "dstand", }, { name=S("Driver Stand (right)"), - attach_offset={x=5, y=10, z=-10}, + attach_offset={x=5, y=0, z=-10}, view_offset={x=0, y=6, z=0}, group = "dstand", }, diff --git a/advtrains_train_subway/init.lua b/advtrains_train_subway/init.lua index 864fa2f..0c19009 100644 --- a/advtrains_train_subway/init.lua +++ b/advtrains_train_subway/init.lua @@ -13,31 +13,31 @@ advtrains.register_wagon("subway_wagon", { seats = { { name="Driver stand", - attach_offset={x=0, y=10, z=0}, + attach_offset={x=0, y=0, z=0}, view_offset={x=0, y=0, z=0}, group="dstand", }, { name="1", - attach_offset={x=-4, y=8, z=8}, + attach_offset={x=-4, y=-2, z=8}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="2", - attach_offset={x=4, y=8, z=8}, + attach_offset={x=4, y=-2, z=8}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="3", - attach_offset={x=-4, y=8, z=-8}, + attach_offset={x=-4, y=-2, z=-8}, view_offset={x=0, y=0, z=0}, group="pass", }, { name="4", - attach_offset={x=4, y=8, z=-8}, + attach_offset={x=4, y=-2, z=-8}, view_offset={x=0, y=0, z=0}, group="pass", },