diff options
author | mbb <mbb-mail@gmx.de> | 2017-12-07 21:29:17 +0100 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2017-12-12 22:28:57 +0100 |
commit | 875eb90acbc07636a02d28f8002e369b631eb961 (patch) | |
tree | 3e217c7797a69ef4b08c8379925bcc3c679ca912 | |
parent | e9c51dfab40806c32346f461c52587236977408d (diff) | |
download | advtrains-875eb90acbc07636a02d28f8002e369b631eb961.tar.gz advtrains-875eb90acbc07636a02d28f8002e369b631eb961.tar.bz2 advtrains-875eb90acbc07636a02d28f8002e369b631eb961.zip |
Improve textures and models of industrial train and add new more powerful industrial engine
-rw-r--r-- | advtrains_train_industrial/init.lua | 50 | ||||
-rw-r--r-- | advtrains_train_industrial/models/advtrains_engine_industrial.b3d | bin | 143659 -> 138641 bytes | |||
-rw-r--r-- | advtrains_train_industrial/models/advtrains_engine_industrial_big.b3d | bin | 0 -> 283441 bytes | |||
-rw-r--r-- | advtrains_train_industrial/models/advtrains_wagon_tank.b3d | bin | 223975 -> 155412 bytes | |||
-rw-r--r-- | advtrains_train_industrial/models/advtrains_wagon_wood.b3d | bin | 193975 -> 182813 bytes | |||
-rw-r--r-- | advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg | bin | 24325 -> 54380 bytes | |||
-rw-r--r-- | advtrains_train_industrial/textures/advtrains_engine_industrial.png | bin | 59019 -> 23044 bytes | |||
-rw-r--r-- | advtrains_train_industrial/textures/advtrains_engine_industrial_big.png | bin | 0 -> 23765 bytes | |||
-rw-r--r-- | advtrains_train_industrial/textures/advtrains_wagon_tank.png | bin | 8975 -> 23411 bytes | |||
-rw-r--r-- | advtrains_train_industrial/textures/advtrains_wagon_wood.png | bin | 5974 -> 21622 bytes |
10 files changed, 44 insertions, 6 deletions
diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua index 42804f3..a60bf74 100644 --- a/advtrains_train_industrial/init.lua +++ b/advtrains_train_industrial/init.lua @@ -13,22 +13,23 @@ advtrains.register_wagon("engine_industrial", { max_speed=20, seats = { { - name=S("Driver Stand (left)"), - attach_offset={x=-5, y=10, z=-10}, - view_offset={x=0, y=10, z=0}, + name=S("Driver Stand (right)"), + attach_offset={x=5, y=7, z=-8}, + view_offset={x=5.2, y=-4, z=0}, driving_ctrl_access=true, group = "dstand", }, { - name=S("Driver Stand (right)"), - attach_offset={x=5, y=10, z=-10}, - view_offset={x=0, y=10, z=0}, + name=S("Driver Stand (left)"), + attach_offset={x=5, y=7, z=-8}, + view_offset={x=-5.2, y=-4, z=0}, driving_ctrl_access=true, group = "dstand", }, }, seat_groups = { dstand={ + name = "Driver Stand", access_to = {}, }, @@ -41,6 +42,43 @@ advtrains.register_wagon("engine_industrial", { drops={"default:steelblock 4"}, horn_sound = "advtrains_industrial_horn", }, S("Industrial Train Engine"), "advtrains_engine_industrial_inv.png") +--big-- +advtrains.register_wagon("engine_industrial_big", { + mesh="advtrains_engine_industrial_big.b3d", + textures = {"advtrains_engine_industrial_big.png"}, + drives_on={default=true}, + max_speed=30, + seats = { + { + name=S("Driver Stand (right)"), + attach_offset={x=5, y=7, z=20}, + view_offset={x=5.2, y=-4, z=11}, + driving_ctrl_access=true, + group = "dstand", + }, + { + name=S("Driver Stand (left)"), + attach_offset={x=5, y=7, z=-8}, + view_offset={x=-5.2, y=-4, z=0}, + driving_ctrl_access=true, + group = "dstand", + }, + }, + seat_groups = { + dstand={ + + name = "Driver Stand", + access_to = {}, + }, + }, + assign_to_seat_group = {"dstand"}, + visual_size = {x=1, y=1}, + wagon_span=4, + is_locomotive=true, + collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0}, + drops={"default:steelblock 4"}, + horn_sound = "advtrains_industrial_horn", +}, S("Big Industrial Train Engine"), "advtrains_engine_industrial_inv.png") advtrains.register_wagon("wagon_tank", { mesh="advtrains_wagon_tank.b3d", textures = {"advtrains_wagon_tank.png"}, diff --git a/advtrains_train_industrial/models/advtrains_engine_industrial.b3d b/advtrains_train_industrial/models/advtrains_engine_industrial.b3d Binary files differindex f1ea485..58010c7 100644 --- a/advtrains_train_industrial/models/advtrains_engine_industrial.b3d +++ b/advtrains_train_industrial/models/advtrains_engine_industrial.b3d diff --git a/advtrains_train_industrial/models/advtrains_engine_industrial_big.b3d b/advtrains_train_industrial/models/advtrains_engine_industrial_big.b3d Binary files differnew file mode 100644 index 0000000..e8a50a2 --- /dev/null +++ b/advtrains_train_industrial/models/advtrains_engine_industrial_big.b3d diff --git a/advtrains_train_industrial/models/advtrains_wagon_tank.b3d b/advtrains_train_industrial/models/advtrains_wagon_tank.b3d Binary files differindex af2604b..4f28d6c 100644 --- a/advtrains_train_industrial/models/advtrains_wagon_tank.b3d +++ b/advtrains_train_industrial/models/advtrains_wagon_tank.b3d diff --git a/advtrains_train_industrial/models/advtrains_wagon_wood.b3d b/advtrains_train_industrial/models/advtrains_wagon_wood.b3d Binary files differindex 0e7fb4b..023bf9a 100644 --- a/advtrains_train_industrial/models/advtrains_wagon_wood.b3d +++ b/advtrains_train_industrial/models/advtrains_wagon_wood.b3d diff --git a/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg b/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg Binary files differindex 2bc42c2..e8f31b3 100644 --- a/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg +++ b/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg diff --git a/advtrains_train_industrial/textures/advtrains_engine_industrial.png b/advtrains_train_industrial/textures/advtrains_engine_industrial.png Binary files differindex 38a872f..ac81bc7 100644 --- a/advtrains_train_industrial/textures/advtrains_engine_industrial.png +++ b/advtrains_train_industrial/textures/advtrains_engine_industrial.png diff --git a/advtrains_train_industrial/textures/advtrains_engine_industrial_big.png b/advtrains_train_industrial/textures/advtrains_engine_industrial_big.png Binary files differnew file mode 100644 index 0000000..0fcdc94 --- /dev/null +++ b/advtrains_train_industrial/textures/advtrains_engine_industrial_big.png diff --git a/advtrains_train_industrial/textures/advtrains_wagon_tank.png b/advtrains_train_industrial/textures/advtrains_wagon_tank.png Binary files differindex 79b1316..01100bf 100644 --- a/advtrains_train_industrial/textures/advtrains_wagon_tank.png +++ b/advtrains_train_industrial/textures/advtrains_wagon_tank.png diff --git a/advtrains_train_industrial/textures/advtrains_wagon_wood.png b/advtrains_train_industrial/textures/advtrains_wagon_wood.png Binary files differindex acc6f72..145dcd8 100644 --- a/advtrains_train_industrial/textures/advtrains_wagon_wood.png +++ b/advtrains_train_industrial/textures/advtrains_wagon_wood.png |