aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--advtrains_train_industrial/init.lua50
-rw-r--r--advtrains_train_industrial/models/advtrains_engine_industrial.b3dbin143659 -> 138641 bytes
-rw-r--r--advtrains_train_industrial/models/advtrains_engine_industrial_big.b3dbin0 -> 283441 bytes
-rw-r--r--advtrains_train_industrial/models/advtrains_wagon_tank.b3dbin223975 -> 155412 bytes
-rw-r--r--advtrains_train_industrial/models/advtrains_wagon_wood.b3dbin193975 -> 182813 bytes
-rw-r--r--advtrains_train_industrial/sounds/advtrains_industrial_horn.oggbin24325 -> 54380 bytes
-rw-r--r--advtrains_train_industrial/textures/advtrains_engine_industrial.pngbin59019 -> 23044 bytes
-rw-r--r--advtrains_train_industrial/textures/advtrains_engine_industrial_big.pngbin0 -> 23765 bytes
-rw-r--r--advtrains_train_industrial/textures/advtrains_wagon_tank.pngbin8975 -> 23411 bytes
-rw-r--r--advtrains_train_industrial/textures/advtrains_wagon_wood.pngbin5974 -> 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
index f1ea485..58010c7 100644
--- a/advtrains_train_industrial/models/advtrains_engine_industrial.b3d
+++ b/advtrains_train_industrial/models/advtrains_engine_industrial.b3d
Binary files differ
diff --git a/advtrains_train_industrial/models/advtrains_engine_industrial_big.b3d b/advtrains_train_industrial/models/advtrains_engine_industrial_big.b3d
new file mode 100644
index 0000000..e8a50a2
--- /dev/null
+++ b/advtrains_train_industrial/models/advtrains_engine_industrial_big.b3d
Binary files differ
diff --git a/advtrains_train_industrial/models/advtrains_wagon_tank.b3d b/advtrains_train_industrial/models/advtrains_wagon_tank.b3d
index af2604b..4f28d6c 100644
--- a/advtrains_train_industrial/models/advtrains_wagon_tank.b3d
+++ b/advtrains_train_industrial/models/advtrains_wagon_tank.b3d
Binary files differ
diff --git a/advtrains_train_industrial/models/advtrains_wagon_wood.b3d b/advtrains_train_industrial/models/advtrains_wagon_wood.b3d
index 0e7fb4b..023bf9a 100644
--- a/advtrains_train_industrial/models/advtrains_wagon_wood.b3d
+++ b/advtrains_train_industrial/models/advtrains_wagon_wood.b3d
Binary files differ
diff --git a/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg b/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg
index 2bc42c2..e8f31b3 100644
--- a/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg
+++ b/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg
Binary files differ
diff --git a/advtrains_train_industrial/textures/advtrains_engine_industrial.png b/advtrains_train_industrial/textures/advtrains_engine_industrial.png
index 38a872f..ac81bc7 100644
--- a/advtrains_train_industrial/textures/advtrains_engine_industrial.png
+++ b/advtrains_train_industrial/textures/advtrains_engine_industrial.png
Binary files differ
diff --git a/advtrains_train_industrial/textures/advtrains_engine_industrial_big.png b/advtrains_train_industrial/textures/advtrains_engine_industrial_big.png
new file mode 100644
index 0000000..0fcdc94
--- /dev/null
+++ b/advtrains_train_industrial/textures/advtrains_engine_industrial_big.png
Binary files differ
diff --git a/advtrains_train_industrial/textures/advtrains_wagon_tank.png b/advtrains_train_industrial/textures/advtrains_wagon_tank.png
index 79b1316..01100bf 100644
--- a/advtrains_train_industrial/textures/advtrains_wagon_tank.png
+++ b/advtrains_train_industrial/textures/advtrains_wagon_tank.png
Binary files differ
diff --git a/advtrains_train_industrial/textures/advtrains_wagon_wood.png b/advtrains_train_industrial/textures/advtrains_wagon_wood.png
index acc6f72..145dcd8 100644
--- a/advtrains_train_industrial/textures/advtrains_wagon_wood.png
+++ b/advtrains_train_industrial/textures/advtrains_wagon_wood.png
Binary files differ