Skip to content
Snippets Groups Projects
Commit f2a67871 authored by MirceaKitsune's avatar MirceaKitsune
Browse files

VanessaE suggested a sit animation, so add one to the player. Not used by...

VanessaE suggested a sit animation, so add one to the player. Not used by default, but many mods might find this handy
parent d39044a2
No related branches found
No related tags found
No related merge requests found
No preview for this file type
This diff is collapsed.
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment