added more sounds
parent
b8420fece2
commit
3764cd42fc
|
@ -0,0 +1,17 @@
|
|||
--mobs_fallout v0.0.4
|
||||
--maikerumine
|
||||
--made for Aftermath game
|
||||
|
||||
|
||||
local path = minetest.get_modpath("mobs_fallout")
|
||||
|
||||
|
||||
minetest.register_alias("creatures:rotten_flesh", "mobs:meat")
|
||||
minetest.register_alias("creatures:zombie", "mobs_fallout:sheep")
|
||||
minetest.register_alias("creatures:ghost", "mobs_fallout:sheep")
|
||||
mobs:alias_mob("creatures:zombie", "mobs_fallout:sheep")
|
||||
mobs:alias_mob("creatures:ghost", "mobs_fallout:sheep")
|
||||
mobs:alias_mob("creatures:zombie_spawner_dummy", "mobs_fallout:sheep")
|
||||
mobs:alias_mob("creatures:ghost_spawner_dummy", "mobs_fallout:sheep")
|
||||
minetest.register_alias("creatures:zombie_spawner", "default:dirt")
|
||||
minetest.register_alias("creatures:ghost_spawner", "default:dirt")
|
|
@ -279,7 +279,7 @@ mobs:register_mob("mobs_fallout:FloatingWraith", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell2",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_yeti_death",
|
||||
attack = "shooter_shotgun",
|
||||
},
|
||||
|
@ -334,7 +334,7 @@ mobs:register_mob("mobs_fallout:Ghost", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell1",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_barbarian_death",
|
||||
attack = "shooter_shotgun",
|
||||
},
|
||||
|
@ -389,7 +389,7 @@ mobs:register_mob("mobs_fallout:Zombie_Rex", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell1",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_barbarian_death",
|
||||
attack = "shooter_shotgun",
|
||||
},
|
||||
|
@ -444,7 +444,7 @@ mobs:register_mob("mobs_fallout:Lovehart", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell1",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_fireball",
|
||||
attack = "shooter_pistol",
|
||||
},
|
||||
|
@ -723,7 +723,7 @@ mobs:register_mob("mobs_fallout:Orc", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_die_yell",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_death2",
|
||||
attack = "shooter_pistol",
|
||||
},
|
||||
|
@ -1003,7 +1003,7 @@ mobs:register_mob("mobs_fallout:Zombie_Drogado_A", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell2",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_barbarian_death",
|
||||
attack = "shooter_shotgun",
|
||||
},
|
||||
|
@ -1058,7 +1058,7 @@ mobs:register_mob("mobs_fallout:Zombie_Drogado_B", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell1",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_barbarian_death",
|
||||
attack = "shooter_pistol",
|
||||
},
|
||||
|
@ -1113,7 +1113,7 @@ mobs:register_mob("mobs_fallout:Zombie_Drogado_C", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_eerie",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_yeti_death",
|
||||
attack = "shooter_shotgun",
|
||||
},
|
||||
|
@ -1168,7 +1168,7 @@ mobs:register_mob("mobs_fallout:Zombie_Drogado_D", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell2",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_howl",
|
||||
attack = "shooter_pistol",
|
||||
},
|
||||
|
@ -1224,7 +1224,7 @@ mobs:register_mob("mobs_fallout:Zombie_Drogado_E", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell2",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_howl",
|
||||
attack = "shooter_pistol",
|
||||
},
|
||||
|
@ -1282,7 +1282,7 @@ mobs:register_mob("mobs_fallout:Zombie_Drogado_F", {
|
|||
punch_start = 200, punch_end = 219,
|
||||
},
|
||||
sounds = {
|
||||
war_cry = "mobs_barbarian_yell1",
|
||||
war_cry = "mobs_stonemonster",
|
||||
death = "mobs_barbarian_death",
|
||||
attack = "shooter_pistol",
|
||||
},
|
||||
|
|
3
init.lua
3
init.lua
|
@ -2,13 +2,16 @@
|
|||
--maikerumine
|
||||
--made for Nuclear_Holocaust game
|
||||
|
||||
|
||||
local path = minetest.get_modpath("mobs_fallout")
|
||||
|
||||
dofile(minetest.get_modpath("mobs_fallout").."/esnpc.lua")
|
||||
dofile(minetest.get_modpath("mobs_fallout").."/esbadplayer.lua")
|
||||
dofile(minetest.get_modpath("mobs_fallout").."/esanimal.lua")
|
||||
dofile(minetest.get_modpath("mobs_fallout").."/radbug.lua")
|
||||
dofile(minetest.get_modpath("mobs_fallout").."/crafts.lua")
|
||||
dofile(minetest.get_modpath("mobs_fallout").."/crossfire.lua")
|
||||
dofile(minetest.get_modpath("mobs_fallout").."/alias.lua")
|
||||
|
||||
--IN CASE BONES IS NOT INSTALLED, THIS OVERRIDES NODES SO YOU HAVE THEM FOR MOBS.
|
||||
if not bones then
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,61 @@
|
|||
--mobs_fallout v0.0.3
|
||||
--maikerumine
|
||||
--made for Extreme Survival game
|
||||
|
||||
|
||||
--dofile(minetest.get_modpath("mobs_fallout").."/api.lua")
|
||||
|
||||
--REFERENCE
|
||||
--function (mod_name_here):spawn_specific(name, nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height)
|
||||
|
||||
-- radbug by PilzAdam
|
||||
|
||||
mobs:register_mob("mobs_fallout:radbug", {
|
||||
docile_by_day = false,
|
||||
group_attack = true,
|
||||
pathfinding = true,
|
||||
type = "monster",
|
||||
hp_max = 20,
|
||||
hp_min = 20,
|
||||
collisionbox = {-0.49, 0.00, -0.49, 0.49, 0.9, 0.49},
|
||||
visual = "mesh",
|
||||
mesh = "ant_soldier.x",
|
||||
textures = {{"ant_soldier.png"}},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 20,
|
||||
fear_height = 4,
|
||||
walk_velocity = 1.5,
|
||||
run_velocity = 3,
|
||||
jump = true,
|
||||
rotate = 270,
|
||||
sounds = {
|
||||
random = "ant",
|
||||
},
|
||||
drops = {
|
||||
{name = "mobs_fallout:meat_raw",
|
||||
chance = 1, min = 2, max = 3},
|
||||
{name = "default:glue",
|
||||
chance = 1, min = 1, max = 1},
|
||||
},
|
||||
reach = 2,
|
||||
armor = 90,
|
||||
water_damage = 2,
|
||||
lava_damage = 7,
|
||||
light_damage = 0,
|
||||
attack_type = "dogfight",
|
||||
animation = {
|
||||
speed_normal = 20,
|
||||
speed_run = 35,
|
||||
stand_start = 1,
|
||||
stand_end = 60,
|
||||
walk_start = 90,
|
||||
walk_end = 130,
|
||||
run_start = 90,
|
||||
run_end = 130,
|
||||
punch_start = 60,
|
||||
punch_end = 80,
|
||||
}
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_fallout:radbug", {"default:dry_dirt"}, 6, -1, 8000, 2, 31000)
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue