diff options
author | DS-Minetest <vorunbekannt75@web.de> | 2017-01-01 17:58:21 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2017-01-02 14:59:52 +0100 |
commit | 7415036f5b3e75e182bb3818b7e68718022319c1 (patch) | |
tree | 1cc20d77d3863fbbf1c0d191a9ec765cd8c0d233 | |
parent | 1bd936ad8c9e326f9466af66d78c8bda75bfd1c6 (diff) |
Make insulated cossover to mesh
This removes the weird "holes" in the isolation of the crossing
-rw-r--r-- | mesecons_extrawires/crossover.lua | 87 | ||||
-rw-r--r-- | mesecons_extrawires/models/mesecons_extrawires_crossover.b3d | bin | 0 -> 3233 bytes | |||
-rw-r--r-- | mesecons_extrawires/src/mesecons_extrawires_crossover.blend | bin | 0 -> 498592 bytes | |||
-rw-r--r-- | mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_01.png | bin | 305 -> 0 bytes | |||
-rw-r--r-- | mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_10.png | bin | 270 -> 0 bytes | |||
-rw-r--r-- | mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_off.png | bin | 293 -> 0 bytes | |||
-rw-r--r-- | mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_on.png | bin | 209 -> 0 bytes | |||
-rw-r--r-- | mesecons_insulated/textures/jeija_insulated_wire_ends_01x.png | bin | 246 -> 0 bytes | |||
-rw-r--r-- | mesecons_insulated/textures/jeija_insulated_wire_ends_01z.png | bin | 252 -> 0 bytes | |||
-rw-r--r-- | mesecons_insulated/textures/jeija_insulated_wire_ends_10x.png | bin | 238 -> 0 bytes | |||
-rw-r--r-- | mesecons_insulated/textures/jeija_insulated_wire_ends_10z.png | bin | 261 -> 0 bytes |
11 files changed, 21 insertions, 66 deletions
diff --git a/mesecons_extrawires/crossover.lua b/mesecons_extrawires/crossover.lua index 4ecfc12..bbf00ff 100644 --- a/mesecons_extrawires/crossover.lua +++ b/mesecons_extrawires/crossover.lua @@ -20,27 +20,18 @@ local crossover_states = { minetest.register_node("mesecons_extrawires:crossover_off", { description = "Insulated Crossover", - drawtype = "nodebox", + drawtype = "mesh", + mesh = "mesecons_extrawires_crossover.b3d", tiles = { - "jeija_insulated_wire_crossing_tb_off.png", - "jeija_insulated_wire_crossing_tb_off.png", + "jeija_insulated_wire_ends_off.png", + "jeija_insulated_wire_sides_off.png", + "jeija_insulated_wire_sides_off.png", "jeija_insulated_wire_ends_off.png" }, paramtype = "light", walkable = false, stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, - node_box = { - type = "fixed", - fixed = { - { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }, - { -3/32, -17/32, -16/32-0.001, 3/32, -13/32, -6/32 }, - { -3/32, -13/32, -9/32, 3/32, -6/32, -6/32 }, - { -3/32, -9/32, -9/32, 3/32, -6/32, 9/32 }, - { -3/32, -13/32, 6/32, 3/32, -6/32, 9/32 }, - { -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 }, - }, - }, groups = {dig_immediate=3, mesecon=3}, mesecons = { conductor = { @@ -53,30 +44,18 @@ minetest.register_node("mesecons_extrawires:crossover_off", { minetest.register_node("mesecons_extrawires:crossover_01", { description = "You hacker you!", drop = "mesecons_extrawires:crossover_off", - drawtype = "nodebox", + drawtype = "mesh", + mesh = "mesecons_extrawires_crossover.b3d", tiles = { - "jeija_insulated_wire_crossing_tb_01.png", - "jeija_insulated_wire_crossing_tb_01.png", - "jeija_insulated_wire_ends_01x.png", - "jeija_insulated_wire_ends_01x.png", - "jeija_insulated_wire_ends_01z.png", - "jeija_insulated_wire_ends_01z.png" + "jeija_insulated_wire_ends_on.png", + "jeija_insulated_wire_sides_on.png", + "jeija_insulated_wire_sides_off.png", + "jeija_insulated_wire_ends_off.png" }, paramtype = "light", walkable = false, stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, - node_box = { - type = "fixed", - fixed = { - { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }, - { -3/32, -17/32, -16/32-0.001, 3/32, -13/32, -6/32 }, - { -3/32, -13/32, -9/32, 3/32, -6/32, -6/32 }, - { -3/32, -9/32, -9/32, 3/32, -6/32, 9/32 }, - { -3/32, -13/32, 6/32, 3/32, -6/32, 9/32 }, - { -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 }, - }, - }, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, mesecons = { conductor = { @@ -89,30 +68,18 @@ minetest.register_node("mesecons_extrawires:crossover_01", { minetest.register_node("mesecons_extrawires:crossover_10", { description = "You hacker you!", drop = "mesecons_extrawires:crossover_off", - drawtype = "nodebox", + drawtype = "mesh", + mesh = "mesecons_extrawires_crossover.b3d", tiles = { - "jeija_insulated_wire_crossing_tb_10.png", - "jeija_insulated_wire_crossing_tb_10.png", - "jeija_insulated_wire_ends_10x.png", - "jeija_insulated_wire_ends_10x.png", - "jeija_insulated_wire_ends_10z.png", - "jeija_insulated_wire_ends_10z.png" + "jeija_insulated_wire_ends_off.png", + "jeija_insulated_wire_sides_off.png", + "jeija_insulated_wire_sides_on.png", + "jeija_insulated_wire_ends_on.png" }, paramtype = "light", walkable = false, stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, - node_box = { - type = "fixed", - fixed = { - { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }, - { -3/32, -17/32, -16/32-0.001, 3/32, -13/32, -6/32 }, - { -3/32, -13/32, -9/32, 3/32, -6/32, -6/32 }, - { -3/32, -9/32, -9/32, 3/32, -6/32, 9/32 }, - { -3/32, -13/32, 6/32, 3/32, -6/32, 9/32 }, - { -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 }, - }, - }, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, mesecons = { conductor = { @@ -125,30 +92,18 @@ minetest.register_node("mesecons_extrawires:crossover_10", { minetest.register_node("mesecons_extrawires:crossover_on", { description = "You hacker you!", drop = "mesecons_extrawires:crossover_off", - drawtype = "nodebox", + drawtype = "mesh", + mesh = "mesecons_extrawires_crossover.b3d", tiles = { - "jeija_insulated_wire_crossing_tb_on.png", - "jeija_insulated_wire_crossing_tb_on.png", - "jeija_insulated_wire_ends_on.png", - "jeija_insulated_wire_ends_on.png", "jeija_insulated_wire_ends_on.png", + "jeija_insulated_wire_sides_on.png", + "jeija_insulated_wire_sides_on.png", "jeija_insulated_wire_ends_on.png" }, paramtype = "light", walkable = false, stack_max = 99, selection_box = {type="fixed", fixed={-16/32-0.0001, -18/32, -16/32-0.001, 16/32+0.001, -5/32, 16/32+0.001}}, - node_box = { - type = "fixed", - fixed = { - { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }, - { -3/32, -17/32, -16/32-0.001, 3/32, -13/32, -6/32 }, - { -3/32, -13/32, -9/32, 3/32, -6/32, -6/32 }, - { -3/32, -9/32, -9/32, 3/32, -6/32, 9/32 }, - { -3/32, -13/32, 6/32, 3/32, -6/32, 9/32 }, - { -3/32, -17/32, 6/32, 3/32, -13/32, 16/32+0.001 }, - }, - }, groups = {dig_immediate=3, mesecon=3, not_in_creative_inventory=1}, mesecons = { conductor = { diff --git a/mesecons_extrawires/models/mesecons_extrawires_crossover.b3d b/mesecons_extrawires/models/mesecons_extrawires_crossover.b3d Binary files differnew file mode 100644 index 0000000..e776535 --- /dev/null +++ b/mesecons_extrawires/models/mesecons_extrawires_crossover.b3d diff --git a/mesecons_extrawires/src/mesecons_extrawires_crossover.blend b/mesecons_extrawires/src/mesecons_extrawires_crossover.blend Binary files differnew file mode 100644 index 0000000..9ad3749 --- /dev/null +++ b/mesecons_extrawires/src/mesecons_extrawires_crossover.blend diff --git a/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_01.png b/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_01.png Binary files differdeleted file mode 100644 index d872b2b..0000000 --- a/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_01.png +++ /dev/null diff --git a/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_10.png b/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_10.png Binary files differdeleted file mode 100644 index ae06dea..0000000 --- a/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_10.png +++ /dev/null diff --git a/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_off.png b/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_off.png Binary files differdeleted file mode 100644 index 41b5ff4..0000000 --- a/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_off.png +++ /dev/null diff --git a/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_on.png b/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_on.png Binary files differdeleted file mode 100644 index 154288b..0000000 --- a/mesecons_insulated/textures/jeija_insulated_wire_crossing_tb_on.png +++ /dev/null diff --git a/mesecons_insulated/textures/jeija_insulated_wire_ends_01x.png b/mesecons_insulated/textures/jeija_insulated_wire_ends_01x.png Binary files differdeleted file mode 100644 index b742152..0000000 --- a/mesecons_insulated/textures/jeija_insulated_wire_ends_01x.png +++ /dev/null diff --git a/mesecons_insulated/textures/jeija_insulated_wire_ends_01z.png b/mesecons_insulated/textures/jeija_insulated_wire_ends_01z.png Binary files differdeleted file mode 100644 index 497a467..0000000 --- a/mesecons_insulated/textures/jeija_insulated_wire_ends_01z.png +++ /dev/null diff --git a/mesecons_insulated/textures/jeija_insulated_wire_ends_10x.png b/mesecons_insulated/textures/jeija_insulated_wire_ends_10x.png Binary files differdeleted file mode 100644 index d407cff..0000000 --- a/mesecons_insulated/textures/jeija_insulated_wire_ends_10x.png +++ /dev/null diff --git a/mesecons_insulated/textures/jeija_insulated_wire_ends_10z.png b/mesecons_insulated/textures/jeija_insulated_wire_ends_10z.png Binary files differdeleted file mode 100644 index 830d390..0000000 --- a/mesecons_insulated/textures/jeija_insulated_wire_ends_10z.png +++ /dev/null |