emmisive eyes
This commit is contained in:
parent
d1809b35ee
commit
8c8ceaaf47
5 changed files with 12 additions and 8 deletions
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
||||||
events.ENTITY_INIT:register(function ()
|
events.ENTITY_INIT:register(function ()
|
||||||
require("scripts.vanilla_model")
|
require("scripts.model")
|
||||||
require("scripts.nameplate")
|
require("scripts.nameplate")
|
||||||
require("scripts.soggy")
|
require("scripts.soggy")
|
||||||
require("scripts.physics")
|
require("scripts.physics")
|
||||||
|
|
10
scripts/model.lua
Normal file
10
scripts/model.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
for _, vanillaModel in pairs({
|
||||||
|
vanilla_model.PLAYER,
|
||||||
|
vanilla_model.ARMOR
|
||||||
|
}) do
|
||||||
|
vanillaModel:setVisible(false)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- hides emmisive textures with invisibility, and likely more things
|
||||||
|
-- https://figura-wiki.pages.dev/tutorials/Emissive%20Textures#setting-render-type-example
|
||||||
|
models:setSecondaryRenderType("EYES")
|
|
@ -1,6 +0,0 @@
|
||||||
for _, vanillaModel in pairs({
|
|
||||||
vanilla_model.PLAYER,
|
|
||||||
vanilla_model.ARMOR
|
|
||||||
}) do
|
|
||||||
vanillaModel:setVisible(false)
|
|
||||||
end
|
|
BIN
textures/main_e.png
Normal file
BIN
textures/main_e.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 134 B |
Loading…
Add table
Add a link
Reference in a new issue