Jump to content

Removing shadows in Metin2 game


Recommended Posts

Hi.
If u want from config (Player can enable it)
original:
Metin2.cfg ->SHADOW_LEVEL            number

it is enum:
SHADOW_NONE = 0
SHADOW_GROUND = 1
SHADOW_GROUND_AND_SOLO = 2
SHADOW_ALL = 3
SHADOW_ALL_HIGH = 4
SHADOW_ALL_MAX = 5

if u want to disable in source, go to :
UserInterface/PythonBackground.cpp
In this file search:


 

bool CPythonBackground::SetShadowLevel(int eLevel)
{
    if (!m_pkMap)
        return false;

    if (m_eShadowLevel == eLevel)
        return true;

    CMapOutdoor& rkMap = GetMapOutdoorRef();


After add this:
eLevel = 0;


looks like:

 

bool CPythonBackground::SetShadowLevel(int eLevel)
{
    if (!m_pkMap)
        return false;

    if (m_eShadowLevel == eLevel)
        return true;

    CMapOutdoor& rkMap = GetMapOutdoorRef();

    eLevel = SHADOW_NONE;

    m_eShadowLevel = eLevel;

    switch (m_eShadowLevel)


Excuse me for bad english.

  • Love 1

787292068_Nvtelen.png.6faa7b0bbb3398fd29

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.