convert to Blender 2.8 and add b3d version

master
poikilos 2020-02-23 10:15:10 -05:00
parent 6259bec5ac
commit 2d1923f6c6
10 changed files with 25 additions and 9 deletions

16
changelog.md Normal file
View File

@ -0,0 +1,16 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [git] - 2017-06-20
### Added
- https://github.com/ExcaliburZero/mobpack
- Blender 2.8 file (Append from old blend & set end frame & markers)
- this changelog.md
### Changed
- Rename to mob_dragon (change media naming to match)
- Move non-game project files to a new src directory.
- Make readme.md lowercase.

View File

@ -5,13 +5,13 @@ dofile(minetest.get_modpath("mobs").."/api.lua")
------Dragon-------
-------------------
-------------------
mobs:register_mob("mobpack:dragon", {
mobs:register_mob("mob_dragon:dragon", {
type = "monster",
hp_max = 8,
collisionbox = {-3, -3, -3, 3, 3, 3},
visual = "mesh",
mesh = "mobpack_dragon.x",
textures = {"mobpack_dragon.png"},
mesh = "mob_dragon.b3d",
textures = {"mob_dragon.png"},
visual_size = {x=5, y=5},
makes_footstep_sound = false,
view_range = 15,
@ -40,15 +40,15 @@ mobs:register_mob("mobpack:dragon", {
},
})
minetest.register_craftitem("mobpack:dragon", {
minetest.register_craftitem("mob_dragon:dragon", {
description = "Dragon",
inventory_image = "default_wood.png",
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.above then
minetest.env:add_entity(pointed_thing.above, "mobpack:dragon")
minetest.env:add_entity(pointed_thing.above, "mob_dragon:dragon")
itemstack:take_item()
end
return itemstack
end,
})
})

View File

@ -1,3 +1,3 @@
modpath=minetest.get_modpath("mobpack")
modpath = minetest.get_modpath("mob_dragon")
dofile(modpath.."/dragon.lua")
dofile(modpath.."/dragon.lua")

BIN
models/mob_dragon.b3d Normal file

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

BIN
src/mob_dragon.blend Normal file

Binary file not shown.

BIN
src/mob_dragon.blend1 Normal file

Binary file not shown.