quick commit
This commit is contained in:
47
mods/robocops/init.lua
Normal file
47
mods/robocops/init.lua
Normal file
@@ -0,0 +1,47 @@
|
||||
mobs:register_mob("robocops:robocop", {
|
||||
type = "monster",
|
||||
passive = false,
|
||||
attack_type = "dogshoot",
|
||||
pathfinding = true,
|
||||
reach = 2,
|
||||
damage = 3,
|
||||
hp_min = 21,
|
||||
hp_max = 25,
|
||||
armor = 100,
|
||||
collisionbox =
|
||||
{
|
||||
-.4, 0, -.4, .4, 2, .4
|
||||
},
|
||||
pushable = true,
|
||||
visual = "mesh",
|
||||
mesh = "character.b3d",
|
||||
textures =
|
||||
{
|
||||
{"robocops_robocop.png"},
|
||||
},
|
||||
|
||||
makes_footstep_sound = true,
|
||||
|
||||
|
||||
walk_velocity = 4,
|
||||
run_velocity = 9,
|
||||
jump_height = 1,
|
||||
stepheight = 0,
|
||||
floats = 0,
|
||||
view_range = 60,
|
||||
|
||||
|
||||
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/robocops/mod.conf
Normal file
2
mods/robocops/mod.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
name = robocops
|
||||
depends = mobs
|
||||
BIN
mods/robocops/textures/robocop.png
Normal file
BIN
mods/robocops/textures/robocop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 560 B |
Reference in New Issue
Block a user