Compare commits
5 Commits
f976ce738f
...
b94cae0d4a
Author | SHA1 | Date |
---|---|---|
Aaron Suen | b94cae0d4a | |
Aaron Suen | c00413817a | |
Aaron Suen | 8f334ce1a3 | |
Aaron Suen | 61e448979d | |
Aaron Suen | 3ea8148909 |
|
@ -21,6 +21,7 @@ return {
|
|||
pkg = "nc_skins",
|
||||
version = stamp .. "-$Format:%h$",
|
||||
type = "mod",
|
||||
dev_state = "ACTIVELY_DEVELOPED",
|
||||
title = "NodeCore Skins",
|
||||
short_description = "Custom player skins for NodeCore",
|
||||
tags = {"complex_installation", "multiplayer", "player_effects", "decorative"},
|
||||
|
|
10
TODO
10
TODO
|
@ -1,9 +1,15 @@
|
|||
------------------------------------------------------------------------
|
||||
|
||||
Switch to dynamic media for all skins?
|
||||
|
||||
Optionally detect and apply new skins periodically at runtime?
|
||||
- Optionally detect and apply new skins periodically at runtime?
|
||||
|
||||
Optional HTTP fetch API for new players and updates?
|
||||
|
||||
Allow players to change skins at runtime?
|
||||
- How do we control which set of skins per player?
|
||||
|
||||
Allow accessories?
|
||||
- Extra custom surfaces via ent attachments
|
||||
- Custom obj models?
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 40 KiB |
|
@ -18,13 +18,14 @@ for pname, texture in pairs(api.all_loaded_skins()) do
|
|||
use_texture_alpha = "clip",
|
||||
wield_scale = {x = 2, y = 2, z = 2},
|
||||
virtual_item = true,
|
||||
paramtype = "light",
|
||||
on_punch = minetest.remove_node
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
local pname = player:get_player_name()
|
||||
local hand = hands[pname]
|
||||
local hand = hands[pname:lower()]
|
||||
if not hand then return end
|
||||
minetest.after(0, function()
|
||||
player = minetest.get_player_by_name(pname)
|
||||
|
|
Loading…
Reference in New Issue