From 907e8bf6a64215a516fdf16869dd81248aeaa2f6 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 17 Mar 2017 16:53:18 -0400 Subject: update digilines, technic, unified inventory, and switched castles to the new modpack form --- castle_tapestries/LICENSE | 21 ++ castle_tapestries/README.txt | 13 ++ castle_tapestries/depends.txt | 3 + castle_tapestries/description.txt | 1 + castle_tapestries/init.lua | 205 ++++++++++++++++++ castle_tapestries/intllib.lua | 45 ++++ castle_tapestries/locale/template.pot | 33 +++ castle_tapestries/mod.conf | 1 + castle_tapestries/models/LICENSE.txt | 5 + castle_tapestries/models/castle_tapestry.obj | 212 +++++++++++++++++++ castle_tapestries/models/castle_tapestry_long.obj | 220 ++++++++++++++++++++ .../models/castle_tapestry_very_long.obj | 228 +++++++++++++++++++++ castle_tapestries/screenshot.png | Bin 0 -> 26720 bytes castle_tapestries/textures/castle_tapestry.png | Bin 0 -> 323 bytes castle_tapestries/textures/castle_tapestry_inv.png | Bin 0 -> 2062 bytes .../textures/castle_tapestry_long_inv.png | Bin 0 -> 1822 bytes .../textures/castle_tapestry_very_long_inv.png | Bin 0 -> 1376 bytes 17 files changed, 987 insertions(+) create mode 100644 castle_tapestries/LICENSE create mode 100644 castle_tapestries/README.txt create mode 100644 castle_tapestries/depends.txt create mode 100644 castle_tapestries/description.txt create mode 100644 castle_tapestries/init.lua create mode 100644 castle_tapestries/intllib.lua create mode 100644 castle_tapestries/locale/template.pot create mode 100644 castle_tapestries/mod.conf create mode 100644 castle_tapestries/models/LICENSE.txt create mode 100644 castle_tapestries/models/castle_tapestry.obj create mode 100644 castle_tapestries/models/castle_tapestry_long.obj create mode 100644 castle_tapestries/models/castle_tapestry_very_long.obj create mode 100644 castle_tapestries/screenshot.png create mode 100644 castle_tapestries/textures/castle_tapestry.png create mode 100644 castle_tapestries/textures/castle_tapestry_inv.png create mode 100644 castle_tapestries/textures/castle_tapestry_long_inv.png create mode 100644 castle_tapestries/textures/castle_tapestry_very_long_inv.png (limited to 'castle_tapestries') diff --git a/castle_tapestries/LICENSE b/castle_tapestries/LICENSE new file mode 100644 index 0000000..456d091 --- /dev/null +++ b/castle_tapestries/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Minetest Mods Team + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/castle_tapestries/README.txt b/castle_tapestries/README.txt new file mode 100644 index 0000000..dc5885f --- /dev/null +++ b/castle_tapestries/README.txt @@ -0,0 +1,13 @@ +=-=-=-=-=-=-=-=-=-= + +Tapestries Mod +by: Philipbenr And DanDuncombe + +=-=-=-=-=-=-=-=-=-= + +Licence: MIT + +see: LICENSE + + +This mod contains tapestries of three different lengths, and a wooden crosspiece to hang them from. The tapestries can be dyed any color once hung. \ No newline at end of file diff --git a/castle_tapestries/depends.txt b/castle_tapestries/depends.txt new file mode 100644 index 0000000..fe7e3d9 --- /dev/null +++ b/castle_tapestries/depends.txt @@ -0,0 +1,3 @@ +default +unifieddyes +intllib? diff --git a/castle_tapestries/description.txt b/castle_tapestries/description.txt new file mode 100644 index 0000000..29d4bd2 --- /dev/null +++ b/castle_tapestries/description.txt @@ -0,0 +1 @@ +This is a mod for creating medieval tapestries, as found in castles diff --git a/castle_tapestries/init.lua b/castle_tapestries/init.lua new file mode 100644 index 0000000..03e318d --- /dev/null +++ b/castle_tapestries/init.lua @@ -0,0 +1,205 @@ +-- internationalization boilerplate +local MP = minetest.get_modpath(minetest.get_current_modname()) +local S, NS = dofile(MP.."/intllib.lua") + +local tapestry = {} + +minetest.register_alias("castle:tapestry_top", "castle_tapestries:tapestry_top") +minetest.register_alias("castle:tapestry", "castle_tapestries:tapestry") +minetest.register_alias("castle:tapestry_long", "castle_tapestries:tapestry_long") +minetest.register_alias("castle:tapestry_very_long", "castle_tapestries:tapestry_very_long") + +minetest.register_node("castle_tapestries:tapestry_top", { + drawtype = "nodebox", + description = S("Tapestry Top"), + tiles = {"default_wood.png"}, + sunlight_propagates = true, + groups = {flammable=3,oddly_breakable_by_hand=3}, + sounds = default.node_sound_defaults(), + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.6,-0.5,0.375,0.6,-0.375,0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.6,-0.5,0.375,0.6,-0.375,0.5}, + }, + }, +}) + +minetest.register_craft({ + type = "shapeless", + output = 'castle_tapestries:tapestry_top', + recipe = {'default:stick'}, +}) + +tapestry.colours = { + "white", + "grey", + "black", + "red", + "yellow", + "green", + "cyan", + "blue", + "magenta", + "orange", + "violet", + "dark_grey", + "dark_green", + "pink", + "brown", +} + +-- Regular-length tapestry + +minetest.register_node("castle_tapestries:tapestry", { + drawtype = "mesh", + mesh = "castle_tapestry.obj", + description = S("Tapestry"), + tiles = {"castle_tapestry.png"}, + inventory_image = "castle_tapestry_inv.png", + groups = {oddly_breakable_by_hand=3,flammable=3, ud_param2_colorable = 1}, + sounds = default.node_sound_defaults(), + paramtype = "light", + paramtype2 = "colorwallmounted", + palette = "unifieddyes_palette_colorwallmounted.png", + selection_box = { + type = "wallmounted", + wall_side = {-0.5,-0.5,0.4375,0.5,1.5,0.5}, + }, + after_place_node = unifieddyes.fix_rotation_nsew, + after_dig_node = unifieddyes.after_dig_node, + on_rotate = unifieddyes.fix_after_screwdriver_nsew +}) + +-- Crafting from wool and a stick + +minetest.register_craft({ + type = "shapeless", + output = 'castle_tapestries:tapestry', + recipe = {'wool:white', 'default:stick'}, +}) + +-- Long tapestry + +minetest.register_node("castle_tapestries:tapestry_long", { + drawtype = "mesh", + mesh = "castle_tapestry_long.obj", + description = S("Tapestry (Long)"), + tiles = {"castle_tapestry.png"}, + inventory_image = "castle_tapestry_long_inv.png", + groups = {oddly_breakable_by_hand=3,flammable=3, ud_param2_colorable = 1}, + sounds = default.node_sound_defaults(), + paramtype = "light", + paramtype2 = "colorwallmounted", + palette = "unifieddyes_palette_colorwallmounted.png", + selection_box = { + type = "wallmounted", + wall_side = {-0.5,-0.5,0.4375,0.5,2.5,0.5}, + }, + after_place_node = unifieddyes.fix_rotation_nsew, + after_dig_node = unifieddyes.after_dig_node, + on_rotate = unifieddyes.fix_after_screwdriver_nsew +}) + +-- Crafting from normal tapestry and wool + +minetest.register_craft({ + type = "shapeless", + output = 'castle_tapestries:tapestry_long', + recipe = {'wool:white', 'castle_tapestries:tapestry'}, +}) + +-- Very long tapestry + +minetest.register_node("castle_tapestries:tapestry_very_long", { + drawtype = "mesh", + mesh = "castle_tapestry_very_long.obj", + description = S("Tapestry (Very Long)"), + tiles = {"castle_tapestry.png"}, + inventory_image = "castle_tapestry_very_long_inv.png", + groups = {oddly_breakable_by_hand=3,flammable=3, ud_param2_colorable = 1}, + sounds = default.node_sound_defaults(), + paramtype = "light", + paramtype2 = "colorwallmounted", + palette = "unifieddyes_palette_colorwallmounted.png", + selection_box = { + type = "wallmounted", + wall_side = {-0.5,-0.5,0.4375,0.5,3.5,0.5}, + }, + after_place_node = unifieddyes.fix_rotation_nsew, + after_dig_node = unifieddyes.after_dig_node, + on_rotate = unifieddyes.fix_after_screwdriver_nsew +}) + +-- Crafting from long tapestry and wool + +minetest.register_craft({ + type = "shapeless", + output = 'castle_tapestries:tapestry_very_long', + recipe = {'wool:white', 'castle_tapestries:tapestry_long'}, +}) + +-- Convert static tapestries to param2 color + +local old_static_tapestries = {} + +for _, color in ipairs(tapestry.colours) do + table.insert(old_static_tapestries, "castle:tapestry_"..color) + table.insert(old_static_tapestries, "castle:long_tapestry_"..color) + table.insert(old_static_tapestries, "castle:very_long_tapestry_"..color) +end + +minetest.register_lbm({ + name = "castle_tapestries:convert_tapestries", + label = "Convert tapestries to use param2 color", + run_at_every_load = false, + nodenames = old_static_tapestries, + action = function(pos, node) + local oldname = node.name + local color = string.sub(oldname, string.find(oldname, "_", -12) + 1) + + if color == "red" then + color = "medium_red" + elseif color == "cyan" then + color = "medium_cyan" + elseif color == "blue" then + color = "medium_blue" + elseif color == "magenta" then + color = "medium_magenta" + end + + local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted") + + local old_fdir = math.floor(node.param2 % 32) + local new_fdir = 3 + + if old_fdir == 0 then + new_fdir = 3 + elseif old_fdir == 1 then + new_fdir = 4 + elseif old_fdir == 2 then + new_fdir = 2 + elseif old_fdir == 3 then + new_fdir = 5 + end + + local param2 = paletteidx + new_fdir + local newname = "castle_tapestries:tapestry" + if string.find(oldname, ":long") then + newname = "castle_tapestries:tapestry_long" + elseif string.find(oldname, ":very_long") then + newname = "castle_tapestries:tapestry_very_long" + end + + minetest.set_node(pos, { name = newname, param2 = param2 }) + local meta = minetest.get_meta(pos) + meta:set_string("dye", "unifieddyes:"..color) + end +}) diff --git a/castle_tapestries/intllib.lua b/castle_tapestries/intllib.lua new file mode 100644 index 0000000..6669d72 --- /dev/null +++ b/castle_tapestries/intllib.lua @@ -0,0 +1,45 @@ + +-- Fallback functions for when `intllib` is not installed. +-- Code released under Unlicense . + +-- Get the latest version of this file at: +-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua + +local function format(str, ...) + local args = { ... } + local function repl(escape, open, num, close) + if escape == "" then + local replacement = tostring(args[tonumber(num)]) + if open == "" then + replacement = replacement..close + end + return replacement + else + return "@"..open..num..close + end + end + return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl)) +end + +local gettext, ngettext +if minetest.get_modpath("intllib") then + if intllib.make_gettext_pair then + -- New method using gettext. + gettext, ngettext = intllib.make_gettext_pair() + else + -- Old method using text files. + gettext = intllib.Getter() + end +end + +-- Fill in missing functions. + +gettext = gettext or function(msgid, ...) + return format(msgid, ...) +end + +ngettext = ngettext or function(msgid, msgid_plural, n, ...) + return format(n==1 and msgid or msgid_plural, ...) +end + +return gettext, ngettext diff --git a/castle_tapestries/locale/template.pot b/castle_tapestries/locale/template.pot new file mode 100644 index 0000000..0a0745a --- /dev/null +++ b/castle_tapestries/locale/template.pot @@ -0,0 +1,33 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-02-25 14:32-0700\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: init.lua:14 +msgid "Tapestry Top" +msgstr "" + +#: init.lua:64 +msgid "Tapestry" +msgstr "" + +#: init.lua:94 +msgid "Tapestry (Long)" +msgstr "" + +#: init.lua:124 +msgid "Tapestry (Very Long)" +msgstr "" diff --git a/castle_tapestries/mod.conf b/castle_tapestries/mod.conf new file mode 100644 index 0000000..6d86a0d --- /dev/null +++ b/castle_tapestries/mod.conf @@ -0,0 +1 @@ +name = castle_tapestries diff --git a/castle_tapestries/models/LICENSE.txt b/castle_tapestries/models/LICENSE.txt new file mode 100644 index 0000000..80d15c1 --- /dev/null +++ b/castle_tapestries/models/LICENSE.txt @@ -0,0 +1,5 @@ +License Textures: Stuart Jones - WTFPL + +-castle_crossbow_bolt_inv.png +-castle_crossbow_bolt_uv.png +-castle_crossbow_hit.png diff --git a/castle_tapestries/models/castle_tapestry.obj b/castle_tapestries/models/castle_tapestry.obj new file mode 100644 index 0000000..5465c46 --- /dev/null +++ b/castle_tapestries/models/castle_tapestry.obj @@ -0,0 +1,212 @@ +# Blender v2.72 (sub 0) OBJ File: 'castle_tapestry.blend' +# www.blender.org +o Cube +v -0.500000 0.500000 -0.125000 +v -0.437500 0.500000 -0.125000 +v -0.500000 0.500000 1.500000 +v -0.437500 0.500000 1.500000 +v -0.437500 -0.500000 1.500000 +v -0.500000 -0.500000 1.500000 +v -0.437500 0.125000 -0.250000 +v -0.500000 0.125000 -0.250000 +v -0.500000 0.125000 -0.375000 +v -0.437500 0.125000 -0.375000 +v -0.437500 0.187500 -0.375000 +v -0.500000 0.187500 -0.375000 +v -0.500000 0.312500 -0.500000 +v -0.437500 0.312500 -0.500000 +v -0.437500 0.312500 -0.375000 +v -0.500000 0.312500 -0.375000 +v -0.500000 0.375000 -0.375000 +v -0.437500 0.375000 -0.375000 +v -0.437500 0.375000 -0.250000 +v -0.500000 0.375000 -0.250000 +v -0.437500 -0.187500 -0.500000 +v -0.500000 -0.312500 -0.500000 +v -0.437500 -0.312500 -0.500000 +v -0.500000 0.187500 -0.500000 +v -0.437500 0.187500 -0.500000 +v -0.500000 0.437500 -0.250000 +v -0.437500 0.437500 -0.250000 +v -0.437500 0.437500 -0.125000 +v -0.500000 0.437500 -0.125000 +v -0.437500 0.062500 -0.250000 +v -0.500000 0.062500 -0.250000 +v -0.437500 0.062500 -0.125000 +v -0.500000 0.062500 -0.125000 +v -0.437500 -0.062500 -0.125000 +v -0.500000 -0.062500 -0.125000 +v -0.437500 -0.062500 -0.250000 +v -0.500000 -0.062500 -0.250000 +v -0.437500 -0.125000 -0.250000 +v -0.500000 -0.125000 -0.250000 +v -0.437500 -0.125000 -0.375000 +v -0.500000 -0.125000 -0.375000 +v -0.437500 -0.187500 -0.375000 +v -0.500000 -0.187500 -0.375000 +v -0.500000 -0.187500 -0.500000 +v -0.500000 -0.312500 -0.375000 +v -0.437500 -0.312500 -0.375000 +v -0.500000 -0.375000 -0.375000 +v -0.437500 -0.375000 -0.375000 +v -0.500000 -0.375000 -0.250000 +v -0.437500 -0.375000 -0.250000 +v -0.500000 -0.437500 -0.250000 +v -0.437500 -0.437500 -0.250000 +v -0.500000 -0.437500 -0.125000 +v -0.437500 -0.437500 -0.125000 +v -0.500000 -0.500000 -0.125000 +v -0.437500 -0.500000 -0.125000 +v -0.500000 0.500000 0.500000 +v -0.437500 0.500000 0.500000 +v -0.500000 -0.500000 0.500000 +v -0.437500 -0.500000 0.500000 +v -0.500000 0.343750 -0.375000 +vt 0.062500 0.000000 +vt 0.062500 1.000000 +vt 0.000000 1.000000 +vt 0.000003 0.000000 +vt 0.937500 0.250000 +vt 1.000000 0.250000 +vt 1.000000 0.375000 +vt 0.937500 0.375000 +vt 0.625000 0.937500 +vt 0.625000 0.999999 +vt 0.562500 0.999999 +vt 0.562500 0.937500 +vt 0.937500 0.125000 +vt 1.000000 0.125000 +vt 0.687500 0.937500 +vt 0.687500 0.999999 +vt 0.937500 0.000000 +vt 1.000000 0.000000 +vt 0.062500 0.125000 +vt 0.000000 0.125000 +vt 0.875000 0.937500 +vt 0.875000 1.000000 +vt 0.812500 1.000000 +vt 0.812500 0.937500 +vt 0.843750 0.937500 +vt 0.062500 0.250000 +vt 0.000000 0.250000 +vt 0.937500 0.937500 +vt 0.937500 1.000000 +vt 0.062500 0.375000 +vt 0.000000 0.375000 +vt 1.000000 0.937500 +vt 1.000000 1.000000 +vt 0.437500 0.937500 +vt 0.437500 0.999999 +vt 0.375000 0.999999 +vt 0.375000 0.937500 +vt 0.312500 0.999999 +vt 0.312500 0.937500 +vt 0.187500 0.937500 +vt 0.187500 0.999999 +vt 0.125000 0.999999 +vt 0.125000 0.937500 +vt 0.062500 0.937500 +vt 0.000000 0.937500 +vt 0.625000 0.000000 +vt 0.625000 0.062500 +vt 0.625000 0.437500 +vt 0.625000 0.562500 +vt 0.375000 0.437500 +vt 0.375000 0.062500 +vt 0.375000 0.000000 +vt 0.375000 0.562500 +vt 0.250000 0.437500 +vt 0.250000 0.375000 +vt 0.250000 0.125000 +vt 0.250000 0.062500 +vt 0.250000 0.937500 +vt 0.250000 0.875000 +vt 0.250000 0.625000 +vt 0.250000 0.562500 +vt 0.750000 0.562500 +vt 0.750000 0.625000 +vt 0.750000 0.875000 +vt 0.750000 0.937500 +vt 0.750000 0.062500 +vt 0.750000 0.125000 +vt 0.750000 0.375000 +vt 0.750000 0.437500 +vt 0.875000 0.625000 +vt 0.875000 0.687500 +vt 0.875000 0.812500 +vt 0.875000 0.875000 +vt 0.875000 0.125000 +vt 0.875000 0.156250 +vt 0.875000 0.187500 +vt 0.875000 0.312500 +vt 0.875000 0.375000 +vt 1.000000 0.687500 +vt 1.000000 0.812500 +vt 1.000000 0.187500 +vt 1.000000 0.312500 +vt 0.125000 0.187500 +vt 0.125000 0.312500 +vt 0.000000 0.312500 +vt 0.000000 0.187500 +vt 0.125000 0.687500 +vt 0.125000 0.812500 +vt 0.000000 0.812500 +vt 0.000000 0.687500 +vt 0.125000 0.875000 +vt 0.125000 0.625000 +vt 0.125000 0.375000 +vt 0.125000 0.125000 +vn 0.000000 1.000000 -0.000000 +vn -0.000000 -1.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn -1.000000 0.000000 0.000000 +vn 1.000000 -0.000000 -0.000000 +vn 0.000000 0.000000 1.000000 +g Cube_Cube_Material +s off +f 57/1/1 3/2/1 4/3/1 58/4/1 +f 31/5/2 30/6/2 32/7/2 33/8/2 +f 8/9/3 7/10/3 30/11/3 31/12/3 +f 9/13/2 10/14/2 7/6/2 8/5/2 +f 12/15/3 11/16/3 10/10/3 9/9/3 +f 24/17/2 25/18/2 11/14/2 12/13/2 +f 16/19/1 15/20/1 14/4/1 13/1/1 +f 17/21/3 18/22/3 15/23/3 16/24/3 61/25/3 +f 20/26/1 19/27/1 18/20/1 17/19/1 +f 26/28/3 27/29/3 19/22/3 20/21/3 +f 29/30/1 28/31/1 27/27/1 26/26/1 +f 1/32/3 2/33/3 28/29/3 29/28/3 +f 37/34/3 36/35/3 38/36/3 39/37/3 +f 39/26/1 38/27/1 40/20/1 41/19/1 +f 41/37/3 40/36/3 42/38/3 43/39/3 +f 22/17/2 23/18/2 46/14/2 45/13/2 +f 45/40/3 46/41/3 48/42/3 47/43/3 +f 47/13/2 48/14/2 50/6/2 49/5/2 +f 49/43/3 50/42/3 52/2/3 51/44/3 +f 51/5/2 52/6/2 54/7/2 53/8/2 +f 53/44/3 54/2/3 56/3/3 55/45/3 +f 43/19/1 42/20/1 21/4/1 44/1/1 +f 14/23/3 25/16/3 24/15/3 13/24/3 +f 60/18/2 5/33/2 6/29/2 59/17/2 +f 21/38/3 23/41/3 22/40/3 44/39/3 +f 57/18/4 59/33/4 6/3/4 3/4/4 +f 60/3/5 58/4/5 4/18/5 5/33/5 +f 1/30/1 57/2/1 58/3/1 2/31/1 +f 56/7/2 60/33/2 59/29/2 55/8/2 +f 1/46/4 29/47/4 33/48/4 35/49/4 53/9/4 55/10/4 59/3/4 57/4/4 +f 32/50/5 28/51/5 2/52/5 58/18/5 60/33/5 56/36/5 54/37/5 34/53/5 +f 34/31/1 36/27/1 37/26/1 35/30/1 +f 30/54/5 7/55/5 19/56/5 27/57/5 28/51/5 32/50/5 +f 34/53/5 54/37/5 52/58/5 50/59/5 38/60/5 36/61/5 +f 53/9/4 35/49/4 37/62/4 39/63/4 49/64/4 51/65/4 +f 29/47/4 26/66/4 20/67/4 8/68/4 31/69/4 33/48/4 +f 33/12/3 32/11/3 34/35/3 35/34/3 +f 49/64/4 39/63/4 41/70/4 43/71/4 45/72/4 47/73/4 +f 8/68/4 20/67/4 17/74/4 61/75/4 16/76/4 12/77/4 9/78/4 +f 45/72/4 43/71/4 44/79/4 22/80/4 +f 12/77/4 16/76/4 13/81/4 24/82/4 +f 15/83/5 11/84/5 25/85/5 14/86/5 +f 42/87/5 46/88/5 23/89/5 21/90/5 +f 38/60/5 50/59/5 48/91/5 46/88/5 42/87/5 40/92/5 +f 7/55/5 10/93/5 11/84/5 15/83/5 18/94/5 19/56/5 +f 3/33/6 6/3/6 5/45/6 4/32/6 diff --git a/castle_tapestries/models/castle_tapestry_long.obj b/castle_tapestries/models/castle_tapestry_long.obj new file mode 100644 index 0000000..f240853 --- /dev/null +++ b/castle_tapestries/models/castle_tapestry_long.obj @@ -0,0 +1,220 @@ +# Blender v2.72 (sub 0) OBJ File: 'castle_tapestry_long.blend' +# www.blender.org +o Cube +v -0.500000 0.500000 -0.125000 +v -0.437500 0.500000 -0.125000 +v -0.500000 0.500001 1.500000 +v -0.437499 0.500000 1.500000 +v -0.437500 -0.500000 1.500000 +v -0.500000 -0.500000 1.500000 +v -0.437500 0.125000 -0.250000 +v -0.500000 0.125000 -0.250000 +v -0.500000 0.125000 -0.375000 +v -0.437500 0.125000 -0.375000 +v -0.437500 0.187500 -0.375000 +v -0.500000 0.187500 -0.375000 +v -0.500000 0.312500 -0.500000 +v -0.437500 0.312500 -0.500000 +v -0.437500 0.312500 -0.375000 +v -0.500000 0.312500 -0.375000 +v -0.500000 0.375000 -0.375000 +v -0.437500 0.375000 -0.375000 +v -0.437500 0.375000 -0.250000 +v -0.500000 0.375000 -0.250000 +v -0.437500 -0.187500 -0.500000 +v -0.500000 -0.312500 -0.500000 +v -0.437500 -0.312500 -0.500000 +v -0.500000 0.187500 -0.500000 +v -0.437500 0.187500 -0.500000 +v -0.500000 0.437500 -0.250000 +v -0.437500 0.437500 -0.250000 +v -0.437500 0.437500 -0.125000 +v -0.500000 0.437500 -0.125000 +v -0.437500 0.062500 -0.250000 +v -0.500000 0.062500 -0.250000 +v -0.437500 0.062500 -0.125000 +v -0.500000 0.062500 -0.125000 +v -0.437500 -0.062500 -0.125000 +v -0.500000 -0.062500 -0.125000 +v -0.437500 -0.062500 -0.250000 +v -0.500000 -0.062500 -0.250000 +v -0.437500 -0.125000 -0.250000 +v -0.500000 -0.125000 -0.250000 +v -0.437500 -0.125000 -0.375000 +v -0.500000 -0.125000 -0.375000 +v -0.437500 -0.187500 -0.375000 +v -0.500000 -0.187500 -0.375000 +v -0.500000 -0.187500 -0.500000 +v -0.500000 -0.312500 -0.375000 +v -0.437500 -0.312500 -0.375000 +v -0.500000 -0.375000 -0.375000 +v -0.437500 -0.375000 -0.375000 +v -0.500000 -0.375000 -0.250000 +v -0.437500 -0.375000 -0.250000 +v -0.500000 -0.437500 -0.250000 +v -0.437500 -0.437500 -0.250000 +v -0.500000 -0.437500 -0.125000 +v -0.437500 -0.437500 -0.125000 +v -0.500000 -0.500000 -0.125000 +v -0.437500 -0.500000 -0.125000 +v -0.500000 0.500000 0.500000 +v -0.437500 0.500000 0.500000 +v -0.500000 -0.500000 0.500000 +v -0.437500 -0.500000 0.500000 +v -0.500000 0.500001 2.500000 +v -0.437499 0.500000 2.500000 +v -0.437500 -0.500000 2.500000 +v -0.500000 -0.500000 2.500000 +v -0.500000 0.343750 -0.375000 +vt 0.062500 0.000000 +vt 0.062500 1.000000 +vt 0.000000 1.000000 +vt 0.000003 0.000000 +vt 0.937500 0.250000 +vt 1.000000 0.250000 +vt 1.000000 0.375000 +vt 0.937500 0.375000 +vt 0.625000 0.937500 +vt 0.625000 0.999999 +vt 0.562500 0.999999 +vt 0.562500 0.937500 +vt 0.937500 0.125000 +vt 1.000000 0.125000 +vt 0.687500 0.937500 +vt 0.687500 0.999999 +vt 0.937500 0.000000 +vt 1.000000 0.000000 +vt 0.062500 0.125000 +vt 0.000000 0.125000 +vt 0.875000 0.937500 +vt 0.875000 1.000000 +vt 0.812500 1.000000 +vt 0.812500 0.937500 +vt 0.843750 0.937500 +vt 0.062500 0.250000 +vt 0.000000 0.250000 +vt 0.937500 0.937500 +vt 0.937500 1.000000 +vt 0.062500 0.375000 +vt 0.000000 0.375000 +vt 1.000000 0.937500 +vt 1.000000 1.000000 +vt 0.437500 0.937500 +vt 0.437500 0.999999 +vt 0.375000 0.999999 +vt 0.375000 0.937500 +vt 0.312500 0.999999 +vt 0.312500 0.937500 +vt 0.187500 0.937500 +vt 0.187500 0.999999 +vt 0.125000 0.999999 +vt 0.125000 0.937500 +vt 0.062500 0.937500 +vt 0.000000 0.937500 +vt 0.625000 0.000000 +vt 0.625000 0.062500 +vt 0.625000 0.437500 +vt 0.625000 0.562500 +vt 0.375000 0.437500 +vt 0.375000 0.062500 +vt 0.375000 0.000000 +vt 0.375000 0.562500 +vt 0.250000 0.437500 +vt 0.250000 0.375000 +vt 0.250000 0.125000 +vt 0.250000 0.062500 +vt 0.250000 0.937500 +vt 0.250000 0.875000 +vt 0.250000 0.625000 +vt 0.250000 0.562500 +vt 0.750000 0.562500 +vt 0.750000 0.625000 +vt 0.750000 0.875000 +vt 0.750000 0.937500 +vt 0.750000 0.062500 +vt 0.750000 0.125000 +vt 0.750000 0.375000 +vt 0.750000 0.437500 +vt 0.875000 0.625000 +vt 0.875000 0.687500 +vt 0.875000 0.812500 +vt 0.875000 0.875000 +vt 0.875000 0.125000 +vt 0.875000 0.156250 +vt 0.875000 0.187500 +vt 0.875000 0.312500 +vt 0.875000 0.375000 +vt 1.000000 0.687500 +vt 1.000000 0.812500 +vt 1.000000 0.187500 +vt 1.000000 0.312500 +vt 0.125000 0.187500 +vt 0.125000 0.312500 +vt 0.000000 0.312500 +vt 0.000000 0.187500 +vt 0.125000 0.687500 +vt 0.125000 0.812500 +vt 0.000000 0.812500 +vt 0.000000 0.687500 +vt 0.125000 0.875000 +vt 0.125000 0.625000 +vt 0.125000 0.375000 +vt 0.125000 0.125000 +vn 0.000000 1.000000 0.000000 +vn -0.000000 -1.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn -1.000000 0.000000 0.000000 +vn 1.000000 -0.000000 -0.000000 +vn 0.000000 0.000000 1.000000 +g Cube_Cube_Material +s off +f 57/1/1 3/2/1 4/3/1 58/4/1 +f 31/5/2 30/6/2 32/7/2 33/8/2 +f 8/9/3 7/10/3 30/11/3 31/12/3 +f 9/13/2 10/14/2 7/6/2 8/5/2 +f 12/15/3 11/16/3 10/10/3 9/9/3 +f 24/17/2 25/18/2 11/14/2 12/13/2 +f 16/19/1 15/20/1 14/4/1 13/1/1 +f 17/21/3 18/22/3 15/23/3 16/24/3 65/25/3 +f 20/26/1 19/27/1 18/20/1 17/19/1 +f 26/28/3 27/29/3 19/22/3 20/21/3 +f 29/30/1 28/31/1 27/27/1 26/26/1 +f 1/32/3 2/33/3 28/29/3 29/28/3 +f 37/34/3 36/35/3 38/36/3 39/37/3 +f 39/26/1 38/27/1 40/20/1 41/19/1 +f 41/37/3 40/36/3 42/38/3 43/39/3 +f 22/17/2 23/18/2 46/14/2 45/13/2 +f 45/40/3 46/41/3 48/42/3 47/43/3 +f 47/13/2 48/14/2 50/6/2 49/5/2 +f 49/43/3 50/42/3 52/2/3 51/44/3 +f 51/5/2 52/6/2 54/7/2 53/8/2 +f 53/44/3 54/2/3 56/3/3 55/45/3 +f 43/19/1 42/20/1 21/4/1 44/1/1 +f 14/23/3 25/16/3 24/15/3 13/24/3 +f 60/18/2 5/33/2 6/29/2 59/17/2 +f 21/38/3 23/41/3 22/40/3 44/39/3 +f 57/18/4 59/33/4 6/3/4 3/4/4 +f 60/3/5 58/4/5 4/18/5 5/33/5 +f 1/30/1 57/2/1 58/3/1 2/31/1 +f 56/7/2 60/33/2 59/29/2 55/8/2 +f 1/46/4 29/47/4 33/48/4 35/49/4 53/9/4 55/10/4 59/3/4 57/4/4 +f 32/50/5 28/51/5 2/52/5 58/18/5 60/33/5 56/36/5 54/37/5 34/53/5 +f 34/31/1 36/27/1 37/26/1 35/30/1 +f 30/54/5 7/55/5 19/56/5 27/57/5 28/51/5 32/50/5 +f 34/53/5 54/37/5 52/58/5 50/59/5 38/60/5 36/61/5 +f 53/9/4 35/49/4 37/62/4 39/63/4 49/64/4 51/65/4 +f 29/47/4 26/66/4 20/67/4 8/68/4 31/69/4 33/48/4 +f 33/12/3 32/11/3 34/35/3 35/34/3 +f 3/1/1 61/2/1 62/3/1 4/4/1 +f 5/18/2 63/33/2 64/29/2 6/17/2 +f 3/18/4 6/33/4 64/3/4 61/4/4 +f 5/3/5 4/4/5 62/18/5 63/33/5 +f 49/64/4 39/63/4 41/70/4 43/71/4 45/72/4 47/73/4 +f 8/68/4 20/67/4 17/74/4 65/75/4 16/76/4 12/77/4 9/78/4 +f 45/72/4 43/71/4 44/79/4 22/80/4 +f 12/77/4 16/76/4 13/81/4 24/82/4 +f 15/83/5 11/84/5 25/85/5 14/86/5 +f 42/87/5 46/88/5 23/89/5 21/90/5 +f 38/60/5 50/59/5 48/91/5 46/88/5 42/87/5 40/92/5 +f 7/55/5 10/93/5 11/84/5 15/83/5 18/94/5 19/56/5 +f 61/33/6 64/3/6 63/45/6 62/32/6 diff --git a/castle_tapestries/models/castle_tapestry_very_long.obj b/castle_tapestries/models/castle_tapestry_very_long.obj new file mode 100644 index 0000000..bfe9843 --- /dev/null +++ b/castle_tapestries/models/castle_tapestry_very_long.obj @@ -0,0 +1,228 @@ +# Blender v2.72 (sub 0) OBJ File: 'castle_tapestry_very_long.blend' +# www.blender.org +o Cube +v -0.500000 0.500000 -0.125000 +v -0.437500 0.500000 -0.125000 +v -0.500000 0.500001 1.500000 +v -0.437499 0.500000 1.500000 +v -0.437500 -0.500000 1.500000 +v -0.500000 -0.500000 1.500000 +v -0.437500 0.125000 -0.250000 +v -0.500000 0.125000 -0.250000 +v -0.500000 0.125000 -0.375000 +v -0.437500 0.125000 -0.375000 +v -0.437500 0.187500 -0.375000 +v -0.500000 0.187500 -0.375000 +v -0.500000 0.312500 -0.500000 +v -0.437500 0.312500 -0.500000 +v -0.437500 0.312500 -0.375000 +v -0.500000 0.312500 -0.375000 +v -0.500000 0.375000 -0.375000 +v -0.437500 0.375000 -0.375000 +v -0.437500 0.375000 -0.250000 +v -0.500000 0.375000 -0.250000 +v -0.437500 -0.187500 -0.500000 +v -0.500000 -0.312500 -0.500000 +v -0.437500 -0.312500 -0.500000 +v -0.500000 0.187500 -0.500000 +v -0.437500 0.187500 -0.500000 +v -0.500000 0.437500 -0.250000 +v -0.437500 0.437500 -0.250000 +v -0.437500 0.437500 -0.125000 +v -0.500000 0.437500 -0.125000 +v -0.437500 0.062500 -0.250000 +v -0.500000 0.062500 -0.250000 +v -0.437500 0.062500 -0.125000 +v -0.500000 0.062500 -0.125000 +v -0.437500 -0.062500 -0.125000 +v -0.500000 -0.062500 -0.125000 +v -0.437500 -0.062500 -0.250000 +v -0.500000 -0.062500 -0.250000 +v -0.437500 -0.125000 -0.250000 +v -0.500000 -0.125000 -0.250000 +v -0.437500 -0.125000 -0.375000 +v -0.500000 -0.125000 -0.375000 +v -0.437500 -0.187500 -0.375000 +v -0.500000 -0.187500 -0.375000 +v -0.500000 -0.187500 -0.500000 +v -0.500000 -0.312500 -0.375000 +v -0.437500 -0.312500 -0.375000 +v -0.500000 -0.375000 -0.375000 +v -0.437500 -0.375000 -0.375000 +v -0.500000 -0.375000 -0.250000 +v -0.437500 -0.375000 -0.250000 +v -0.500000 -0.437500 -0.250000 +v -0.437500 -0.437500 -0.250000 +v -0.500000 -0.437500 -0.125000 +v -0.437500 -0.437500 -0.125000 +v -0.500000 -0.500000 -0.125000 +v -0.437500 -0.500000 -0.125000 +v -0.500000 0.500000 0.500000 +v -0.437500 0.500000 0.500000 +v -0.500000 -0.500000 0.500000 +v -0.437500 -0.500000 0.500000 +v -0.500000 0.500001 2.500000 +v -0.437499 0.500000 2.500000 +v -0.437500 -0.500000 2.500000 +v -0.500000 -0.500000 2.500000 +v -0.500000 0.500001 3.500000 +v -0.437499 0.500000 3.500000 +v -0.437500 -0.500000 3.500000 +v -0.500000 -0.500000 3.500000 +v -0.500000 0.343750 -0.375000 +vt 0.062500 0.000000 +vt 0.062500 1.000000 +vt 0.000000 1.000000 +vt 0.000003 0.000000 +vt 0.937500 0.250000 +vt 1.000000 0.250000 +vt 1.000000 0.375000 +vt 0.937500 0.375000 +vt 0.625000 0.937500 +vt 0.625000 0.999999 +vt 0.562500 0.999999 +vt 0.562500 0.937500 +vt 0.937500 0.125000 +vt 1.000000 0.125000 +vt 0.687500 0.937500 +vt 0.687500 0.999999 +vt 0.937500 0.000000 +vt 1.000000 0.000000 +vt 0.062500 0.125000 +vt 0.000000 0.125000 +vt 0.875000 0.937500 +vt 0.875000 1.000000 +vt 0.812500 1.000000 +vt 0.812500 0.937500 +vt 0.843750 0.937500 +vt 0.062500 0.250000 +vt 0.000000 0.250000 +vt 0.937500 0.937500 +vt 0.937500 1.000000 +vt 0.062500 0.375000 +vt 0.000000 0.375000 +vt 1.000000 0.937500 +vt 1.000000 1.000000 +vt 0.437500 0.937500 +vt 0.437500 0.999999 +vt 0.375000 0.999999 +vt 0.375000 0.937500 +vt 0.312500 0.999999 +vt 0.312500 0.937500 +vt 0.187500 0.937500 +vt 0.187500 0.999999 +vt 0.125000 0.999999 +vt 0.125000 0.937500 +vt 0.062500 0.937500 +vt 0.000000 0.937500 +vt 0.625000 0.000000 +vt 0.625000 0.062500 +vt 0.625000 0.437500 +vt 0.625000 0.562500 +vt 0.375000 0.437500 +vt 0.375000 0.062500 +vt 0.375000 0.000000 +vt 0.375000 0.562500 +vt 0.250000 0.437500 +vt 0.250000 0.375000 +vt 0.250000 0.125000 +vt 0.250000 0.062500 +vt 0.250000 0.937500 +vt 0.250000 0.875000 +vt 0.250000 0.625000 +vt 0.250000 0.562500 +vt 0.750000 0.562500 +vt 0.750000 0.625000 +vt 0.750000 0.875000 +vt 0.750000 0.937500 +vt 0.750000 0.062500 +vt 0.750000 0.125000 +vt 0.750000 0.375000 +vt 0.750000 0.437500 +vt 0.875000 0.625000 +vt 0.875000 0.687500 +vt 0.875000 0.812500 +vt 0.875000 0.875000 +vt 0.875000 0.125000 +vt 0.875000 0.156250 +vt 0.875000 0.187500 +vt 0.875000 0.312500 +vt 0.875000 0.375000 +vt 1.000000 0.687500 +vt 1.000000 0.812500 +vt 1.000000 0.187500 +vt 1.000000 0.312500 +vt 0.125000 0.187500 +vt 0.125000 0.312500 +vt 0.000000 0.312500 +vt 0.000000 0.187500 +vt 0.125000 0.687500 +vt 0.125000 0.812500 +vt 0.000000 0.812500 +vt 0.000000 0.687500 +vt 0.125000 0.875000 +vt 0.125000 0.625000 +vt 0.125000 0.375000 +vt 0.125000 0.125000 +vn 0.000000 1.000000 0.000000 +vn -0.000000 -1.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn -1.000000 0.000000 0.000000 +vn 1.000000 -0.000000 -0.000000 +vn 0.000000 0.000000 1.000000 +g Cube_Cube_Material +s off +f 57/1/1 3/2/1 4/3/1 58/4/1 +f 31/5/2 30/6/2 32/7/2 33/8/2 +f 8/9/3 7/10/3 30/11/3 31/12/3 +f 9/13/2 10/14/2 7/6/2 8/5/2 +f 12/15/3 11/16/3 10/10/3 9/9/3 +f 24/17/2 25/18/2 11/14/2 12/13/2 +f 16/19/1 15/20/1 14/4/1 13/1/1 +f 17/21/3 18/22/3 15/23/3 16/24/3 69/25/3 +f 20/26/1 19/27/1 18/20/1 17/19/1 +f 26/28/3 27/29/3 19/22/3 20/21/3 +f 29/30/1 28/31/1 27/27/1 26/26/1 +f 1/32/3 2/33/3 28/29/3 29/28/3 +f 37/34/3 36/35/3 38/36/3 39/37/3 +f 39/26/1 38/27/1 40/20/1 41/19/1 +f 41/37/3 40/36/3 42/38/3 43/39/3 +f 22/17/2 23/18/2 46/14/2 45/13/2 +f 45/40/3 46/41/3 48/42/3 47/43/3 +f 47/13/2 48/14/2 50/6/2 49/5/2 +f 49/43/3 50/42/3 52/2/3 51/44/3 +f 51/5/2 52/6/2 54/7/2 53/8/2 +f 53/44/3 54/2/3 56/3/3 55/45/3 +f 43/19/1 42/20/1 21/4/1 44/1/1 +f 14/23/3 25/16/3 24/15/3 13/24/3 +f 60/18/2 5/33/2 6/29/2 59/17/2 +f 21/38/3 23/41/3 22/40/3 44/39/3 +f 57/18/4 59/33/4 6/3/4 3/4/4 +f 60/3/5 58/4/5 4/18/5 5/33/5 +f 1/30/1 57/2/1 58/3/1 2/31/1 +f 56/7/2 60/33/2 59/29/2 55/8/2 +f 1/46/4 29/47/4 33/48/4 35/49/4 53/9/4 55/10/4 59/3/4 57/4/4 +f 32/50/5 28/51/5 2/52/5 58/18/5 60/33/5 56/36/5 54/37/5 34/53/5 +f 34/31/1 36/27/1 37/26/1 35/30/1 +f 30/54/5 7/55/5 19/56/5 27/57/5 28/51/5 32/50/5 +f 34/53/5 54/37/5 52/58/5 50/59/5 38/60/5 36/61/5 +f 53/9/4 35/49/4 37/62/4 39/63/4 49/64/4 51/65/4 +f 29/47/4 26/66/4 20/67/4 8/68/4 31/69/4 33/48/4 +f 33/12/3 32/11/3 34/35/3 35/34/3 +f 3/1/1 61/2/1 62/3/1 4/4/1 +f 65/33/6 68/3/6 67/45/6 66/32/6 +f 5/18/2 63/33/2 64/29/2 6/17/2 +f 3/18/4 6/33/4 64/3/4 61/4/4 +f 5/3/5 4/4/5 62/18/5 63/33/5 +f 61/1/1 65/2/1 66/3/1 62/4/1 +f 63/18/2 67/33/2 68/29/2 64/17/2 +f 61/18/4 64/33/4 68/3/4 65/4/4 +f 63/3/5 62/4/5 66/18/5 67/33/5 +f 49/64/4 39/63/4 41/70/4 43/71/4 45/72/4 47/73/4 +f 8/68/4 20/67/4 17/74/4 69/75/4 16/76/4 12/77/4 9/78/4 +f 45/72/4 43/71/4 44/79/4 22/80/4 +f 12/77/4 16/76/4 13/81/4 24/82/4 +f 15/83/5 11/84/5 25/85/5 14/86/5 +f 42/87/5 46/88/5 23/89/5 21/90/5 +f 38/60/5 50/59/5 48/91/5 46/88/5 42/87/5 40/92/5 +f 7/55/5 10/93/5 11/84/5 15/83/5 18/94/5 19/56/5 diff --git a/castle_tapestries/screenshot.png b/castle_tapestries/screenshot.png new file mode 100644 index 0000000..838038e Binary files /dev/null and b/castle_tapestries/screenshot.png differ diff --git a/castle_tapestries/textures/castle_tapestry.png b/castle_tapestries/textures/castle_tapestry.png new file mode 100644 index 0000000..e807340 Binary files /dev/null and b/castle_tapestries/textures/castle_tapestry.png differ diff --git a/castle_tapestries/textures/castle_tapestry_inv.png b/castle_tapestries/textures/castle_tapestry_inv.png new file mode 100644 index 0000000..99c1b2e Binary files /dev/null and b/castle_tapestries/textures/castle_tapestry_inv.png differ diff --git a/castle_tapestries/textures/castle_tapestry_long_inv.png b/castle_tapestries/textures/castle_tapestry_long_inv.png new file mode 100644 index 0000000..ce04c40 Binary files /dev/null and b/castle_tapestries/textures/castle_tapestry_long_inv.png differ diff --git a/castle_tapestries/textures/castle_tapestry_very_long_inv.png b/castle_tapestries/textures/castle_tapestry_very_long_inv.png new file mode 100644 index 0000000..6fcca22 Binary files /dev/null and b/castle_tapestries/textures/castle_tapestry_very_long_inv.png differ -- cgit v1.2.3