Newbie Spellweaver
- Joined
- Dec 8, 2016
- Messages
- 53
- Reaction score
- 59
After all those years I got tired of seeing the same old chapter 6 loginscreen over and over again. So, I finally decided to update it to chapter 7. Still needs some improvement.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Yeah i my self would like to add this too the source can any one point me in the right direction or explain it here how to do it please ?
-> AccountLogin.cpp, login environment is handled here
Take a look at the code, understand how it works and add the login_ch7.wdb and camera layout.
LoginEpisode = 7 <---- add in 7
CheckMemory =1300
ItemMallHelpContent = 1
void CAccountLogin::InitLoginEnvironment()
{
int chapter = g_pGameMain->GetLoginEpisodeVersion();
//chapter = 1 + rand() % 6;
if (chapter == 7)
{
//7.0
m_AccountLoginCameraLayout.push_back(sCameraLayout(7118.0f, 562.0f, 2806.0f, 32.0f, -56.0f, 0.0f, 272.0f, 0.0f));
m_AccountLoginCameraLayout.push_back(sCameraLayout(6330.0f, 49.0f, 3194.0f, 15.0f, -73.0f, 0.0f, 158.0f, 1.6f));
m_AccountLoginCameraLayout.push_back(sCameraLayout(5530.69f, 12.0f, 3575.12f, 9.0f, -64.0f, 0.0f, 30.0f, 1.4f));
m_fPlayerHeight = 2.0f;
float angle = 296.00f * ruPI / 180.0f;
m_PlayerDirection = CRuVector3(-sin(angle), 0.0f, -cos(angle));
g_pGameMain->SetLoginWdbFileName("wdb\\login\\login_ch7.wdb");
}
else if( chapter == 6 )
{
//6.0
Thanks for correcting me, I forgot