first commit
This commit is contained in:
commit
1e3f9ca794
2
depends.txt
Normal file
2
depends.txt
Normal file
@ -0,0 +1,2 @@
|
||||
default
|
||||
mobs
|
1
description.txt
Normal file
1
description.txt
Normal file
@ -0,0 +1 @@
|
||||
This mod adds several styles of zombies, that spawn mainly on broken nodes from Duane's Cityscape mod.
|
98
init.lua
Normal file
98
init.lua
Normal file
@ -0,0 +1,98 @@
|
||||
mobs:register_mob('zombies:1arm', {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 2,
|
||||
hp_min = 7,
|
||||
hp_max = 33,
|
||||
armor = 15,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "zombie_one-arm.b3d",
|
||||
textures = {
|
||||
{"zombie01.png"},
|
||||
{"zombie02.png"},
|
||||
{"zombie03.png"},
|
||||
},
|
||||
blood_texture = "default_wood.png",
|
||||
makes_footstep_sound = true,
|
||||
-- sounds = {
|
||||
-- random = "mobs_treemonster",
|
||||
-- },
|
||||
walk_velocity = 1,
|
||||
run_velocity = 2,
|
||||
jump = true,
|
||||
view_range = 15,
|
||||
drops = {
|
||||
{name = "default:dirt", chance = 1, min = 3, max = 5},
|
||||
},
|
||||
lava_damage = 5,
|
||||
light_damage = 0,
|
||||
fall_damage = 2,
|
||||
animation = {
|
||||
speed_normal = 5,
|
||||
speed_run = 10,
|
||||
walk_start = 0,
|
||||
walk_end = 20,
|
||||
run_start = 0,
|
||||
run_end = 20,
|
||||
punch_start = 21,
|
||||
punch_end = 51,
|
||||
},
|
||||
})
|
||||
|
||||
mobs:register_mob('zombies:crawler', {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 1,
|
||||
damage = 1,
|
||||
hp_min = 7,
|
||||
hp_max = 20,
|
||||
armor = 5,
|
||||
collisionbox = {-0.5, -1, -0.4, 0.5, 0.2, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "zombie_crawler.b3d",
|
||||
textures = {
|
||||
{"zombie01.png"},
|
||||
{"zombie02.png"},
|
||||
{"zombie03.png"},
|
||||
},
|
||||
blood_texture = "default_wood.png",
|
||||
makes_footstep_sound = true,
|
||||
-- sounds = {
|
||||
-- random = "mobs_treemonster",
|
||||
-- },
|
||||
walk_velocity = .5,
|
||||
run_velocity = 1,
|
||||
jump = true,
|
||||
view_range = 15,
|
||||
drops = {
|
||||
{name = "default:dirt", chance = 1, min = 3, max = 5},
|
||||
},
|
||||
lava_damage = 5,
|
||||
light_damage = 0,
|
||||
fall_damage = 2,
|
||||
animation = {
|
||||
speed_normal = 10,
|
||||
speed_run = 10,
|
||||
walk_start = 0,
|
||||
walk_end = 40,
|
||||
run_start = 0,
|
||||
run_end = 40,
|
||||
punch_start = 41,
|
||||
punch_end = 71,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
--Spawn Functions
|
||||
mobs:register_spawn("zombies:1arm", {"cityscape:road_broken", "cityscape:sidewalk_broken"},14, 0, 70, 10, 170, false)
|
||||
mobs:register_spawn("zombies:crawler", {"cityscape:road_broken", "cityscape:sidewalk_broken"},14, 0, 70, 10, 170, false)
|
||||
|
||||
--Spawn Eggs
|
||||
mobs:register_egg("zombies:1arm", "One Armed Zombie", "something.png", 1)
|
||||
mobs:register_egg("zombies:crawler", "Crawling Zombie", "something.png", 1)
|
BIN
models/Zombie_base.blend
Normal file
BIN
models/Zombie_base.blend
Normal file
Binary file not shown.
BIN
models/Zombie_crawler.blend
Normal file
BIN
models/Zombie_crawler.blend
Normal file
Binary file not shown.
BIN
models/Zombie_crawler.blend1
Normal file
BIN
models/Zombie_crawler.blend1
Normal file
Binary file not shown.
BIN
models/Zombie_one-arm.blend
Normal file
BIN
models/Zombie_one-arm.blend
Normal file
Binary file not shown.
BIN
models/zombie_crawler.b3d
Normal file
BIN
models/zombie_crawler.b3d
Normal file
Binary file not shown.
BIN
models/zombie_one-arm.b3d
Normal file
BIN
models/zombie_one-arm.b3d
Normal file
Binary file not shown.
BIN
textures/zombie01.png
Normal file
BIN
textures/zombie01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
textures/zombie02.png
Normal file
BIN
textures/zombie02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
textures/zombie03.png
Normal file
BIN
textures/zombie03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Loading…
x
Reference in New Issue
Block a user