Jump to content

Atlas & Minimap Image By Day Type


Recommended Posts

  • Honorable Member

Thanks to @ Gurgarath @ HaiosMotan

This is the hidden content, please

This is the hidden content, please

 

.gif

 

Requirements: 

Spoiler

 

 

Video:

video.jpg?ex=65b69d28&is=65a42828&hm=713

Release:

rls.png?ex=65b69d2d&is=65a4282d&hm=acea3

Edited by Mali
  • Metin2 Dev 68
  • Eyes 1
  • Scream 1
  • Good 6
  • Love 4
  • Love 30

 

Link to comment
Share on other sites

  • Honorable Member

Snow-mode atlases and minimaps for basic maps from late 2020.

This is the hidden content, please

This is the hidden content, please

 

Spoiler

.png

.png

note: you need to call the reloadminimap where the snowtexturesetoption changes the textureset.

Path and filename are might different from the code of the system, it's for my codes which didn't follow the official reversed one.

  • Metin2 Dev 21
  • Good 2
  • Love 5
Link to comment
Share on other sites

Fix the problem

 

 

You must change your client files with these ones.

https://metin2.download/picture/GYNQ915cOI08kk1a48psc7kxN4s25iO3/.gif


 

If you encountered the following problem



https://metin2.download/picture/L61WMUx8H29jgpvAh4Z2y1hZ23vA1ur3/.gif

The system works well but the Atlas doesn't properly resize between Snow / Night and Normal

Or the other way around

https://metin2.download/picture/ IOzb6b8wxm21398ig2KaG3ib287tTpt4/.gif




 

Edited by Gurgarath
Core X - External 2 Internal
  • Metin2 Dev 3
  • Confused 1
  • Good 1
Link to comment
Share on other sites

  • Active+ Member
6 hours ago, Gopinich said:

Fix the problem

 

 

You must change your client files with these ones.

https://metin2.download/picture/GYNQ915cOI08kk1a48psc7kxN4s25iO3/.gif


 

If you encountered the following problem



https://metin2.download/picture/L61WMUx8H29jgpvAh4Z2y1hZ23vA1ur3/.gif

The system works well but the Atlas doesn't properly resize between Snow / Night and Normal

Or the other way around

https://metin2.download/picture/ IOzb6b8wxm21398ig2KaG3ib287tTpt4/.gif




 

download link is broken 🙂 Can you share the fix? I have the same issue with smaller normal atlas.

spacer.png

Link to comment
Share on other sites

  • 2 months later...

Works, thanks Mali!

The only problem i found is as i am moving on the map, the minimap does not load the other chunk of minimap.dds from the map

Screenshot-1.png

 

I fixed it by adding

#if defined(ENABLE_NIGHT_SNOW_ATLAS_MINIMAP)
	CMapOutdoor& rkMap = rkBG.GetMapOutdoorRef();

	const bool bIsNight = rkBG.GetDayMode() == CPythonBackground::DAY_MODE_DARK
		&& rkBG.GetNightModeOption()
		&& rkBG.IsBoomMap(rkBG.GetWarpMapName());

	const bool bIsSnow = rkBG.GetXMasShowEvent()
		&& rkBG.GetSnowTextureModeOption()
		&& rkBG.IsSnowMap(rkBG.GetWarpMapName());

	//Minimap
	rkMap.ReloadMinimapTexture(bIsNight, bIsSnow);
#endif

in the void CPythonMiniMap::Update function

Edited by Thrall
Core X - External 2 Internal
  • Lmao 1
Link to comment
Share on other sites

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.