Initial commit (version 0.1-test)
55
mods/people/init.lua
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
-- People
|
||||
mobs:register_mob("people:female", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 2,
|
||||
hp_min = 10,
|
||||
hp_max = 15,
|
||||
collisionbox =
|
||||
{
|
||||
-.4, 0, -.4, .4, 2, .4
|
||||
},
|
||||
pushable = true,
|
||||
visual = "mesh",
|
||||
mesh = "character.b3d",
|
||||
textures =
|
||||
{
|
||||
{"female_person.png"},
|
||||
{"female_person1.png"},
|
||||
{"female_person2.png"},
|
||||
{"female_person3.png"},
|
||||
},
|
||||
|
||||
makes_footstep_sound = true,
|
||||
sounds =
|
||||
{
|
||||
random = "female_noise",
|
||||
},
|
||||
|
||||
walk_velocity = 2,
|
||||
run_velocity = 8,
|
||||
jump_height = 1,
|
||||
stepheight = 0,
|
||||
floats = 0,
|
||||
view_range = 45,
|
||||
fall_damage = true,
|
||||
|
||||
|
||||
animation =
|
||||
{
|
||||
speed_normal = 30,
|
||||
speed_run = 50,
|
||||
stand_start = 0,
|
||||
stand_end = 79,
|
||||
walk_start = 168,
|
||||
walk_end = 187,
|
||||
run_start = 168,
|
||||
run_end = 187,
|
||||
punch_start = 200,
|
||||
punch_end = 219
|
||||
},
|
||||
})
|
||||
2
mods/people/mod.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
name = people
|
||||
depends = mobs
|
||||
BIN
mods/people/textures/female_person.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
mods/people/textures/female_person1.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
mods/people/textures/female_person2.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
mods/people/textures/female_person3.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
mods/people/textures/male_person.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
mods/people/textures/male_person1.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
mods/people/textures/male_person2.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |