K3zX 4 Posted August 18, 2018 Share Posted August 18, 2018 (edited) Hi, I would like to expand the view distance, because we are not living in 2004 anymore, and all we have a stronger computer than a P4. I tried it in the PythonApplication.cpp to force m_pyBackground.SetViewDistanceSet(0, 75600.0f); The object are visible now in the far, but the ground not. Any idea to get it fully functional? Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
K3zX 4 Posted August 19, 2018 Author Share Posted August 19, 2018 No one intrested? Up Link to comment Share on other sites More sharing options...
Active Member Exygo 1091 Posted August 19, 2018 Active Member Share Posted August 19, 2018 That's actually a good idea. https://www.youtube.com/channel/UCQ8mAeda9TWq6SsTzB53emw/videos Link to comment Share on other sites More sharing options...
K3zX 4 Posted August 19, 2018 Author Share Posted August 19, 2018 i'm trying to expand, but with no luck. If i lower the object's distance, the ground will be lowered too, but in the opposite way, it don't. (as you can see on picture) i'm sure there are several C++ experts here, really doesn't intrested in this modification? (Or they did it yet, just don't want to tell ) Link to comment Share on other sites More sharing options...
alondark 59 Posted August 19, 2018 Share Posted August 19, 2018 you can change view distance in map folder(ex: metin2_map_c1) in setting.txt change ViewRadius 128 to ViewRadius 256 (max 256) any idea for developing view distance ? Link to comment Share on other sites More sharing options...
K3zX 4 Posted August 20, 2018 Author Share Posted August 20, 2018 16 hours ago, alondark said: you can change view distance in map folder(ex: metin2_map_c1) in setting.txt change ViewRadius 128 to ViewRadius 256 (max 256) any idea for developing view distance ? No, just try it. Nothing will change. It's a dummy. (If something changes, that's just the fog) Link to comment Share on other sites More sharing options...
Silver Sonitex 1438 Posted August 20, 2018 Silver Share Posted August 20, 2018 That happens because engine only loads terrain close to you. You would have to make some source changes to load whole map at once and display it to player but that may cause some performance issues. Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted August 20, 2018 Premium Share Posted August 20, 2018 The view distance only modifies the range for the broadcast packet (I mean with larger viewdistance you will see more players). For the terrain you will need something like this: Spoiler I made this about a year ago and I wanted to release it a few times before, maybe I will do it sometimes soon, but the best solution for this if it would be disabled by default, and players would have the option to turn it on, cus the "engine" itself can't render much objects, so on low spec pcs it would be an instakill. However, while I was testing it the only mentionable difference I found was with the shadows, if I disabled it the performance was near the same, but I never had the chance to test it on a live server with large amount of players/shops. 2 The one and only UI programming guideline Link to comment Share on other sites More sharing options...
K3zX 4 Posted August 20, 2018 Author Share Posted August 20, 2018 masodikbela: It'll be good. i'm sure a full render would be laggy, but just a twice distance should be okey. Hope you'll release it 1 Link to comment Share on other sites More sharing options...
alondark 59 Posted August 25, 2018 Share Posted August 25, 2018 On 8/20/2018 at 12:58 PM, masodikbela said: The view distance only modifies the range for the broadcast packet (I mean with larger viewdistance you will see more players). For the terrain you will need something like this: Reveal hidden contents I made this about a year ago and I wanted to release it a few times before, maybe I will do it sometimes soon, but the best solution for this if it would be disabled by default, and players would have the option to turn it on, cus the "engine" itself can't render much objects, so on low spec pcs it would be an instakill. However, while I was testing it the only mentionable difference I found was with the shadows, if I disabled it the performance was near the same, but I never had the chance to test it on a live server with large amount of players/shops. bro can you release this please? Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted September 6, 2018 Premium Share Posted September 6, 2018 Here you are @alondark @K3zX: 4 The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now