commit 1e3f9ca7942f161026856f1a3be3143b9dd3cb15 Author: NathanSalapat Date: Fri Mar 11 20:15:32 2016 -0600 first commit diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..cc03398 --- /dev/null +++ b/depends.txt @@ -0,0 +1,2 @@ +default +mobs diff --git a/description.txt b/description.txt new file mode 100644 index 0000000..cadb2b4 --- /dev/null +++ b/description.txt @@ -0,0 +1 @@ +This mod adds several styles of zombies, that spawn mainly on broken nodes from Duane's Cityscape mod. diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..a00bd1b --- /dev/null +++ b/init.lua @@ -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) diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..f018309 --- /dev/null +++ b/mod.conf @@ -0,0 +1 @@ +name = zombies diff --git a/models/Zombie_base.blend b/models/Zombie_base.blend new file mode 100644 index 0000000..5156a59 Binary files /dev/null and b/models/Zombie_base.blend differ diff --git a/models/Zombie_crawler.blend b/models/Zombie_crawler.blend new file mode 100644 index 0000000..f9ceea6 Binary files /dev/null and b/models/Zombie_crawler.blend differ diff --git a/models/Zombie_crawler.blend1 b/models/Zombie_crawler.blend1 new file mode 100644 index 0000000..fd235e6 Binary files /dev/null and b/models/Zombie_crawler.blend1 differ diff --git a/models/Zombie_one-arm.blend b/models/Zombie_one-arm.blend new file mode 100644 index 0000000..87f186c Binary files /dev/null and b/models/Zombie_one-arm.blend differ diff --git a/models/zombie_crawler.b3d b/models/zombie_crawler.b3d new file mode 100644 index 0000000..bf7644b Binary files /dev/null and b/models/zombie_crawler.b3d differ diff --git a/models/zombie_one-arm.b3d b/models/zombie_one-arm.b3d new file mode 100644 index 0000000..4cbdc5a Binary files /dev/null and b/models/zombie_one-arm.b3d differ diff --git a/textures/zombie01.png b/textures/zombie01.png new file mode 100644 index 0000000..7116fa0 Binary files /dev/null and b/textures/zombie01.png differ diff --git a/textures/zombie02.png b/textures/zombie02.png new file mode 100644 index 0000000..3a92b80 Binary files /dev/null and b/textures/zombie02.png differ diff --git a/textures/zombie03.png b/textures/zombie03.png new file mode 100644 index 0000000..480b907 Binary files /dev/null and b/textures/zombie03.png differ