17 lines
718 B
Lua
17 lines
718 B
Lua
|
require("GSAnimBlend")
|
||
|
vanilla_model.PLAYER:setVisible(false)
|
||
|
models.player_model.root:setPrimaryTexture("SKIN")
|
||
|
BlendTime = 2
|
||
|
animations.player_model.clap:setBlendTime(BlendTime)
|
||
|
animations.player_model.followMe:setBlendTime(BlendTime)
|
||
|
animations.player_model.wave:setBlendTime(BlendTime)
|
||
|
animations.player_model.sitting:setBlendTime(BlendTime)
|
||
|
animations.player_model.tilt:setBlendTime(BlendTime)
|
||
|
|
||
|
function events.ENTITY_INIT()
|
||
|
IsSlim = player:getModelType() == "SLIM"
|
||
|
models.player_model.root.RightArm.RSlim:setVisible(IsSlim)
|
||
|
models.player_model.root.LeftArm.LSlim:setVisible(IsSlim)
|
||
|
models.player_model.root.LeftArm.LSteve:setVisible(not IsSlim)
|
||
|
models.player_model.root.RightArm.RSteve:setVisible(not IsSlim)
|
||
|
end
|