VanessaE suggested a sit animation, so add one to the player. Not used by default, but many mods might find this handy

This commit is contained in:
MirceaKitsune 2012-11-27 01:19:48 +02:00
parent d39044a2a7
commit f2a67871d2
3 changed files with 2786 additions and 839 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -22,14 +22,16 @@ function player_get_animations(model)
return {
stand_START = 0,
stand_END = 79,
walk_START = 81,
walk_END = 100,
mine_START = 102,
mine_END = 111,
walk_mine_START = 113,
walk_mine_END = 132,
death_START = 134,
death_END = 153
sit_START = 81,
sit_END = 160,
walk_START = 162,
walk_END = 181,
mine_START = 183,
mine_END = 192,
walk_mine_START = 194,
walk_mine_END = 213,
death_START = 215,
death_END = 234
}
end
end
@ -43,10 +45,11 @@ local player_model = {}
local player_anim = {}
local player_sneak = {}
local ANIM_STAND = 1
local ANIM_WALK = 2
local ANIM_WALK_MINE = 3
local ANIM_MINE = 4
local ANIM_DEATH = 5
local ANIM_SIT = 2
local ANIM_WALK = 3
local ANIM_WALK_MINE = 4
local ANIM_MINE = 5
local ANIM_DEATH = 6
-- Called when a player's appearance needs to be updated
function player_update_visuals(pl)