+cloths system

master
AiTechEye 2018-11-27 22:50:22 +01:00 committed by GitHub
parent a1204e434d
commit dfd78daf5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 923 additions and 28 deletions

1
depends.txt Normal file
View File

@ -0,0 +1 @@
3d_armor?

264
init.lua
View File

@ -22,6 +22,7 @@ tempsurvive={
direction=0,
offset={x=-244, y=-88}, --offset={x=-265, y=-88},
},
clothes={},
screen={
hud_elem_type = "image",
text ="tempsurvive_screen.png",
@ -42,12 +43,38 @@ tempsurvive.new=function(player)
local name=player:get_player_name()
tempsurvive.player[name]={
temp=0,
warming=0,
cooling=0,
heat_resistance=40,
coldness_resistance=-10,
full_resistance=minetest.check_player_privs(name, {no_temperature=true}),
}
end
minetest.register_on_joinplayer(function(player)
tempsurvive.new(player)
local name=player:get_player_name()
if tempsurvive.player[name].full_resistance then return end
tempsurvive.player[name].bar=player:hud_add(tempsurvive.bar)
tempsurvive.player[name].screen=player:hud_add(tempsurvive.screen)
player:get_inventory():set_size("clothes",9)
minetest.after(0.1, function(player,name)
tempsurvive.cloth_update(player)
end,player,name)
end)
minetest.register_on_respawnplayer(function(player)
local t=tempsurvive.player[player:get_player_name()]
t.temp=0
player:hud_change(t.bar, "text", tempsurvive.bar.text .."^[colorize:#00ff00cc")
player:hud_change(t.bar, "number", t.temp)
player:hud_change(t.screen, "text", tempsurvive.screen.text)
end)
minetest.register_on_leaveplayer(function(player)
tempsurvive.player[player:get_player_name()]=nil
end)
minetest.register_privilege("no_temperature", {
description = "Not affected by temperatures (relogin to take effect)",
give_to_singleplayer= false,
@ -179,6 +206,9 @@ minetest.register_globalstep(function(dtime)
temp=temp+tempsurvive.nodes[itn].add*2
end
local cr=ptemp.coldness_resistance-ptemp.warming
local hr=ptemp.heat_resistance+ptemp.cooling
local a=minetest.find_nodes_in_area({x=pos.x-3, y=pos.y-3, z=pos.z-3}, {x=pos.x+3, y=pos.y+3, z=pos.z+3}, {"group:tempsurvive"})
for i,no in pairs(a) do
@ -193,25 +223,25 @@ minetest.register_globalstep(function(dtime)
ptemp.temp=ptemp.temp-(math.floor(ptemp.temp-temp)*tempsurvive.speed)
if ptemp.temp<ptemp.coldness_resistance then
if ptemp.temp<cr then
player:punch(player,1+math.floor((ptemp.temp-ptemp.coldness_resistance)*-0.1),{full_punch_interval=1,damage_groups={fleshy=1}})
elseif ptemp.temp>ptemp.heat_resistance then
elseif ptemp.temp>hr then
player:punch(player,1+math.floor((ptemp.temp-ptemp.heat_resistance)*0.5),{full_punch_interval=1,damage_groups={fleshy=1}})
end
local pt=math.floor(math.abs(ptemp.temp))
if ptemp.temp<0 and pt<=ptemp.coldness_resistance*-1 then
local t=math.floor(pt/math.abs(ptemp.coldness_resistance)*15)
if ptemp.temp<0 and pt<=cr*-1 then
local t=math.floor(pt/math.abs(cr)*15)
local ht=tempsurvive.n2dhex(math.ceil(t/2))
player:hud_change(ptemp.bar, "text", tempsurvive.bar.text .."^[colorize:#00" .. tempsurvive.n2dhex(15-t) .. tempsurvive.n2dhex(t) .."cc")
player:hud_change(ptemp.bar, "number", 20-math.floor(pt/math.abs(ptemp.coldness_resistance)*20))
player:hud_change(ptemp.bar, "number", 20-math.floor(pt/math.abs(cr)*20))
player:hud_change(ptemp.screen, "text", tempsurvive.screen.text .."^[colorize:#00" .. ht .. tempsurvive.n2dhex(t) .. ht)
elseif ptemp.temp>=0 and pt<=ptemp.heat_resistance then
local t=math.floor(pt/math.abs(ptemp.heat_resistance)*15)
elseif ptemp.temp>=0 and pt<=hr then
local t=math.floor(pt/math.abs(hr)*15)
local ht=tempsurvive.n2dhex(math.ceil(t/2))
player:hud_change(ptemp.bar, "text", tempsurvive.bar.text .."^[colorize:#" .. tempsurvive.n2dhex(t) ..tempsurvive.n2dhex(15-t) .."00cc")
player:hud_change(ptemp.bar, "number", 20+math.floor(pt/math.abs(ptemp.heat_resistance)*20))
player:hud_change(ptemp.bar, "number", 20+math.floor(pt/math.abs(hr)*20))
player:hud_change(ptemp.screen, "text", tempsurvive.screen.text .."^[colorize:#" .. tempsurvive.n2dhex(t) .. ht .. "00" .. ht)
end
end
@ -225,26 +255,6 @@ tempsurvive.n2dhex=function(n)
return a2 .. a2
end
minetest.register_on_joinplayer(function(player)
tempsurvive.new(player)
local name=player:get_player_name()
if tempsurvive.player[name].full_resistance then return end
tempsurvive.player[name].bar=player:hud_add(tempsurvive.bar)
tempsurvive.player[name].screen=player:hud_add(tempsurvive.screen)
end)
minetest.register_on_respawnplayer(function(player)
local t=tempsurvive.player[player:get_player_name()]
t.temp=0
player:hud_change(t.bar, "text", tempsurvive.bar.text .."^[colorize:#00ff00cc")
player:hud_change(t.bar, "number", t.temp)
player:hud_change(t.screen, "text", tempsurvive.screen.text)
end)
minetest.register_on_leaveplayer(function(player)
tempsurvive.player[player:get_player_name()]=nil
end)
minetest.register_craft({
output = "tempsurvive:thermometer",
recipe = {
@ -308,4 +318,202 @@ minetest.register_node("tempsurvive:thermometer", {
meta:set_string("infotext", math.floor(temp*10)*0.1)
return true
end,
})
minetest.register_node("tempsurvive:clothes_bag", {
description = "Clothes bag",
tiles = {"tempsurvive_bag.png"},
groups = {dig_immediate=3},
drawtype="nodebox",
paramtype="light",
paramtype2="facedir",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.3125, 0.5, 0.0625, 0.375},
{-0.5, 0.0625, -0.25, 0.5, 0.125, 0.3125}
}
},
on_use=function(itemstack, user, pointed_thing)
local w,c=0,0
local inv=user:get_inventory()
for i=1,9,1 do
local name=inv:get_stack("clothes",i):get_name()
local a=tempsurvive.clothes[name]
if a then
c=c+a.cooling
w=w+a.warming
end
end
local gui="size[8,8]"
.."list[current_player;clothes;2.5,0;3,3;]"
.."list[current_player;main;0,4;8,32;]"
.."listring[current_player;main]"
.."listring[current_player;clothes]"
.."label[0,0;Warming: " .. w .."\nCooling: " .. c .."]"
minetest.after(0.1, function(gui)
return minetest.show_formspec(user:get_player_name(), "tempsurvive.bag",gui)
end, gui)
end,
on_rightclick = function(pos, node, player, itemstack, pointed_thing)
minetest.registered_nodes["tempsurvive:clothes_bag"].on_use(1,player)
end,
})
minetest.register_on_player_receive_fields(function(player, form, p)
if form=="tempsurvive.bag" and p.quit then
local inv=player:get_inventory()
local layers={}
for i=1,9,1 do
local name=inv:get_stack("clothes",i):get_name()
local clothes=tempsurvive.clothes[name]
if not clothes or layers[clothes.part .. " " .. clothes.layer] then
if inv:room_for_item("main",name) then
inv:add_item("main",inv:get_stack("clothes",i))
else
minetest.add_item(player:get_pos(), inv:get_stack("clothes",i))
end
inv:remove_item("clothes",inv:get_stack("clothes",i))
else
layers[clothes.part .. " " .. clothes.layer]=1
end
end
tempsurvive.cloth_update(player)
end
end)
tempsurvive.cloth_update=function(player)
local p=tempsurvive.player[player:get_player_name()]
local inv=player:get_inventory()
local layer={}
local layern={}
local skin=player:get_properties().textures[1]
if not p.skin or (p.skin~=skin and not string.find(skin,"%^")) then
p.skin=skin
end
local textures=p.skin
p.warming=0
p.cooling=0
for i=1,9,1 do
local clothe=tempsurvive.clothes[inv:get_stack("clothes",i):get_name()]
if clothe then
p.warming=p.warming+clothe.warming
p.cooling=p.cooling+clothe.cooling
if not layer[clothe.layer .. ""] then
layer[clothe.layer .. ""]={}
table.insert(layern,clothe.layer)
end
table.insert(layer[clothe.layer .. ""],clothe.texture)
end
end
table.sort(layern)
for i,n in ipairs(layern) do
for ii,t in pairs(layer[n .. ""]) do
textures=textures .. "^" .. t
end
end
if armor then
player:set_properties({
mesh="3d_armor_character.b3d",
textures={
textures,
player:get_properties().textures[3],
"3d_armor_trans.png"
}
})
armor:set_player_armor(player)
armor:update_inventory(player)
else
player:set_properties({textures={textures}})
end
end
--[[
tempsurvive.register_cloth(name,{
texture="", -- required
description="", -- optional
part="", -- optional (arm/leg, chested/head, head body)
layer=1, -- optional (texture layer)
warming=1, -- optional
cooling=1, -- optional
})
--]]
tempsurvive.register_clothe=function(name,def)
def.description=def.description or name
local part
local mn=minetest.get_current_modname()
if def.part=="arm" or def.part=="leg" then
part="tempsurvive_arm-leg.obj"
elseif def.part=="chested" then
part="tempsurvive_chested-head.obj"
elseif def.part=="head" then
part="tempsurvive_head.obj"
else
part="tempsurvive_body.obj"
def.part="all"
end
if not (def.warming or def.cooling) then
def.warming=2
end
if def.warming and not def.cooling then
def.cooling=def.warming*-1
elseif def.cooling and not def.warming then
def.warming=def.cooling*-1
end
tempsurvive.clothes[mn .. ":cloth_" .. name]={
warming=def.warming,
cooling=def.cooling,
part=def.part,
layer=def.layer or 2,
texture=def.texture
}
minetest.register_node(mn .. ":cloth_" .. name, {
description = def.description .. " Warming: " .. def.warming ..", Cooling: " .. def.cooling,
stack_max=1,
drop="",
tiles={def.texture},
groups={dig_immediate=3,tempsurvive_cloths=1},
drawtype="mesh",
mesh=part,
paramtype="light",
on_use=function(itemstack, user, pointed_thing)
end,
on_place = function(itemstack, placer, pointed_thing)
return
end,
on_construct = function(pos)
minetest.after(0.01, function(pos)
minetest.remove_node(pos)
end,pos)
end,
})
if def.craft then
minetest.register_craft({
output = mn .. ":cloth_" .. name,
recipe = def.craft
})
end
end
minetest.register_craft({
output = "tempsurvive:clothes_bag",
recipe = {
{"group:wool","group:tempsurvive_cloths","group:wool"},
}
})

View File

@ -0,0 +1,156 @@
# Blender v2.79 (sub 0) OBJ File: 'tempsurvive_arm-leg.blend'
# www.blender.org
mtllib tempsurvive_arm-leg.mtl
o Cube.004_Cube.007
v 0.562142 -0.169375 0.019365
v 0.432745 1.309642 0.019365
v 0.008331 1.272511 0.019365
v 0.137728 -0.206507 0.019365
v 0.008331 1.272511 -0.019365
v 0.137728 -0.206507 -0.019365
v 0.432744 1.309642 -0.019365
v 0.562142 -0.169375 -0.019365
v 0.567805 -0.179312 0.019701
v 0.436334 1.323407 0.019701
v 0.004557 1.285632 0.019701
v 0.136027 -0.217088 0.019701
v 0.004556 1.285632 -0.019701
v 0.136027 -0.217088 -0.019701
v 0.436333 1.323407 -0.019701
v 0.567804 -0.179312 -0.019701
v -0.138821 -0.206413 0.019365
v -0.009424 1.272605 0.019365
v -0.433838 1.309736 0.019365
v -0.563235 -0.169281 0.019365
v -0.433838 1.309736 -0.019365
v -0.563235 -0.169281 -0.019365
v -0.009424 1.272605 -0.019365
v -0.138821 -0.206413 -0.019365
v -0.134970 -0.217182 0.019701
v -0.003499 1.285538 0.019701
v -0.435276 1.323313 0.019701
v -0.566747 -0.179406 0.019701
v -0.435276 1.323313 -0.019701
v -0.566747 -0.179406 -0.019701
v -0.003499 1.285538 -0.019701
v -0.134970 -0.217182 -0.019701
vt 0.250000 0.000618
vt 0.250000 0.375618
vt 0.187500 0.375618
vt 0.187500 0.000618
vt 0.187500 0.000015
vt 0.187500 0.375015
vt 0.125000 0.375015
vt 0.125000 0.000015
vt 0.125000 0.000617
vt 0.125000 0.375617
vt 0.062500 0.375618
vt 0.062500 0.000618
vt 0.063271 -0.000048
vt 0.063271 0.374952
vt -0.000011 0.374952
vt -0.000011 -0.000048
vt 0.125024 0.375027
vt 0.187524 0.375027
vt 0.187524 0.500027
vt 0.125024 0.500027
vt 0.062500 0.374880
vt 0.125000 0.374880
vt 0.125000 0.499880
vt 0.062500 0.499880
vt 0.875000 -0.000000
vt 0.875000 0.375000
vt 0.812500 0.375000
vt 0.812500 -0.000000
vt 0.750012 0.375000
vt 0.750012 -0.000000
vt 0.687500 0.375000
vt 0.687500 -0.000000
vt 0.625000 0.375000
vt 0.625000 0.000000
vt 0.812500 0.499382
vt 0.750000 0.499382
vt 0.750000 0.374382
vt 0.812500 0.374382
vt 0.750000 0.374382
vt 0.750000 0.499382
vt 0.687500 0.499382
vt 0.687500 0.374382
vt 0.250000 0.000618
vt 0.250000 0.375618
vt 0.187500 0.375618
vt 0.187500 0.000618
vt 0.187500 0.000015
vt 0.187500 0.375015
vt 0.125000 0.375015
vt 0.125000 0.000015
vt 0.125000 0.000617
vt 0.125000 0.375617
vt 0.062500 0.375618
vt 0.062500 0.000618
vt 0.063271 -0.000048
vt 0.063271 0.374952
vt -0.000011 0.374952
vt -0.000011 -0.000048
vt 0.125024 0.375027
vt 0.187524 0.375027
vt 0.187524 0.500027
vt 0.125024 0.500027
vt 0.062500 0.374880
vt 0.125000 0.374880
vt 0.125000 0.499880
vt 0.062500 0.499880
vt 0.875000 -0.000000
vt 0.875000 0.375000
vt 0.812500 0.375000
vt 0.812500 -0.000000
vt 0.750012 0.375000
vt 0.750012 -0.000000
vt 0.687500 0.375000
vt 0.687500 -0.000000
vt 0.625000 0.375000
vt 0.625000 0.000000
vt 0.812500 0.499382
vt 0.750000 0.499382
vt 0.750000 0.374382
vt 0.812500 0.374382
vt 0.750000 0.374382
vt 0.750000 0.499382
vt 0.687500 0.499382
vt 0.687500 0.374382
vn 0.0000 -0.0000 1.0000
vn -0.9962 -0.0872 0.0000
vn -0.0000 0.0000 -1.0000
vn 0.9962 0.0872 -0.0000
vn 0.0872 -0.9962 0.0000
vn -0.0872 0.9962 0.0000
vn -0.9962 0.0872 0.0000
vn 0.9962 -0.0872 -0.0000
vn -0.0872 -0.9962 0.0000
vn 0.0872 0.9962 0.0000
usemtl Material.002
s 1
f 1/1/1 2/2/1 3/3/1 4/4/1
f 4/5/2 3/6/2 5/7/2 6/8/2
f 6/9/3 5/10/3 7/11/3 8/12/3
f 8/13/4 7/14/4 2/15/4 1/16/4
f 4/17/5 6/18/5 8/19/5 1/20/5
f 5/21/6 3/22/6 2/23/6 7/24/6
f 9/25/1 10/26/1 11/27/1 12/28/1
f 12/28/2 11/27/2 13/29/2 14/30/2
f 14/30/3 13/29/3 15/31/3 16/32/3
f 16/32/4 15/31/4 10/33/4 9/34/4
f 12/35/5 14/36/5 16/37/5 9/38/5
f 13/39/6 11/40/6 10/41/6 15/42/6
f 17/43/1 18/44/1 19/45/1 20/46/1
f 20/47/7 19/48/7 21/49/7 22/50/7
f 22/51/3 21/52/3 23/53/3 24/54/3
f 24/55/8 23/56/8 18/57/8 17/58/8
f 20/59/9 22/60/9 24/61/9 17/62/9
f 21/63/10 19/64/10 18/65/10 23/66/10
f 25/67/1 26/68/1 27/69/1 28/70/1
f 28/70/7 27/69/7 29/71/7 30/72/7
f 30/72/3 29/71/3 31/73/3 32/74/3
f 32/74/8 31/73/8 26/75/8 25/76/8
f 28/77/9 30/78/9 32/79/9 25/80/9
f 29/81/10 27/82/10 26/83/10 31/84/10

256
models/tempsurvive_body.obj Normal file
View File

@ -0,0 +1,256 @@
# Blender v2.79 (sub 0) OBJ File: 'tempsurvive_all.blend'
# www.blender.org
mtllib tempsurvive_all.mtl
o Cube.004_Cube.007
v 0.372863 -0.195583 0.037079
v 0.372863 1.011916 0.037079
v 0.026363 -0.195583 0.037079
v 0.026363 1.011916 0.037079
v 0.372863 -0.195583 0.005579
v 0.372863 1.011916 0.005579
v 0.026363 -0.195583 0.005579
v 0.026363 1.011916 0.005579
v 0.371746 2.274483 0.052829
v 0.371746 2.904483 0.052829
v -0.321254 2.274483 0.052829
v -0.321254 2.904483 0.052829
v 0.371746 2.274483 -0.010171
v 0.371746 2.904483 -0.010171
v -0.321254 2.274483 -0.010171
v -0.321254 2.904483 -0.010171
v -0.321929 1.012877 0.037079
v -0.321929 2.272877 0.037079
v -0.668429 1.012877 0.037079
v -0.668429 2.272877 0.037079
v -0.321929 1.012877 0.005579
v -0.321929 2.272877 0.005579
v -0.668429 1.012877 0.005579
v -0.668429 2.272877 0.005579
v 0.718614 1.012877 0.037079
v 0.718614 2.272877 0.037079
v 0.372115 1.012877 0.037079
v 0.372115 2.272877 0.037079
v 0.718614 1.012877 0.005579
v 0.718614 2.272877 0.005579
v 0.372115 1.012877 0.005579
v 0.372115 2.272877 0.005579
v 0.368281 1.019177 0.036922
v 0.368281 2.266577 0.036922
v -0.317789 1.019177 0.036922
v -0.317789 2.266577 0.036922
v 0.368281 1.019177 0.005737
v 0.368281 2.266577 0.005737
v -0.317789 1.019177 0.005737
v -0.317789 2.266577 0.005737
v 0.389071 2.273708 0.054404
v 0.389071 2.935208 0.054404
v -0.338579 2.273708 0.054404
v -0.338579 2.935208 0.054404
v 0.389071 2.273708 -0.011746
v 0.389071 2.935208 -0.011746
v -0.338579 2.273708 -0.011746
v -0.338579 2.935208 -0.011746
v 0.026363 -0.195583 0.037079
v 0.026363 1.011916 0.037079
v -0.320137 -0.195583 0.037079
v -0.320137 1.011916 0.037079
v 0.026363 -0.195583 0.005579
v 0.026363 1.011916 0.005579
v -0.320137 -0.195583 0.005579
v -0.320137 1.011916 0.005579
vt 0.250000 0.000618
vt 0.250000 0.375618
vt 0.187500 0.375618
vt 0.187500 0.000618
vt 0.187500 0.000015
vt 0.187500 0.375015
vt 0.125000 0.375015
vt 0.125000 0.000015
vt 0.125000 0.000617
vt 0.125000 0.375617
vt 0.062500 0.375618
vt 0.062500 0.000618
vt 0.063271 -0.000048
vt 0.063271 0.374952
vt -0.000011 0.374952
vt -0.000011 -0.000048
vt 0.125024 0.375027
vt 0.187524 0.375027
vt 0.187524 0.500027
vt 0.125024 0.500027
vt 0.062500 0.374880
vt 0.125000 0.374880
vt 0.125000 0.499880
vt 0.062500 0.499880
vt 0.500000 0.500000
vt 0.500000 0.750000
vt 0.375000 0.750000
vt 0.375000 0.500000
vt 0.250000 0.750000
vt 0.250000 0.500000
vt 0.125000 0.750000
vt 0.125000 0.500000
vt 0.000000 0.750000
vt 0.000000 0.500000
vt 0.250000 1.000000
vt 0.250000 0.750000
vt 0.375000 0.750000
vt 0.375000 1.000000
vt 0.125000 0.750000
vt 0.250000 0.750000
vt 0.250000 1.000000
vt 0.125000 1.000000
vt 0.875000 0.000000
vt 0.875000 0.375000
vt 0.812500 0.375000
vt 0.812500 0.000000
vt 0.687500 0.000000
vt 0.687500 0.375000
vt 0.625000 0.375000
vt 0.625000 0.000000
vt 0.750000 -0.000000
vt 0.750000 0.375000
vt 0.687500 0.375000
vt 0.687500 -0.000000
vt 0.812462 0.000000
vt 0.812462 0.375000
vt 0.750038 0.375000
vt 0.750038 -0.000000
vt 0.750000 0.499382
vt 0.750000 0.374382
vt 0.812500 0.374382
vt 0.812500 0.499382
vt 0.687500 0.374382
vt 0.750000 0.374382
vt 0.750000 0.499382
vt 0.687500 0.499382
vt 0.875000 -0.000000
vt 0.875000 0.375000
vt 0.812500 0.375000
vt 0.812500 -0.000000
vt 0.750012 0.375000
vt 0.750012 -0.000000
vt 0.687500 0.375000
vt 0.687500 -0.000000
vt 0.625000 0.375000
vt 0.625000 0.000000
vt 0.812500 0.499382
vt 0.750000 0.499382
vt 0.750000 0.374382
vt 0.812500 0.374382
vt 0.750000 0.374382
vt 0.750000 0.499382
vt 0.687500 0.499382
vt 0.687500 0.374382
vt 0.625000 0.000000
vt 0.625000 0.375000
vt 0.500000 0.375000
vt 0.500000 0.000000
vt 0.624914 0.000000
vt 0.624914 0.375000
vt 0.562586 0.375000
vt 0.562586 0.000000
vt 0.437500 -0.000000
vt 0.437500 0.375000
vt 0.312500 0.375000
vt 0.312500 -0.000000
vt 0.250048 0.375000
vt 0.250048 0.000000
vt 0.437500 0.500000
vt 0.437500 0.375000
vt 0.562500 0.375000
vt 0.562500 0.500000
vt 0.437500 0.500000
vt 0.312500 0.500000
vt 1.000000 0.500000
vt 1.000000 0.750000
vt 0.875000 0.750000
vt 0.875000 0.500000
vt 0.750000 0.750000
vt 0.750000 0.500000
vt 0.625000 0.750000
vt 0.625000 0.500000
vt 0.500000 0.750000
vt 0.500000 0.500000
vt 0.750000 1.000000
vt 0.750000 0.750000
vt 0.875000 0.750000
vt 0.875000 1.000000
vt 0.625000 0.750000
vt 0.750000 0.750000
vt 0.750000 1.000000
vt 0.625000 1.000000
vt 0.250000 0.000618
vt 0.250000 0.375618
vt 0.187500 0.375618
vt 0.187500 0.000618
vt 0.187500 0.000015
vt 0.187500 0.375015
vt 0.125000 0.375015
vt 0.125000 0.000015
vt 0.125000 0.000617
vt 0.125000 0.375617
vt 0.062500 0.375618
vt 0.062500 0.000618
vt 0.063271 -0.000048
vt 0.063271 0.374952
vt -0.000011 0.374952
vt -0.000011 -0.000048
vt 0.125024 0.375027
vt 0.187524 0.375027
vt 0.187524 0.500027
vt 0.125024 0.500027
vt 0.062500 0.374880
vt 0.125000 0.374880
vt 0.125000 0.499880
vt 0.062500 0.499880
vn 0.0000 0.0000 1.0000
vn -1.0000 0.0000 0.0000
vn -0.0000 0.0000 -1.0000
vn 1.0000 0.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 1.0000 0.0000
usemtl Material
s off
f 1/1/1 2/2/1 4/3/1 3/4/1
f 3/5/2 4/6/2 8/7/2 7/8/2
f 7/9/3 8/10/3 6/11/3 5/12/3
f 5/13/4 6/14/4 2/15/4 1/16/4
f 3/17/5 7/18/5 5/19/5 1/20/5
f 8/21/6 4/22/6 2/23/6 6/24/6
f 9/25/1 10/26/1 12/27/1 11/28/1
f 11/28/2 12/27/2 16/29/2 15/30/2
f 15/30/3 16/29/3 14/31/3 13/32/3
f 13/32/4 14/31/4 10/33/4 9/34/4
f 11/35/5 15/36/5 13/37/5 9/38/5
f 16/39/6 12/40/6 10/41/6 14/42/6
f 17/43/1 18/44/1 20/45/1 19/46/1
f 19/47/2 20/48/2 24/49/2 23/50/2
f 23/51/3 24/52/3 22/53/3 21/54/3
f 21/55/4 22/56/4 18/57/4 17/58/4
f 19/59/5 23/60/5 21/61/5 17/62/5
f 24/63/6 20/64/6 18/65/6 22/66/6
f 25/67/1 26/68/1 28/69/1 27/70/1
f 27/70/2 28/69/2 32/71/2 31/72/2
f 31/72/3 32/71/3 30/73/3 29/74/3
f 29/74/4 30/73/4 26/75/4 25/76/4
f 27/77/5 31/78/5 29/79/5 25/80/5
f 32/81/6 28/82/6 26/83/6 30/84/6
f 33/85/1 34/86/1 36/87/1 35/88/1
f 35/89/2 36/90/2 40/91/2 39/92/2
f 39/93/3 40/94/3 38/95/3 37/96/3
f 37/96/4 38/95/4 34/97/4 33/98/4
f 35/99/5 39/100/5 37/101/5 33/102/5
f 40/94/6 36/103/6 34/104/6 38/95/6
f 41/105/1 42/106/1 44/107/1 43/108/1
f 43/108/2 44/107/2 48/109/2 47/110/2
f 47/110/3 48/109/3 46/111/3 45/112/3
f 45/112/4 46/111/4 42/113/4 41/114/4
f 43/115/5 47/116/5 45/117/5 41/118/5
f 48/119/6 44/120/6 42/121/6 46/122/6
f 49/123/1 50/124/1 52/125/1 51/126/1
f 51/127/2 52/128/2 56/129/2 55/130/2
f 55/131/3 56/132/3 54/133/3 53/134/3
f 53/135/4 54/136/4 50/137/4 49/138/4
f 51/139/5 55/140/5 53/141/5 49/142/5
f 56/143/6 52/144/6 50/145/6 54/146/6

View File

@ -0,0 +1,198 @@
# Blender v2.79 (sub 0) OBJ File: 'tempsurvive_chested-head.blend'
# www.blender.org
mtllib tempsurvive_chested-head.mtl
o Cube.004_Cube.007
v 0.502583 -2.912150 0.023033
v 0.502583 -1.187150 0.023033
v 0.007583 -1.187150 0.023033
v 0.007583 -2.912150 0.023033
v 0.007582 -1.187150 -0.021967
v 0.007582 -2.912150 -0.021967
v 0.502582 -1.187150 -0.021967
v 0.502582 -2.912150 -0.021967
v 0.500988 0.616517 0.045533
v 0.500988 1.516517 0.045534
v -0.489012 1.516517 0.045534
v -0.489012 0.616517 0.045533
v -0.489013 1.516517 -0.044466
v -0.489013 0.616517 -0.044467
v 0.500987 1.516517 -0.044466
v 0.500987 0.616517 -0.044467
v -0.489977 -1.185778 0.023033
v -0.489977 0.614222 0.023033
v -0.984977 0.614222 0.023033
v -0.984977 -1.185778 0.023033
v -0.984978 0.614222 -0.021967
v -0.984978 -1.185778 -0.021967
v -0.489978 0.614222 -0.021967
v -0.489978 -1.185778 -0.021967
v 0.996513 -1.185778 0.023033
v 0.996513 0.614222 0.023033
v 0.501513 0.614222 0.023033
v 0.501513 -1.185778 0.023033
v 0.501513 0.614222 -0.021967
v 0.501513 -1.185778 -0.021967
v 0.996513 0.614222 -0.021967
v 0.996513 -1.185778 -0.021967
v 0.496037 -1.176778 0.022808
v 0.496037 0.605222 0.022808
v -0.484062 0.605222 0.022808
v -0.484062 -1.176778 0.022808
v -0.484063 0.605222 -0.021742
v -0.484063 -1.176778 -0.021742
v 0.496037 0.605222 -0.021742
v 0.496037 -1.176778 -0.021742
v 0.525738 0.615409 0.047783
v 0.525738 1.560410 0.047784
v -0.513762 1.560410 0.047784
v -0.513762 0.615409 0.047783
v -0.513763 1.560410 -0.046716
v -0.513763 0.615409 -0.046717
v 0.525737 1.560410 -0.046716
v 0.525737 0.615409 -0.046717
v 0.007583 -2.912150 0.023033
v 0.007583 -1.187150 0.023033
v -0.487417 -1.187150 0.023033
v -0.487417 -2.912150 0.023033
v -0.487418 -1.187150 -0.021967
v -0.487418 -2.912150 -0.021967
v 0.007582 -1.187150 -0.021967
v 0.007582 -2.912150 -0.021967
vt 0.500000 0.500000
vt 0.500000 0.750000
vt 0.375000 0.750000
vt 0.375000 0.500000
vt 0.250000 0.750000
vt 0.250000 0.500000
vt 0.125000 0.750000
vt 0.125000 0.500000
vt 0.000000 0.750000
vt 0.000000 0.500000
vt 0.250000 1.000000
vt 0.250000 0.750000
vt 0.375000 0.750000
vt 0.375000 1.000000
vt 0.125000 0.750000
vt 0.250000 0.750000
vt 0.250000 1.000000
vt 0.125000 1.000000
vt 0.875000 0.000000
vt 0.875000 0.375000
vt 0.812500 0.375000
vt 0.812500 0.000000
vt 0.687500 0.000000
vt 0.687500 0.375000
vt 0.625000 0.375000
vt 0.625000 0.000000
vt 0.750000 -0.000000
vt 0.750000 0.375000
vt 0.687500 0.375000
vt 0.687500 -0.000000
vt 0.812462 0.000000
vt 0.812462 0.375000
vt 0.750038 0.375000
vt 0.750038 -0.000000
vt 0.750000 0.499382
vt 0.750000 0.374382
vt 0.812500 0.374382
vt 0.812500 0.499382
vt 0.687500 0.374382
vt 0.750000 0.374382
vt 0.750000 0.499382
vt 0.687500 0.499382
vt 0.875000 -0.000000
vt 0.875000 0.375000
vt 0.812500 0.375000
vt 0.812500 -0.000000
vt 0.750012 0.375000
vt 0.750012 -0.000000
vt 0.687500 0.375000
vt 0.687500 -0.000000
vt 0.625000 0.375000
vt 0.625000 0.000000
vt 0.812500 0.499382
vt 0.750000 0.499382
vt 0.750000 0.374382
vt 0.812500 0.374382
vt 0.750000 0.374382
vt 0.750000 0.499382
vt 0.687500 0.499382
vt 0.687500 0.374382
vt 0.625000 0.000000
vt 0.625000 0.375000
vt 0.500000 0.375000
vt 0.500000 0.000000
vt 0.624914 0.000000
vt 0.624914 0.375000
vt 0.562586 0.375000
vt 0.562586 0.000000
vt 0.437500 -0.000000
vt 0.437500 0.375000
vt 0.312500 0.375000
vt 0.312500 -0.000000
vt 0.250048 0.375000
vt 0.250048 0.000000
vt 0.437500 0.500000
vt 0.437500 0.375000
vt 0.562500 0.375000
vt 0.562500 0.500000
vt 0.437500 0.500000
vt 0.312500 0.500000
vt 1.000000 0.500000
vt 1.000000 0.750000
vt 0.875000 0.750000
vt 0.875000 0.500000
vt 0.750000 0.750000
vt 0.750000 0.500000
vt 0.625000 0.750000
vt 0.625000 0.500000
vt 0.500000 0.750000
vt 0.500000 0.500000
vt 0.750000 1.000000
vt 0.750000 0.750000
vt 0.875000 0.750000
vt 0.875000 1.000000
vt 0.625000 0.750000
vt 0.750000 0.750000
vt 0.750000 1.000000
vt 0.625000 1.000000
vn 0.0000 -0.0000 1.0000
vn -1.0000 -0.0000 0.0000
vn -0.0000 0.0000 -1.0000
vn 1.0000 -0.0000 -0.0000
vn 0.0000 -1.0000 -0.0000
vn 0.0000 1.0000 0.0000
usemtl Material.002
s 1
f 9/1/1 10/2/1 11/3/1 12/4/1
f 12/4/2 11/3/2 13/5/2 14/6/2
f 14/6/3 13/5/3 15/7/3 16/8/3
f 16/8/4 15/7/4 10/9/4 9/10/4
f 12/11/5 14/12/5 16/13/5 9/14/5
f 13/15/6 11/16/6 10/17/6 15/18/6
f 17/19/1 18/20/1 19/21/1 20/22/1
f 20/23/2 19/24/2 21/25/2 22/26/2
f 22/27/3 21/28/3 23/29/3 24/30/3
f 24/31/4 23/32/4 18/33/4 17/34/4
f 20/35/5 22/36/5 24/37/5 17/38/5
f 21/39/6 19/40/6 18/41/6 23/42/6
f 25/43/1 26/44/1 27/45/1 28/46/1
f 28/46/2 27/45/2 29/47/2 30/48/2
f 30/48/3 29/47/3 31/49/3 32/50/3
f 32/50/4 31/49/4 26/51/4 25/52/4
f 28/53/5 30/54/5 32/55/5 25/56/5
f 29/57/6 27/58/6 26/59/6 31/60/6
f 33/61/1 34/62/1 35/63/1 36/64/1
f 36/65/2 35/66/2 37/67/2 38/68/2
f 38/69/3 37/70/3 39/71/3 40/72/3
f 40/72/4 39/71/4 34/73/4 33/74/4
f 36/75/5 38/76/5 40/77/5 33/78/5
f 37/70/6 35/79/6 34/80/6 39/71/6
f 41/81/1 42/82/1 43/83/1 44/84/1
f 44/84/2 43/83/2 45/85/2 46/86/2
f 46/86/3 45/85/3 47/87/3 48/88/3
f 48/88/4 47/87/4 42/89/4 41/90/4
f 44/91/5 46/92/5 48/93/5 41/94/5
f 45/95/6 43/96/6 42/97/6 47/98/6
l 3 5
l 50 55

View File

@ -0,0 +1,76 @@
# Blender v2.79 (sub 0) OBJ File: 'tempsurvive_head.blend'
# www.blender.org
mtllib tempsurvive_head.mtl
o Cube.004_Cube.007
v 1.001975 -1.071495 0.100665
v 1.001975 0.728505 0.100665
v -0.978024 0.728505 0.100665
v -0.978024 -1.071495 0.100665
v -0.978026 0.728505 -0.079335
v -0.978026 -1.071495 -0.079335
v 1.001974 0.728505 -0.079335
v 1.001974 -1.071495 -0.079335
v 1.051475 -1.073710 0.105165
v 1.051475 0.816291 0.105165
v -1.027524 0.816291 0.105165
v -1.027524 -1.073710 0.105165
v -1.027526 0.816291 -0.083835
v -1.027526 -1.073709 -0.083835
v 1.051474 0.816291 -0.083835
v 1.051474 -1.073709 -0.083835
vt 0.500000 0.500000
vt 0.500000 0.750000
vt 0.375000 0.750000
vt 0.375000 0.500000
vt 0.250000 0.750000
vt 0.250000 0.500000
vt 0.125000 0.750000
vt 0.125000 0.500000
vt 0.000000 0.750000
vt 0.000000 0.500000
vt 0.250000 1.000000
vt 0.250000 0.750000
vt 0.375000 0.750000
vt 0.375000 1.000000
vt 0.125000 0.750000
vt 0.250000 0.750000
vt 0.250000 1.000000
vt 0.125000 1.000000
vt 1.000000 0.500000
vt 1.000000 0.750000
vt 0.875000 0.750000
vt 0.875000 0.500000
vt 0.750000 0.750000
vt 0.750000 0.500000
vt 0.625000 0.750000
vt 0.625000 0.500000
vt 0.500000 0.750000
vt 0.500000 0.500000
vt 0.750000 1.000000
vt 0.750000 0.750000
vt 0.875000 0.750000
vt 0.875000 1.000000
vt 0.625000 0.750000
vt 0.750000 0.750000
vt 0.750000 1.000000
vt 0.625000 1.000000
vn 0.0000 -0.0000 1.0000
vn -1.0000 0.0000 0.0000
vn -0.0000 0.0000 -1.0000
vn 1.0000 0.0000 -0.0000
vn -0.0000 -1.0000 -0.0000
vn 0.0000 1.0000 0.0000
usemtl Material.002
s 1
f 1/1/1 2/2/1 3/3/1 4/4/1
f 4/4/2 3/3/2 5/5/2 6/6/2
f 6/6/3 5/5/3 7/7/3 8/8/3
f 8/8/4 7/7/4 2/9/4 1/10/4
f 4/11/5 6/12/5 8/13/5 1/14/5
f 5/15/6 3/16/6 2/17/6 7/18/6
f 9/19/1 10/20/1 11/21/1 12/22/1
f 12/22/2 11/21/2 13/23/2 14/24/2
f 14/24/3 13/23/3 15/25/3 16/26/3
f 16/26/4 15/25/4 10/27/4 9/28/4
f 12/29/5 14/30/5 16/31/5 9/32/5
f 13/33/6 11/34/6 10/35/6 15/36/6

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB