updated to fit 0.4.7
After Width: | Height: | Size: 9.8 MiB |
After Width: | Height: | Size: 353 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 7.4 KiB |
|
@ -92,6 +92,11 @@ for _, row in ipairs(dyelocal.dyes) do
|
|||
description = description,
|
||||
groups = groups
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = item_name.." 4",
|
||||
recipe = {"group:flower,color_"..name},
|
||||
})
|
||||
end
|
||||
|
||||
-- Mix recipes
|
||||
|
|
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 375 B After Width: | Height: | Size: 273 B |
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 273 B |
|
@ -0,0 +1,16 @@
|
|||
Minetest 0.4 mod: flowers
|
||||
=========================
|
||||
|
||||
License of source code:
|
||||
-----------------------
|
||||
Copyright (C) 2012-2013 Ironzorg, VanessaE
|
||||
|
||||
This program is free software. It comes without any warranty, to
|
||||
the extent permitted by applicable law. You can redistribute it
|
||||
and/or modify it under the terms of the Do What The Fuck You Want
|
||||
To Public License, Version 2, as published by Sam Hocevar. See
|
||||
http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||
|
||||
License of media (textures and sounds)
|
||||
--------------------------------------
|
||||
WTFPL
|
|
@ -0,0 +1 @@
|
|||
default
|
|
@ -0,0 +1,167 @@
|
|||
-- Minetest 0.4 mod: default
|
||||
-- See README.txt for licensing and other information.
|
||||
|
||||
-- Map Generation
|
||||
dofile(minetest.get_modpath("flowers").."/mapgen.lua")
|
||||
|
||||
-- Aliases for original flowers mod
|
||||
minetest.register_alias("flowers:flower_dandelion_white", "flowers:dandelion_white")
|
||||
minetest.register_alias("flowers:flower_dandelion_yellow", "flowers:dandelion_yellow")
|
||||
minetest.register_alias("flowers:flower_geranium", "flowers:geranium")
|
||||
minetest.register_alias("flowers:flower_rose", "flowers:rose")
|
||||
minetest.register_alias("flowers:flower_tulip", "flowers:tulip")
|
||||
minetest.register_alias("flowers:flower_viola", "flowers:viola")
|
||||
|
||||
minetest.register_node("flowers:dandelion_white", {
|
||||
description = "White Dandelion",
|
||||
drawtype = "plantlike",
|
||||
tiles = { "flowers_dandelion_white.png" },
|
||||
inventory_image = "flowers_dandelion_white.png",
|
||||
wield_image = "flowers_dandelion_white.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy=3,flammable=2,flower=1,flora=1,attached_node=1,color_white=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("flowers:dandelion_yellow", {
|
||||
description = "Yellow Dandelion",
|
||||
drawtype = "plantlike",
|
||||
tiles = { "flowers_dandelion_yellow.png" },
|
||||
inventory_image = "flowers_dandelion_yellow.png",
|
||||
wield_image = "flowers_dandelion_yellow.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy=3,flammable=2,flower=1,flora=1,attached_node=1,color_yellow=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("flowers:geranium", {
|
||||
description = "Blue Geranium",
|
||||
drawtype = "plantlike",
|
||||
tiles = { "flowers_geranium.png" },
|
||||
inventory_image = "flowers_geranium.png",
|
||||
wield_image = "flowers_geranium.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy=3,flammable=2,flower=1,flora=1,attached_node=1,color_blue=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("flowers:rose", {
|
||||
description = "Rose",
|
||||
drawtype = "plantlike",
|
||||
tiles = { "flowers_rose.png" },
|
||||
inventory_image = "flowers_rose.png",
|
||||
wield_image = "flowers_rose.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy=3,flammable=2,flower=1,flora=1,attached_node=1,color_red=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("flowers:tulip", {
|
||||
description = "Tulip",
|
||||
drawtype = "plantlike",
|
||||
tiles = { "flowers_tulip.png" },
|
||||
inventory_image = "flowers_tulip.png",
|
||||
wield_image = "flowers_tulip.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy=3,flammable=2,flower=1,flora=1,attached_node=1,color_orange=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("flowers:viola", {
|
||||
description = "Viola",
|
||||
drawtype = "plantlike",
|
||||
tiles = { "flowers_viola.png" },
|
||||
inventory_image = "flowers_viola.png",
|
||||
wield_image = "flowers_viola.png",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy=3,flammable=2,flower=1,flora=1,attached_node=1,color_violet=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"group:flora"},
|
||||
neighbors = {"default:dirt_with_grass", "default:desert_sand"},
|
||||
interval = 50,
|
||||
chance = 25,
|
||||
action = function(pos, node)
|
||||
pos.y = pos.y - 1
|
||||
local under = minetest.get_node(pos)
|
||||
pos.y = pos.y + 1
|
||||
if under.name == "default:desert_sand" then
|
||||
minetest.set_node(pos, {name="default:dry_shrub"})
|
||||
elseif under.name ~= "default:dirt_with_grass" then
|
||||
return
|
||||
end
|
||||
|
||||
local light = minetest.get_node_light(pos)
|
||||
if not light or light < 13 then
|
||||
return
|
||||
end
|
||||
|
||||
local pos0 = {x=pos.x-4,y=pos.y-4,z=pos.z-4}
|
||||
local pos1 = {x=pos.x+4,y=pos.y+4,z=pos.z+4}
|
||||
if #minetest.find_nodes_in_area(pos0, pos1, "group:flora_block") > 0 then
|
||||
return
|
||||
end
|
||||
|
||||
local flowers = minetest.find_nodes_in_area(pos0, pos1, "group:flora")
|
||||
if #flowers > 3 then
|
||||
return
|
||||
end
|
||||
|
||||
local seedling = minetest.find_nodes_in_area(pos0, pos1, "default:dirt_with_grass")
|
||||
if #seedling > 0 then
|
||||
seedling = seedling[math.random(#seedling)]
|
||||
seedling.y = seedling.y + 1
|
||||
light = minetest.get_node_light(seedling)
|
||||
if not light or light < 13 then
|
||||
return
|
||||
end
|
||||
if minetest.get_node(seedling).name == "air" then
|
||||
minetest.set_node(seedling, {name=node.name})
|
||||
end
|
||||
end
|
||||
end,
|
||||
})
|
|
@ -0,0 +1,62 @@
|
|||
minetest.register_on_generated(function(minp, maxp, seed)
|
||||
if maxp.y >= 2 and minp.y <= 0 then
|
||||
-- Generate flowers
|
||||
local perlin1 = minetest.get_perlin(436, 3, 0.6, 100)
|
||||
-- Assume X and Z lengths are equal
|
||||
local divlen = 16
|
||||
local divs = (maxp.x-minp.x)/divlen+1;
|
||||
for divx=0,divs-1 do
|
||||
for divz=0,divs-1 do
|
||||
local x0 = minp.x + math.floor((divx+0)*divlen)
|
||||
local z0 = minp.z + math.floor((divz+0)*divlen)
|
||||
local x1 = minp.x + math.floor((divx+1)*divlen)
|
||||
local z1 = minp.z + math.floor((divz+1)*divlen)
|
||||
-- Determine flowers amount from perlin noise
|
||||
local grass_amount = math.floor(perlin1:get2d({x=x0, y=z0}) ^ 3 * 9)
|
||||
-- Find random positions for flowers based on this random
|
||||
local pr = PseudoRandom(seed+456)
|
||||
for i=0,grass_amount do
|
||||
local x = pr:next(x0, x1)
|
||||
local z = pr:next(z0, z1)
|
||||
-- Find ground level (0...15)
|
||||
local ground_y = nil
|
||||
for y=30,0,-1 do
|
||||
if minetest.get_node({x=x,y=y,z=z}).name ~= "air" then
|
||||
ground_y = y
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
if ground_y then
|
||||
local p = {x=x,y=ground_y+1,z=z}
|
||||
local nn = minetest.get_node(p).name
|
||||
-- Check if the node can be replaced
|
||||
if minetest.registered_nodes[nn] and
|
||||
minetest.registered_nodes[nn].buildable_to then
|
||||
nn = minetest.get_node({x=x,y=ground_y,z=z}).name
|
||||
if nn == "default:dirt_with_grass" then
|
||||
local flower_choice = pr:next(1, 6)
|
||||
local flower
|
||||
if flower_choice == 1 then
|
||||
flower = "flowers:tulip"
|
||||
elseif flower_choice == 2 then
|
||||
flower = "flowers:rose"
|
||||
elseif flower_choice == 3 then
|
||||
flower = "flowers:dandelion_yellow"
|
||||
elseif flower_choice == 4 then
|
||||
flower = "flowers:dandelion_white"
|
||||
elseif flower_choice == 5 then
|
||||
flower = "flowers:flower_geranium"
|
||||
elseif flower_choice == 6 then
|
||||
flower = "flowers:viola"
|
||||
end
|
||||
minetest.set_node(p, {name=flower})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
After Width: | Height: | Size: 132 B |
After Width: | Height: | Size: 131 B |
After Width: | Height: | Size: 312 B |
After Width: | Height: | Size: 137 B |
After Width: | Height: | Size: 138 B |
After Width: | Height: | Size: 125 B |
|
@ -16,6 +16,7 @@ function mobs:register_mob(name, def)
|
|||
light_damage = def.light_damage,
|
||||
water_damage = def.water_damage,
|
||||
lava_damage = def.lava_damage,
|
||||
disable_fall_damage = def.disable_fall_damage,
|
||||
drops = def.drops,
|
||||
armor = def.armor,
|
||||
drawtype = def.drawtype,
|
||||
|
@ -26,6 +27,7 @@ function mobs:register_mob(name, def)
|
|||
shoot_interval = def.shoot_interval,
|
||||
sounds = def.sounds,
|
||||
animation = def.animation,
|
||||
follow = def.follow,
|
||||
|
||||
timer = 0,
|
||||
env_damage_timer = 0, -- only if state = "attack"
|
||||
|
@ -33,7 +35,8 @@ function mobs:register_mob(name, def)
|
|||
state = "stand",
|
||||
v_start = false,
|
||||
old_y = nil,
|
||||
|
||||
lifetimer = 600,
|
||||
tamed = false,
|
||||
|
||||
set_velocity = function(self, v)
|
||||
local yaw = self.object:getyaw()
|
||||
|
@ -113,6 +116,20 @@ function mobs:register_mob(name, def)
|
|||
self.object:remove()
|
||||
end
|
||||
|
||||
self.lifetimer = self.lifetimer - dtime
|
||||
if self.lifetimer <= 0 and not self.tamed then
|
||||
local player_count = 0
|
||||
for _,obj in ipairs(minetest.env:get_objects_inside_radius(self.object:getpos(), 20)) do
|
||||
if obj:is_player() then
|
||||
player_count = player_count+1
|
||||
end
|
||||
end
|
||||
if player_count == 0 and self.state ~= "attack" then
|
||||
self.object:remove()
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
if self.object:getvelocity().y > 0.1 then
|
||||
local yaw = self.object:getyaw()
|
||||
if self.drawtype == "side" then
|
||||
|
@ -125,17 +142,17 @@ function mobs:register_mob(name, def)
|
|||
self.object:setacceleration({x=0, y=-10, z=0})
|
||||
end
|
||||
|
||||
if self.object:getvelocity().y == 0 then
|
||||
if self.disable_fall_damage and self.object:getvelocity().y == 0 then
|
||||
if not self.old_y then
|
||||
self.old_y = self.object:getpos().y
|
||||
else
|
||||
local d = self.old_y - self.object:getpos().y
|
||||
if d > 5 then
|
||||
local damage = d-5
|
||||
self.object:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups = {fleshy=damage/(self.armor/100)}
|
||||
}, nil)
|
||||
self.object:set_hp(self.object:get_hp()-damage)
|
||||
if self.object:get_hp() == 0 then
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
self.old_y = self.object:getpos().y
|
||||
end
|
||||
|
@ -164,28 +181,28 @@ function mobs:register_mob(name, def)
|
|||
and minetest.env:get_timeofday() > 0.2
|
||||
and minetest.env:get_timeofday() < 0.8
|
||||
then
|
||||
self.object:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups = {fleshy=self.light_damage/(self.armor/100)}
|
||||
}, nil)
|
||||
self.object:set_hp(self.object:get_hp()-self.light_damage)
|
||||
if self.object:get_hp() == 0 then
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
|
||||
if self.water_damage and self.water_damage ~= 0 and
|
||||
minetest.get_item_group(n.name, "water") ~= 0
|
||||
then
|
||||
self.object:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups = {fleshy=self.water_damage/(self.armor/100)}
|
||||
}, nil)
|
||||
self.object:set_hp(self.object:get_hp()-self.water_damage)
|
||||
if self.object:get_hp() == 0 then
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
|
||||
if self.lava_damage and self.lava_damage ~= 0 and
|
||||
minetest.get_item_group(n.name, "lava") ~= 0
|
||||
then
|
||||
self.object:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups = {fleshy=self.lava_damage/(self.armor/100)}
|
||||
}, nil)
|
||||
self.object:set_hp(self.object:get_hp()-self.lava_damage)
|
||||
if self.object:get_hp() == 0 then
|
||||
self.object:remove()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -218,10 +235,66 @@ function mobs:register_mob(name, def)
|
|||
end
|
||||
end
|
||||
|
||||
if self.follow ~= "" and not self.following then
|
||||
for _,player in pairs(minetest.get_connected_players()) do
|
||||
local s = self.object:getpos()
|
||||
local p = player:getpos()
|
||||
local dist = ((p.x-s.x)^2 + (p.y-s.y)^2 + (p.z-s.z)^2)^0.5
|
||||
if self.view_range and dist < self.view_range then
|
||||
self.following = player
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if self.following and self.following:is_player() then
|
||||
if self.following:get_wielded_item():get_name() ~= self.follow then
|
||||
self.following = nil
|
||||
self.v_start = false
|
||||
else
|
||||
local s = self.object:getpos()
|
||||
local p = self.following:getpos()
|
||||
local dist = ((p.x-s.x)^2 + (p.y-s.y)^2 + (p.z-s.z)^2)^0.5
|
||||
if dist > self.view_range then
|
||||
self.following = nil
|
||||
self.v_start = false
|
||||
else
|
||||
local vec = {x=p.x-s.x, y=p.y-s.y, z=p.z-s.z}
|
||||
local yaw = math.atan(vec.z/vec.x)+math.pi/2
|
||||
if self.drawtype == "side" then
|
||||
yaw = yaw+(math.pi/2)
|
||||
end
|
||||
if p.x > s.x then
|
||||
yaw = yaw+math.pi
|
||||
end
|
||||
self.object:setyaw(yaw)
|
||||
if dist > 2 then
|
||||
if not self.v_start then
|
||||
self.v_start = true
|
||||
self.set_velocity(self, self.walk_velocity)
|
||||
else
|
||||
if self.get_velocity(self) <= 0.5 and self.object:getvelocity().y == 0 then
|
||||
local v = self.object:getvelocity()
|
||||
v.y = 5
|
||||
self.object:setvelocity(v)
|
||||
end
|
||||
self.set_velocity(self, self.walk_velocity)
|
||||
end
|
||||
self:set_animation("walk")
|
||||
else
|
||||
self.v_start = false
|
||||
self.set_velocity(self, 0)
|
||||
self:set_animation("stand")
|
||||
end
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if self.state == "stand" then
|
||||
if math.random(1, 4) == 1 then
|
||||
self.object:setyaw(self.object:getyaw()+((math.random(0,360)-180)/180*math.pi))
|
||||
end
|
||||
self.set_velocity(self, 0)
|
||||
self.set_animation(self, "stand")
|
||||
if math.random(1, 100) <= 50 then
|
||||
self.set_velocity(self, self.walk_velocity)
|
||||
|
@ -231,19 +304,19 @@ function mobs:register_mob(name, def)
|
|||
elseif self.state == "walk" then
|
||||
if math.random(1, 100) <= 30 then
|
||||
self.object:setyaw(self.object:getyaw()+((math.random(0,360)-180)/180*math.pi))
|
||||
self.set_velocity(self, self.get_velocity(self))
|
||||
end
|
||||
self:set_animation("walk")
|
||||
if math.random(1, 100) <= 10 then
|
||||
self.set_velocity(self, 0)
|
||||
self.state = "stand"
|
||||
self:set_animation("stand")
|
||||
end
|
||||
if self.get_velocity(self) <= 0.5 and self.object:getvelocity().y == 0 then
|
||||
local v = self.object:getvelocity()
|
||||
v.y = 5
|
||||
self.object:setvelocity(v)
|
||||
end
|
||||
self:set_animation("walk")
|
||||
self.set_velocity(self, self.walk_velocity)
|
||||
if math.random(1, 100) <= 10 then
|
||||
self.set_velocity(self, 0)
|
||||
self.state = "stand"
|
||||
self:set_animation("stand")
|
||||
end
|
||||
elseif self.state == "attack" and self.attack_type == "dogfight" then
|
||||
if not self.attack.player or not self.attack.player:is_player() then
|
||||
self.state = "stand"
|
||||
|
@ -341,7 +414,9 @@ function mobs:register_mob(name, def)
|
|||
minetest.sound_play(self.sounds.attack, {object = self.object})
|
||||
end
|
||||
|
||||
local obj = minetest.env:add_entity(self.object:getpos(), self.arrow)
|
||||
local p = self.object:getpos()
|
||||
p.y = p.y + (self.collisionbox[2]+self.collisionbox[5])/2
|
||||
local obj = minetest.env:add_entity(p, self.arrow)
|
||||
local amount = (vec.x^2+vec.y^2+vec.z^2)^0.5
|
||||
local v = obj:get_luaentity().velocity
|
||||
vec.y = vec.y+1
|
||||
|
@ -353,7 +428,7 @@ function mobs:register_mob(name, def)
|
|||
end
|
||||
end,
|
||||
|
||||
on_activate = function(self, staticdata)
|
||||
on_activate = function(self, staticdata, dtime_s)
|
||||
self.object:set_armor_groups({fleshy=self.armor})
|
||||
self.object:setacceleration({x=0, y=-10, z=0})
|
||||
self.state = "stand"
|
||||
|
@ -362,6 +437,27 @@ function mobs:register_mob(name, def)
|
|||
if self.type == "monster" and minetest.setting_getbool("only_peaceful_mobs") then
|
||||
self.object:remove()
|
||||
end
|
||||
self.lifetimer = 600 - dtime_s
|
||||
if staticdata then
|
||||
local tmp = minetest.deserialize(staticdata)
|
||||
if tmp and tmp.lifetimer then
|
||||
self.lifetimer = tmp.lifetimer - dtime_s
|
||||
end
|
||||
if tmp and tmp.tamed then
|
||||
self.tamed = tmp.tamed
|
||||
end
|
||||
end
|
||||
if self.lifetimer <= 0 and not self.tamed then
|
||||
self.object:remove()
|
||||
end
|
||||
end,
|
||||
|
||||
get_staticdata = function(self)
|
||||
local tmp = {
|
||||
lifetimer = self.lifetimer,
|
||||
tamed = self.tamed,
|
||||
}
|
||||
return minetest.serialize(tmp)
|
||||
end,
|
||||
|
||||
on_punch = function(self, hitter)
|
||||
|
|
|
@ -3,10 +3,11 @@ dofile(minetest.get_modpath("mobs").."/api.lua")
|
|||
mobs:register_mob("mobs:dirt_monster", {
|
||||
type = "monster",
|
||||
hp_max = 5,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
|
||||
visual = "upright_sprite",
|
||||
visual_size = {x=1, y=2},
|
||||
textures = {"mobs_dirt_monster.png", "mobs_dirt_monster_back.png"},
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_stone_monster.x",
|
||||
textures = {"mobs_dirt_monster.png"},
|
||||
visual_size = {x=3, y=2.6},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 15,
|
||||
walk_velocity = 1,
|
||||
|
@ -25,6 +26,18 @@ mobs:register_mob("mobs:dirt_monster", {
|
|||
light_damage = 2,
|
||||
on_rightclick = nil,
|
||||
attack_type = "dogfight",
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 14,
|
||||
walk_start = 15,
|
||||
walk_end = 38,
|
||||
run_start = 40,
|
||||
run_end = 63,
|
||||
punch_start = 40,
|
||||
punch_end = 63,
|
||||
}
|
||||
})
|
||||
mobs:register_spawn("mobs:dirt_monster", {"default:dirt_with_grass"}, 3, -1, 70000, 1, 31000)
|
||||
|
||||
|
@ -66,6 +79,8 @@ mobs:register_mob("mobs:stone_monster", {
|
|||
walk_end = 38,
|
||||
run_start = 40,
|
||||
run_end = 63,
|
||||
punch_start = 40,
|
||||
punch_end = 63,
|
||||
}
|
||||
})
|
||||
mobs:register_spawn("mobs:stone_monster", {"default:stone"}, 3, -1, 700000, 1, 0)
|
||||
|
@ -109,17 +124,64 @@ mobs:register_mob("mobs:sand_monster", {
|
|||
walk_end = 72,
|
||||
run_start = 74,
|
||||
run_end = 105,
|
||||
punch_start = 74,
|
||||
punch_end = 105,
|
||||
},
|
||||
})
|
||||
mobs:register_spawn("mobs:sand_monster", {"default:desert_sand"}, 20, -1, 70000, 1, 31000)
|
||||
|
||||
mobs:register_mob("mobs:tree_monster", {
|
||||
type = "monster",
|
||||
hp_max = 5,
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_tree_monster.x",
|
||||
textures = {"mobs_tree_monster.png"},
|
||||
visual_size = {x=4.5,y=4.5},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 15,
|
||||
walk_velocity = 1,
|
||||
run_velocity = 3,
|
||||
damage = 2,
|
||||
drops = {
|
||||
{name = "default:sapling",
|
||||
chance = 3,
|
||||
min = 1,
|
||||
max = 2,},
|
||||
{name = "default:junglesapling",
|
||||
chance = 3,
|
||||
min = 1,
|
||||
max = 2,},
|
||||
},
|
||||
light_resistant = true,
|
||||
armor = 100,
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 5,
|
||||
light_damage = 2,
|
||||
disable_fall_damage = true,
|
||||
attack_type = "dogfight",
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 24,
|
||||
walk_start = 25,
|
||||
walk_end = 47,
|
||||
run_start = 48,
|
||||
run_end = 62,
|
||||
punch_start = 48,
|
||||
punch_end = 62,
|
||||
},
|
||||
})
|
||||
mobs:register_spawn("mobs:tree_monster", {"default:leaves", "default:jungleleaves"}, 3, -1, 700000, 3, 31000)
|
||||
mobs:register_mob("mobs:sheep", {
|
||||
type = "animal",
|
||||
hp_max = 5,
|
||||
collisionbox = {-0.4, 0, -0.4, 0.4, 1, 0.4},
|
||||
--visual = "upright_sprite",
|
||||
--visual_size = {x=2, y=1.25},
|
||||
--textures = {"mobs_sheep.png", "mobs_sheep.png"},
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
|
||||
|
||||
|
||||
|
||||
textures = {"mobs_sheep.png"},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_sheep.x",
|
||||
|
@ -146,16 +208,42 @@ mobs:register_mob("mobs:sheep", {
|
|||
walk_start = 81,
|
||||
walk_end = 100,
|
||||
},
|
||||
follow = "farming:wheat",
|
||||
view_range = 5,
|
||||
|
||||
on_rightclick = function(self, clicker)
|
||||
if self.naked then
|
||||
local item = clicker:get_wielded_item()
|
||||
if item:get_name() == "farming:wheat" then
|
||||
if not self.tamed then
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
item:take_item()
|
||||
clicker:set_wielded_item(item)
|
||||
end
|
||||
self.tamed = true
|
||||
elseif self.naked then
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
item:take_item()
|
||||
clicker:set_wielded_item(item)
|
||||
end
|
||||
self.food = (self.food or 0) + 1
|
||||
if self.food >= 8 then
|
||||
self.food = 0
|
||||
self.naked = false
|
||||
self.object:set_properties({
|
||||
textures = {"mobs_sheep.png"},
|
||||
mesh = "mobs_sheep.x",
|
||||
})
|
||||
end
|
||||
end
|
||||
return
|
||||
end
|
||||
if clicker:get_inventory() then
|
||||
self.naked = true,
|
||||
clicker:get_inventory():add_item("main", ItemStack("wool:white "..math.random(1,3)))
|
||||
if clicker:get_inventory() and not self.naked then
|
||||
self.naked = true
|
||||
if minetest.registered_items["wool:white"] then
|
||||
clicker:get_inventory():add_item("main", ItemStack("wool:white "..math.random(1,3)))
|
||||
end
|
||||
self.object:set_properties({
|
||||
--textures = {"mobs_sheep_naked.png", "mobs_sheep_naked.png"},
|
||||
|
||||
textures = {"mobs_sheep_shaved.png"},
|
||||
mesh = "mobs_sheep_shaved.x",
|
||||
})
|
||||
|
@ -268,6 +356,8 @@ mobs:register_mob("mobs:oerkki", {
|
|||
walk_end = 36,
|
||||
run_start = 37,
|
||||
run_end = 49,
|
||||
punch_start = 37,
|
||||
punch_end = 49,
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
},
|
||||
|
@ -277,10 +367,12 @@ mobs:register_spawn("mobs:oerkki", {"default:stone"}, 2, -1, 70000, 1, -10)
|
|||
mobs:register_mob("mobs:dungeon_master", {
|
||||
type = "monster",
|
||||
hp_max = 10,
|
||||
collisionbox = {-0.8, -1.21875, -0.8, 0.8, 1.21875, 0.8},
|
||||
visual = "upright_sprite",
|
||||
visual_size = {x=1.875, y=2.4375},
|
||||
textures = {"mobs_dungeon_master.png", "mobs_dungeon_master_back.png"},
|
||||
collisionbox = {-0.7, -0.01, -0.7, 0.7, 2.6, 0.7},
|
||||
visual = "mesh",
|
||||
|
||||
mesh = "mobs_dungeon_master.x",
|
||||
textures = {"mobs_dungeon_master.png"},
|
||||
visual_size = {x=8, y=8},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 15,
|
||||
walk_velocity = 1,
|
||||
|
@ -304,6 +396,16 @@ mobs:register_mob("mobs:dungeon_master", {
|
|||
sounds = {
|
||||
attack = "mobs_fireball",
|
||||
},
|
||||
animation = {
|
||||
stand_start = 0,
|
||||
stand_end = 19,
|
||||
walk_start = 20,
|
||||
walk_end = 35,
|
||||
punch_start = 36,
|
||||
punch_end = 48,
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
},
|
||||
})
|
||||
mobs:register_spawn("mobs:dungeon_master", {"default:stone"}, 2, -1, 7000, 1, -50)
|
||||
|
||||
|
|
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.5 KiB |
|
@ -35,37 +35,37 @@ Frame Root {
|
|||
0.999981,-0.000000,-0.006250, 0.000000,
|
||||
0.006250, 0.000000, 0.999981, 0.000000,
|
||||
-0.000000,-1.000000, 0.000000, 0.000000,
|
||||
-0.013160,-0.000000,-0.215890, 1.000000;;
|
||||
-0.013160,-0.000000,-0.231382, 1.000000;;
|
||||
}
|
||||
Frame Armature_Bone_001 {
|
||||
FrameTransformMatrix {
|
||||
0.992957, 0.005569,-0.118341, 0.000000,
|
||||
-0.118307,-0.006091,-0.992958, 0.000000,
|
||||
-0.006250, 0.999966,-0.005389, 0.000000,
|
||||
0.992969, 0.003712,-0.118316, 0.000000,
|
||||
-0.118209,-0.021667,-0.992752, 0.000000,
|
||||
-0.006249, 0.999758,-0.021075, 0.000000,
|
||||
-0.777564, 2.195408, 0.000000, 1.000000;;
|
||||
}
|
||||
} //End of Armature_Bone_001
|
||||
Frame Armature_Bone_002 {
|
||||
FrameTransformMatrix {
|
||||
0.986589, 0.005287, 0.163141, 0.000000,
|
||||
0.163107, 0.006337,-0.986588, 0.000000,
|
||||
-0.006250, 0.999966, 0.005390, 0.000000,
|
||||
0.986605, 0.002728, 0.163107, 0.000000,
|
||||
0.163010, 0.021813,-0.986383, 0.000000,
|
||||
-0.006249, 0.999758, 0.021076, 0.000000,
|
||||
0.734794, 2.204861, 0.000000, 1.000000;;
|
||||
}
|
||||
} //End of Armature_Bone_002
|
||||
Frame Armature_Bone_003 {
|
||||
FrameTransformMatrix {
|
||||
0.999979, 0.006415,-0.000003, 0.000000,
|
||||
0.006414,-0.999849, 0.016139, 0.000000,
|
||||
0.000101,-0.016138,-0.999870, 0.000000,
|
||||
0.999979, 0.006415,-0.000010, 0.000000,
|
||||
0.006403,-0.997984, 0.063140, 0.000000,
|
||||
0.000395,-0.063139,-0.998005, 0.000000,
|
||||
0.287642,-0.253263, 0.000001, 1.000000;;
|
||||
}
|
||||
} //End of Armature_Bone_003
|
||||
Frame Armature_Bone_004 {
|
||||
FrameTransformMatrix {
|
||||
0.999979, 0.006415, 0.000003, 0.000000,
|
||||
0.006414,-0.999849,-0.016139, 0.000000,
|
||||
-0.000101, 0.016139,-0.999870, 0.000000,
|
||||
0.999979, 0.006415, 0.000010, 0.000000,
|
||||
0.006403,-0.997984,-0.063141, 0.000000,
|
||||
-0.000395, 0.063139,-0.998005, 0.000000,
|
||||
-0.421866,-0.257697, 0.000001, 1.000000;;
|
||||
}
|
||||
} //End of Armature_Bone_004
|
||||
|
@ -77,7 +77,7 @@ Frame Root {
|
|||
0.000000,-0.000000, 1.000000, 0.000000,
|
||||
-0.019749,-0.002151,-3.487330, 1.000000;;
|
||||
}
|
||||
Mesh { //Cube_007 Mesh
|
||||
Mesh { //Cube_000 Mesh
|
||||
192;
|
||||
-0.137080; 0.268539; 0.030404;,
|
||||
-0.137080;-0.268539; 0.030404;,
|
||||
|
@ -320,7 +320,7 @@ Frame Root {
|
|||
4;180;181;182;183;,
|
||||
4;184;185;186;187;,
|
||||
4;188;189;190;191;;
|
||||
MeshNormals { //Cube_007 Normals
|
||||
MeshNormals { //Cube_000 Normals
|
||||
192;
|
||||
1.000000;-0.000000;-0.000000;,
|
||||
1.000000;-0.000000;-0.000000;,
|
||||
|
@ -563,8 +563,8 @@ Frame Root {
|
|||
4;180;181;182;183;,
|
||||
4;184;185;186;187;,
|
||||
4;188;189;190;191;;
|
||||
} //End of Cube_007 Normals
|
||||
MeshMaterialList { //Cube_007 Material List
|
||||
} //End of Cube_000 Normals
|
||||
MeshMaterialList { //Cube_000 Material List
|
||||
1;
|
||||
48;
|
||||
0,
|
||||
|
@ -620,209 +620,264 @@ Frame Root {
|
|||
96.078431;
|
||||
0.500000; 0.500000; 0.500000;;
|
||||
0.000000; 0.000000; 0.000000;;
|
||||
TextureFilename {"stone_monster_.png";}
|
||||
}
|
||||
} //End of Cube_007 Material List
|
||||
MeshTextureCoords { //Cube_007 UV Coordinates
|
||||
} //End of Cube_000 Material List
|
||||
MeshTextureCoords { //Cube_000 UV Coordinates
|
||||
192;
|
||||
0.294177; 0.749143;,
|
||||
0.294177; 0.672305;,
|
||||
0.546745; 0.672305;,
|
||||
0.546745; 0.749143;,
|
||||
0.294177; 0.979658;,
|
||||
0.294177; 0.902820;,
|
||||
0.546745; 0.902819;,
|
||||
0.546745; 0.979658;,
|
||||
0.294177; 0.902820;,
|
||||
0.294177; 0.825981;,
|
||||
0.546745; 0.825981;,
|
||||
0.546745; 0.902819;,
|
||||
0.294177; 0.825981;,
|
||||
0.294177; 0.749143;,
|
||||
0.546745; 0.749143;,
|
||||
0.546745; 0.825981;,
|
||||
0.294177; 0.825981;,
|
||||
0.294177; 0.902820;,
|
||||
0.248775; 0.902820;,
|
||||
0.248775; 0.825981;,
|
||||
0.592146; 0.825981;,
|
||||
0.592146; 0.902819;,
|
||||
0.546745; 0.902819;,
|
||||
0.546745; 0.825981;,
|
||||
0.762015; 0.825981;,
|
||||
0.762015; 0.902819;,
|
||||
0.716614; 0.902819;,
|
||||
0.716614; 0.825981;,
|
||||
0.464046; 0.825981;,
|
||||
0.464046; 0.902820;,
|
||||
0.418645; 0.902820;,
|
||||
0.418645; 0.825981;,
|
||||
0.464046; 0.825981;,
|
||||
0.464046; 0.749143;,
|
||||
0.716614; 0.749143;,
|
||||
0.716614; 0.825981;,
|
||||
0.464046; 0.902820;,
|
||||
0.464046; 0.825981;,
|
||||
0.716614; 0.825981;,
|
||||
0.716614; 0.902819;,
|
||||
0.464046; 0.979658;,
|
||||
0.464046; 0.902820;,
|
||||
0.716614; 0.902819;,
|
||||
0.716614; 0.979658;,
|
||||
0.464046; 0.749143;,
|
||||
0.464046; 0.672305;,
|
||||
0.716614; 0.672305;,
|
||||
0.716614; 0.749143;,
|
||||
0.684377; 0.341233;,
|
||||
0.684377; 0.419453;,
|
||||
0.387281; 0.419453;,
|
||||
0.387281; 0.341233;,
|
||||
0.322774; 0.575891;,
|
||||
0.322774; 0.497672;,
|
||||
0.385629; 0.497672;,
|
||||
0.385629; 0.575891;,
|
||||
0.682725; 0.575891;,
|
||||
0.682725; 0.497672;,
|
||||
0.745580; 0.497671;,
|
||||
0.745580; 0.575891;,
|
||||
0.682725; 0.575891;,
|
||||
0.682725; 0.654110;,
|
||||
0.385629; 0.654110;,
|
||||
0.385629; 0.575891;,
|
||||
0.682725; 0.497672;,
|
||||
0.682725; 0.575891;,
|
||||
0.385629; 0.575891;,
|
||||
0.385629; 0.497672;,
|
||||
0.682725; 0.419453;,
|
||||
0.682725; 0.497672;,
|
||||
0.385629; 0.497672;,
|
||||
0.385629; 0.419453;,
|
||||
0.684377; 0.341233;,
|
||||
0.684377; 0.419453;,
|
||||
0.387281; 0.419453;,
|
||||
0.387281; 0.341233;,
|
||||
0.682725; 0.419453;,
|
||||
0.682725; 0.497672;,
|
||||
0.385629; 0.497672;,
|
||||
0.385629; 0.419453;,
|
||||
0.682725; 0.497672;,
|
||||
0.682725; 0.575891;,
|
||||
0.385629; 0.575891;,
|
||||
0.385629; 0.497672;,
|
||||
0.682725; 0.575891;,
|
||||
0.682725; 0.654110;,
|
||||
0.385629; 0.654110;,
|
||||
0.385629; 0.575891;,
|
||||
0.682725; 0.575891;,
|
||||
0.682725; 0.497672;,
|
||||
0.745580; 0.497671;,
|
||||
0.745580; 0.575891;,
|
||||
0.322774; 0.575891;,
|
||||
0.322774; 0.497672;,
|
||||
0.385629; 0.497672;,
|
||||
0.385629; 0.575891;,
|
||||
0.701823; 0.150403;,
|
||||
0.619135; 0.150403;,
|
||||
0.619135; 0.015398;,
|
||||
0.701823; 0.015398;,
|
||||
0.501930; 0.202240;,
|
||||
0.359056; 0.202240;,
|
||||
0.359056; 0.067236;,
|
||||
0.501930; 0.067236;,
|
||||
0.448853; 0.018033;,
|
||||
0.448853; 0.157977;,
|
||||
0.369084; 0.157977;,
|
||||
0.369084; 0.018033;,
|
||||
0.554856; 0.357064;,
|
||||
0.554856; 0.598869;,
|
||||
0.475087; 0.598869;,
|
||||
0.475087; 0.357064;,
|
||||
0.623347; 0.286013;,
|
||||
0.540659; 0.286013;,
|
||||
0.540659; 0.044207;,
|
||||
0.623347; 0.044207;,
|
||||
0.476429; 0.433939;,
|
||||
0.476429; 0.573882;,
|
||||
0.333554; 0.573882;,
|
||||
0.333554; 0.433938;,
|
||||
0.725496; 0.876615;,
|
||||
0.642209; 0.876615;,
|
||||
0.642209; 0.762735;,
|
||||
0.725496; 0.762735;,
|
||||
0.666267; 0.694941;,
|
||||
0.558922; 0.694941;,
|
||||
0.558922; 0.581061;,
|
||||
0.666267; 0.581061;,
|
||||
0.733554; 0.581061;,
|
||||
0.733554; 0.722019;,
|
||||
0.666267; 0.722019;,
|
||||
0.666267; 0.581061;,
|
||||
0.686423; 0.150403;,
|
||||
0.686423; 0.332077;,
|
||||
0.619135; 0.332077;,
|
||||
0.619135; 0.150403;,
|
||||
0.771058; 0.236039;,
|
||||
0.687771; 0.236039;,
|
||||
0.687771; 0.054364;,
|
||||
0.771058; 0.054364;,
|
||||
0.476429; 0.157977;,
|
||||
0.476429; 0.298934;,
|
||||
0.369084; 0.298934;,
|
||||
0.369084; 0.157977;,
|
||||
0.552440; 0.203349;,
|
||||
0.476429; 0.203349;,
|
||||
0.476429; 0.051983;,
|
||||
0.552440; 0.051983;,
|
||||
0.593004; 0.318641;,
|
||||
0.450324; 0.318641;,
|
||||
0.450324; 0.167275;,
|
||||
0.593004; 0.167275;,
|
||||
0.708220; 0.483772;,
|
||||
0.632209; 0.483772;,
|
||||
0.632209; 0.332405;,
|
||||
0.708220; 0.332405;,
|
||||
0.593937; 0.136918;,
|
||||
0.736617; 0.136918;,
|
||||
0.736617; 0.288284;,
|
||||
0.593937; 0.288284;,
|
||||
0.632209; 0.573882;,
|
||||
0.556198; 0.573882;,
|
||||
0.556198; 0.332405;,
|
||||
0.632209; 0.332405;,
|
||||
0.619109; 0.203349;,
|
||||
0.619135; 0.331993;,
|
||||
0.476455; 0.332077;,
|
||||
0.476429; 0.203433;,
|
||||
0.507194; 0.492791;,
|
||||
0.379012; 0.492790;,
|
||||
0.379012; 0.336702;,
|
||||
0.507194; 0.336703;,
|
||||
0.298120; 0.093318;,
|
||||
0.298119; 0.310258;,
|
||||
0.205893; 0.310258;,
|
||||
0.205893; 0.093318;,
|
||||
0.250830; 0.492789;,
|
||||
0.137701; 0.493698;,
|
||||
0.137701; 0.337610;,
|
||||
0.250830; 0.336701;,
|
||||
0.144143; 0.493698;,
|
||||
0.011660; 0.493698;,
|
||||
0.011660; 0.337610;,
|
||||
0.144144; 0.337610;,
|
||||
0.137701; 0.493698;,
|
||||
0.137701; 0.665142;,
|
||||
0.005218; 0.665142;,
|
||||
0.005218; 0.493698;,
|
||||
0.005218; 0.337610;,
|
||||
0.005218; 0.169805;,
|
||||
0.137701; 0.169805;,
|
||||
0.137701; 0.337610;;
|
||||
} //End of Cube_007 UV Coordinates
|
||||
0.359375; 0.250000;,
|
||||
0.359375; 0.375000;,
|
||||
0.656250; 0.375000;,
|
||||
0.656250; 0.250000;,
|
||||
0.359375; 0.500000;,
|
||||
0.359375; 0.375000;,
|
||||
0.656250; 0.375000;,
|
||||
0.656250; 0.500000;,
|
||||
0.359375; 0.125000;,
|
||||
0.359375; 0.000000;,
|
||||
0.656250; 0.000000;,
|
||||
0.656250; 0.125000;,
|
||||
0.359375; 0.125000;,
|
||||
0.359375; 0.250000;,
|
||||
0.656250; 0.250000;,
|
||||
0.656250; 0.125000;,
|
||||
0.359375; 0.000000;,
|
||||
0.359375; 0.125000;,
|
||||
0.296875; 0.125000;,
|
||||
0.296875; 0.000000;,
|
||||
0.359375; 0.125000;,
|
||||
0.359375; 0.250000;,
|
||||
0.296875; 0.250000;,
|
||||
0.296875; 0.125000;,
|
||||
0.359375; 0.250000;,
|
||||
0.359375; 0.125000;,
|
||||
0.296875; 0.125000;,
|
||||
0.296875; 0.250000;,
|
||||
0.359375; 0.125000;,
|
||||
0.359375; 0.000000;,
|
||||
0.296875; 0.000000;,
|
||||
0.296875; 0.125000;,
|
||||
0.359375; 0.250000;,
|
||||
0.359375; 0.125000;,
|
||||
0.656250; 0.125000;,
|
||||
0.656250; 0.250000;,
|
||||
0.359375; 0.375000;,
|
||||
0.359375; 0.250000;,
|
||||
0.656250; 0.250000;,
|
||||
0.656250; 0.375000;,
|
||||
0.359375; 0.375000;,
|
||||
0.359375; 0.500000;,
|
||||
0.656250; 0.500000;,
|
||||
0.656250; 0.375000;,
|
||||
0.359375; 0.000000;,
|
||||
0.359375; 0.125000;,
|
||||
0.656250; 0.125000;,
|
||||
0.656250; 0.000000;,
|
||||
0.000000; 0.125000;,
|
||||
0.000000; 0.250000;,
|
||||
0.296875; 0.250000;,
|
||||
0.296875; 0.125000;,
|
||||
0.359375; 0.250000;,
|
||||
0.359375; 0.375000;,
|
||||
0.296875; 0.375000;,
|
||||
0.296875; 0.250000;,
|
||||
0.359375; 0.375000;,
|
||||
0.359375; 0.500000;,
|
||||
0.296875; 0.500000;,
|
||||
0.296875; 0.375000;,
|
||||
0.000000; 0.000000;,
|
||||
0.000000; 0.125000;,
|
||||
0.296875; 0.125000;,
|
||||
0.296875; 0.000000;,
|
||||
0.000000; 0.500000;,
|
||||
0.000000; 0.375000;,
|
||||
0.296875; 0.375000;,
|
||||
0.296875; 0.500000;,
|
||||
0.000000; 0.250000;,
|
||||
0.000000; 0.375000;,
|
||||
0.296875; 0.375000;,
|
||||
0.296875; 0.250000;,
|
||||
0.296875; 0.000000;,
|
||||
0.296875; 0.125000;,
|
||||
0.000000; 0.125000;,
|
||||
0.000000; 0.000000;,
|
||||
0.296875; 0.125000;,
|
||||
0.296875; 0.250000;,
|
||||
0.000000; 0.250000;,
|
||||
0.000000; 0.125000;,
|
||||
0.296875; 0.250000;,
|
||||
0.296875; 0.375000;,
|
||||
0.000000; 0.375000;,
|
||||
0.000000; 0.250000;,
|
||||
0.296875; 0.500000;,
|
||||
0.296875; 0.375000;,
|
||||
0.000000; 0.375000;,
|
||||
0.000000; 0.500000;,
|
||||
0.296875; 0.375000;,
|
||||
0.296875; 0.250000;,
|
||||
0.359375; 0.250000;,
|
||||
0.359375; 0.375000;,
|
||||
0.359375; 0.375000;,
|
||||
0.296875; 0.375000;,
|
||||
0.296875; 0.500000;,
|
||||
0.359375; 0.500000;,
|
||||
0.187500; 0.750000;,
|
||||
0.125000; 0.750000;,
|
||||
0.125000; 0.625000;,
|
||||
0.187500; 0.625000;,
|
||||
0.125000; 0.750000;,
|
||||
0.000000; 0.750000;,
|
||||
0.000000; 0.625000;,
|
||||
0.125000; 0.625000;,
|
||||
0.187500; 0.625000;,
|
||||
0.125000; 0.625000;,
|
||||
0.125000; 0.500000;,
|
||||
0.187500; 0.500000;,
|
||||
0.312500; 0.750000;,
|
||||
0.187500; 0.750000;,
|
||||
0.187500; 0.625000;,
|
||||
0.312500; 0.625000;,
|
||||
0.125000; 0.500000;,
|
||||
0.125000; 0.625000;,
|
||||
0.000000; 0.625000;,
|
||||
0.000000; 0.500000;,
|
||||
0.187500; 0.625000;,
|
||||
0.187500; 0.500000;,
|
||||
0.312500; 0.500000;,
|
||||
0.312500; 0.625000;,
|
||||
0.312500; 0.875000;,
|
||||
0.312500; 0.718750;,
|
||||
0.375000; 0.718750;,
|
||||
0.375000; 0.875000;,
|
||||
0.312500; 0.718750;,
|
||||
0.312500; 0.500000;,
|
||||
0.375000; 0.500000;,
|
||||
0.375000; 0.718750;,
|
||||
0.375000; 0.875000;,
|
||||
0.375000; 0.718750;,
|
||||
0.437500; 0.718750;,
|
||||
0.437500; 0.875000;,
|
||||
0.312500; 1.000000;,
|
||||
0.312500; 0.875000;,
|
||||
0.375000; 0.875000;,
|
||||
0.375000; 1.000000;,
|
||||
0.437500; 0.718750;,
|
||||
0.375000; 0.718750;,
|
||||
0.375000; 0.500000;,
|
||||
0.437500; 0.500000;,
|
||||
0.375000; 0.875000;,
|
||||
0.437500; 0.875000;,
|
||||
0.437500; 1.000000;,
|
||||
0.375000; 1.000000;,
|
||||
0.187500; 1.000000;,
|
||||
0.125000; 1.000000;,
|
||||
0.125000; 0.875000;,
|
||||
0.187500; 0.875000;,
|
||||
0.125000; 1.000000;,
|
||||
0.000000; 1.000000;,
|
||||
0.000000; 0.875000;,
|
||||
0.125000; 0.875000;,
|
||||
0.187500; 0.875000;,
|
||||
0.125000; 0.875000;,
|
||||
0.125000; 0.750000;,
|
||||
0.187500; 0.750000;,
|
||||
0.312500; 1.000000;,
|
||||
0.187500; 1.000000;,
|
||||
0.187500; 0.875000;,
|
||||
0.312500; 0.875000;,
|
||||
0.125000; 0.750000;,
|
||||
0.125000; 0.875000;,
|
||||
0.000000; 0.875000;,
|
||||
0.000000; 0.750000;,
|
||||
0.187500; 0.875000;,
|
||||
0.187500; 0.750000;,
|
||||
0.312500; 0.750000;,
|
||||
0.312500; 0.875000;,
|
||||
0.656250; 0.000000;,
|
||||
0.656250; 0.250000;,
|
||||
0.750000; 0.250000;,
|
||||
0.750000; 0.000000;,
|
||||
0.656250; 0.250000;,
|
||||
0.656250; 0.500000;,
|
||||
0.750000; 0.500000;,
|
||||
0.750000; 0.250000;,
|
||||
0.656250; 0.500000;,
|
||||
0.656250; 0.750000;,
|
||||
0.750000; 0.750000;,
|
||||
0.750000; 0.500000;,
|
||||
0.656250; 0.750000;,
|
||||
0.656250; 1.000000;,
|
||||
0.750000; 1.000000;,
|
||||
0.750000; 0.750000;,
|
||||
0.656250; 0.750000;,
|
||||
0.500000; 0.750000;,
|
||||
0.500000; 1.000000;,
|
||||
0.656250; 1.000000;,
|
||||
0.500000; 0.750000;,
|
||||
0.656250; 0.750000;,
|
||||
0.656250; 0.500000;,
|
||||
0.500000; 0.500000;;
|
||||
} //End of Cube_000 UV Coordinates
|
||||
XSkinMeshHeader {
|
||||
2;
|
||||
6;
|
||||
5;
|
||||
}
|
||||
SkinWeights {
|
||||
"Armature_Bone_003";
|
||||
24;
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
31,
|
||||
32,
|
||||
33,
|
||||
34,
|
||||
35,
|
||||
36,
|
||||
37,
|
||||
38,
|
||||
39,
|
||||
40,
|
||||
41,
|
||||
42,
|
||||
43,
|
||||
44,
|
||||
45,
|
||||
46,
|
||||
47;
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000;
|
||||
1.000000, 0.000165, 0.000000, 0.000000,
|
||||
-0.000000, 0.000000, 1.000000, 0.000000,
|
||||
0.000165,-1.000000, 0.000000, 0.000000,
|
||||
-0.293140, 3.021661,-0.002151, 1.000000;;
|
||||
} //End of Armature_Bone_003 Skin Weights
|
||||
SkinWeights {
|
||||
"Armature_Root";
|
||||
100;
|
||||
|
@ -1031,62 +1086,6 @@ Frame Root {
|
|||
-0.006250, 0.999980, 0.000000, 0.000000,
|
||||
0.013893,-3.276741, 0.002150, 1.000000;;
|
||||
} //End of Armature_Root Skin Weights
|
||||
SkinWeights {
|
||||
"Armature_Bone_001";
|
||||
24;
|
||||
72,
|
||||
73,
|
||||
74,
|
||||
75,
|
||||
76,
|
||||
77,
|
||||
78,
|
||||
79,
|
||||
80,
|
||||
81,
|
||||
82,
|
||||
83,
|
||||
84,
|
||||
85,
|
||||
86,
|
||||
87,
|
||||
88,
|
||||
89,
|
||||
90,
|
||||
91,
|
||||
92,
|
||||
93,
|
||||
94,
|
||||
95;
|
||||
0.999988,
|
||||
1.000000,
|
||||
1.000000,
|
||||
0.999991,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000;
|
||||
0.992973,-0.118342, 0.000000, 0.000000,
|
||||
0.000000, 0.000000, 1.000000, 0.000000,
|
||||
-0.118342,-0.992973, 0.000000, 0.000000,
|
||||
1.400077, 5.348889,-0.002152, 1.000000;;
|
||||
} //End of Armature_Bone_001 Skin Weights
|
||||
SkinWeights {
|
||||
"Armature_Bone_004";
|
||||
24;
|
||||
|
@ -1143,6 +1142,62 @@ Frame Root {
|
|||
0.000165,-1.000000, 0.000000, 0.000000,
|
||||
0.416382, 3.021777,-0.002151, 1.000000;;
|
||||
} //End of Armature_Bone_004 Skin Weights
|
||||
SkinWeights {
|
||||
"Armature_Bone_001";
|
||||
24;
|
||||
72,
|
||||
73,
|
||||
74,
|
||||
75,
|
||||
76,
|
||||
77,
|
||||
78,
|
||||
79,
|
||||
80,
|
||||
81,
|
||||
82,
|
||||
83,
|
||||
84,
|
||||
85,
|
||||
86,
|
||||
87,
|
||||
88,
|
||||
89,
|
||||
90,
|
||||
91,
|
||||
92,
|
||||
93,
|
||||
94,
|
||||
95;
|
||||
0.999988,
|
||||
1.000000,
|
||||
1.000000,
|
||||
0.999991,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000;
|
||||
0.992973,-0.118342, 0.000000, 0.000000,
|
||||
0.000000, 0.000000, 1.000000, 0.000000,
|
||||
-0.118342,-0.992973, 0.000000, 0.000000,
|
||||
1.400077, 5.348889,-0.002152, 1.000000;;
|
||||
} //End of Armature_Bone_001 Skin Weights
|
||||
SkinWeights {
|
||||
"Armature_Bone_002";
|
||||
24;
|
||||
|
@ -1199,63 +1254,7 @@ Frame Root {
|
|||
0.163144,-0.986602, 0.000000, 0.000000,
|
||||
-1.638568, 5.280413,-0.002152, 1.000000;;
|
||||
} //End of Armature_Bone_002 Skin Weights
|
||||
SkinWeights {
|
||||
"Armature_Bone_003";
|
||||
24;
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
31,
|
||||
32,
|
||||
33,
|
||||
34,
|
||||
35,
|
||||
36,
|
||||
37,
|
||||
38,
|
||||
39,
|
||||
40,
|
||||
41,
|
||||
42,
|
||||
43,
|
||||
44,
|
||||
45,
|
||||
46,
|
||||
47;
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000;
|
||||
1.000000, 0.000165, 0.000000, 0.000000,
|
||||
-0.000000, 0.000000, 1.000000, 0.000000,
|
||||
0.000165,-1.000000, 0.000000, 0.000000,
|
||||
-0.293140, 3.021661,-0.002151, 1.000000;;
|
||||
} //End of Armature_Bone_003 Skin Weights
|
||||
} //End of Cube_007 Mesh
|
||||
} //End of Cube_000 Mesh
|
||||
} //End of Cube_003
|
||||
} //End of Armature
|
||||
} //End of Root Frame
|
||||
|
|
After Width: | Height: | Size: 7.3 KiB |