ralke
(҂ ͠❛ ෴ ͡❛)ᕤ
Hi there! There's a script written by oen that shows a message in the window everytime the player changes an area. I wonder if the could be an extra option, that can be enabled or disabled inside the tables, that triggers a change of shader.
Here's the script and the line i'm talking about
This way, inside the table, allow to write types of enviroment (shaders), for example:
So if biome = "bloom" turn on MAP_SHADERS
Reference:
As an extra, only if is possible, whenever you write "none" on name = or biome = it returns and does nothing.
Thanks in advance, Regards!
Here's the script and the line i'm talking about
Greed-OTC/modules/game_areas/areas.lua at main · ralke23/Greed-OTC
A fork of mehah's and edubart otclient, optimized for Tibia 8.6. - ralke23/Greed-OTC
github.com
This way, inside the table, allow to write types of enviroment (shaders), for example:
Lua:
{
from = {x = 1034, y = 1050, z = 6},
to = {x = 1034, y = 1051, z = 6},
name = "Orc Fortress"
biome = "bloom"
},
So if biome = "bloom" turn on MAP_SHADERS
Lua:
{
name = 'Map - Bloom',
frag = 'shaders/fragment/bloom.frag'
},
Reference:
Greed-OTC/modules/game_shaders/shaders.lua at main · ralke23/Greed-OTC
A fork of mehah's and edubart otclient, optimized for Tibia 8.6. - ralke23/Greed-OTC
github.com
As an extra, only if is possible, whenever you write "none" on name = or biome = it returns and does nothing.
Thanks in advance, Regards!