forked from VoxeLibre/VoxeLibre
Player damage texture modifier
This commit is contained in:
parent
fbd4a3a516
commit
2bc5a281f5
|
@ -59,6 +59,7 @@ function mcl_player.player_set_model(player, model_name)
|
|||
textures = player_textures[name] or model.textures,
|
||||
visual = "mesh",
|
||||
visual_size = model.visual_size or {x=1, y=1},
|
||||
damage_texture_modifier = "^[colorize:red:130",
|
||||
})
|
||||
mcl_player.player_set_animation(player, "stand")
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue