safademirel 292 Posted July 26, 2015 Share Posted July 26, 2015 M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) InstanceBase.h find NAMECOLOR_WAYPOINT, add NAMECOLOR_METIN, PythonCharacterManagerModule.cpp find PyModule_AddIntConstant(poModule, "NAMECOLOR_MOB", CInstanceBase::NAMECOLOR_NORMAL_MOB); add PyModule_AddIntConstant(poModule, "NAMECOLOR_METIN", CInstanceBase::NAMECOLOR_METIN); InstanceBaseEffect.cpp find else if (IsPoly()) { return NAMECOLOR_MOB; } add else if (IsStone()) { return NAMECOLOR_METIN; } PythonMiniMap.cpp find m_NPCPositionVector.clear(); add m_MetinPositionVector.clear(); find else if (pkInstEach->IsNPC()) { aMarkPosition.m_fX = ( m_fWidth - (float)m_WhiteMark.GetWidth() ) / 2.0f + fDistanceFromCenterX + m_fScreenX; aMarkPosition.m_fY = ( m_fHeight - (float)m_WhiteMark.GetHeight() ) / 2.0f + fDistanceFromCenterY + m_fScreenY; m_NPCPositionVector.push_back(aMarkPosition); } add else if (pkInstEach->IsStone()) { aMarkPosition.m_fX = ( m_fWidth - (float)m_WhiteMark.GetWidth() ) / 2.0f + fDistanceFromCenterX + m_fScreenX; aMarkPosition.m_fY = ( m_fHeight - (float)m_WhiteMark.GetHeight() ) / 2.0f + fDistanceFromCenterY + m_fScreenY; m_MetinPositionVector.push_back(aMarkPosition); } find // NPC STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_NPC)); aIterator = m_NPCPositionVector.begin(); while (aIterator != m_NPCPositionVector.end()) { TMarkPosition & rPosition = *aIterator; m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY); m_WhiteMark.Render(); ++aIterator; } add // Metin STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_METIN)); aIterator = m_MetinPositionVector.begin(); while (aIterator != m_MetinPositionVector.end()) { TMarkPosition & rPosition = *aIterator; m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY); m_WhiteMark.Render(); ++aIterator; } PythonMiniMap.h find TInstanceMarkPositionVector m_NPCPositionVector; add TInstanceMarkPositionVector m_MetinPositionVector; root/colorinfo.py find CHR_NAME_RGB_WARP = (136, 218, 241) add CHR_NAME_RGB_METIN = (240, 255, 255) You can select another color from here root/introloading.py find chrmgr.NAMECOLOR_WAYPOINT : colorInfo.CHR_NAME_RGB_WAYPOINT, add chrmgr.NAMECOLOR_METIN : colorInfo.CHR_NAME_RGB_METIN, 62 1 1 1 27 4 47 Link to comment Share on other sites More sharing options...
Former Staff Shisui 492 Posted July 26, 2015 Former Staff Share Posted July 26, 2015 Thanks for sharing. Link to comment Share on other sites More sharing options...
d3s4st3r 40 Posted July 26, 2015 Share Posted July 26, 2015 (edited) U forgot to define "m_MetinPositionVector" in "PythonMiniMap.h".Anyway, thx 4 sharing. €: Now it's alright. Greetz Edited July 27, 2015 by d3s4st3r 1 Link to comment Share on other sites More sharing options...
Finch 16 Posted July 26, 2015 Share Posted July 26, 2015 (edited) help Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Night 367 Posted July 26, 2015 Share Posted July 26, 2015 (edited) help look at the prevous reply just add : TInstanceMarkPositionVector m_MetinPositionVector; after TInstanceMarkPositionVector m_WarpPositionVector; Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 1 Link to comment Share on other sites More sharing options...
safademirel 292 Posted July 27, 2015 Author Share Posted July 27, 2015 Thanks for comments, I edited the first post. Link to comment Share on other sites More sharing options...
Cyxer 140 Posted December 5, 2015 Share Posted December 5, 2015 1205 13:26:44228 :: Traceback (most recent call last): 1205 13:26:44276 :: File "introLoading.py", line 208, in LoadData 1205 13:26:44276 :: File "introLoading.py", line 283, in __RegisterColor 1205 13:26:44276 :: AttributeError 1205 13:26:44276 :: : 1205 13:26:44276 :: 'module' object has no attribute 'NAMECOLOR_METIN' 1205 13:26:44276 :: Link to comment Share on other sites More sharing options...
Eigenartig 7 Posted December 15, 2015 Share Posted December 15, 2015 thanks Link to comment Share on other sites More sharing options...
RealReznov 15 Posted March 13, 2016 Share Posted March 13, 2016 Works fine Link to comment Share on other sites More sharing options...
mdxyz 240 Posted March 17, 2016 Share Posted March 17, 2016 ty! 2 Link to comment Share on other sites More sharing options...
Rainbow3D 54 Posted April 10, 2016 Share Posted April 10, 2016 Thanks for sharing. Link to comment Share on other sites More sharing options...
margoss 1 Posted February 24, 2017 Share Posted February 24, 2017 Link to comment Share on other sites More sharing options...
Cunoo 210 Posted March 3, 2020 Share Posted March 3, 2020 (edited) Anyone has solution how to fix it? I want minimalize filter like classic mobs.. https://metin2.download/picture/GIJ1rKas4zgBxa131bZmQ1hn22NKVe5p/.png Thanks! Edit: Fix by yourself.. This: // Metin STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_METIN)); aIterator = m_MetinPositionVector.begin(); while (aIterator != m_MetinPositionVector.end()) { TMarkPosition & rPosition = *aIterator; m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY); m_WhiteMark.Render(); ++aIterator; } Not under this: // NPC STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_NPC)); aIterator = m_NPCPositionVector.begin(); while (aIterator != m_NPCPositionVector.end()) { TMarkPosition & rPosition = *aIterator; m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY); m_WhiteMark.Render(); ++aIterator; } But under this: // Monster STATEMANAGER.SetRenderState(D3DRS_TEXTUREFACTOR, CInstanceBase::GetIndexedNameColor(CInstanceBase::NAMECOLOR_MOB));//m_MarkTypeToColorMap[TYPE_MONSTER]); aIterator = m_MonsterPositionVector.begin(); while (aIterator != m_MonsterPositionVector.end()) { TMarkPosition & rPosition = *aIterator; m_WhiteMark.SetPosition(rPosition.m_fX, rPosition.m_fY); m_WhiteMark.Render(); ++aIterator; } Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal 1 3 1 1 Link to comment Share on other sites More sharing options...
DevBlade 8 Posted January 16, 2021 Share Posted January 16, 2021 Does someone know how to add to the Minimap Window also? Link to comment Share on other sites More sharing options...
Recommended Posts