night map

Joined
Jan 3, 2014
Messages
6
Reaction score
0
how can i make an specifically map always night? like arena i want to make arena always night.

i take a look at WorldEnvironment.cpp and the "if( GetID() == WI_WORLD_ARENA )" is not working

i made this still not working
Code:
if( GetID() == WI_WORLD_ARENA)
{
memcpy( m_k24Light, gs_kLightArenaDark, sizeof( LIGHTCOLOR ) * 24 );
}
else
{
memcpy( m_k24Light, gs_kLight, sizeof( LIGHTCOLOR ) * 24 );
}
 
Last edited:
you have day night system?

World3D.cpp
Code:
CWorld* pWorld = g_WorldMng.Get( );
            if(pWorld->GetID() == WI_WORLD_ARENA )
            {
                g_GameTimer.m_bFixed = TRUE;
                                g_GameTimer.m_nHour = 2;
            }
if not work go to debug (in game and make sure your account has admin priv.) and check hour and see what time you get the darky sky and change the value of g_GameTimer.m_nHour ​equal to your generated number ^_^
 
Back