lvlkoo Posted March 15, 2023 Posted March 15, 2023 Hello, looking for some information about client map size, height width in points and corner points in world coordinate system (x,y) when character location become visible in client map frame. Can somebody share useful information? Thanks in advance Quote
AlisaCodeDragon Posted March 15, 2023 Posted March 15, 2023 2 hours ago, lvlkoo said: client map size terrain map - height map terrain scale the coordinates of the terrane , height , and others, you can expand an example, raise it higher or lower it lower, but then you will also have to make changes to static meshes, houses, trees , etc., in general, I hope useful information. Quote
911reg Posted March 15, 2023 Posted March 15, 2023 also, since the whole 'world map' is composed of small maps (cells), the whole map might be bigger or smaller depending on the client. In H5 for example, you can go to maps like 11_26 but your char won't be visible in the map window. If you provide more info about what you wanna do exactly maybe we can give you better information Quote
lvlkoo Posted March 15, 2023 Author Posted March 15, 2023 (edited) 2 hours ago, 911reg said: also, since the whole 'world map' is composed of small maps (cells), the whole map might be bigger or smaller depending on the client. In H5 for example, you can go to maps like 11_26 but your char won't be visible in the map window. If you provide more info about what you wanna do exactly maybe we can give you better information The goal is to display character approximate location in some external map frame, for example in web page with map image So to do this I need to scale character location to target frame, to do correct scaling I need to calculate scale ratio, respectively to calculate ration I need to know source map frame width\height and then in theory I'll just need to multiply this ration to character's X and Y coordinates and then I'll receive approximate location in target frame Edited March 15, 2023 by lvlkoo Quote
911reg Posted March 15, 2023 Posted March 15, 2023 1 hour ago, lvlkoo said: The goal is to display character approximate location in some external map frame, for example in web page with map image So to do this I need to scale character location to target frame, to do correct scaling I need to calculate scale ratio, respectively to calculate ration I need to know source map frame width\height and then in theory I'll just need to multiply this ration to character's X and Y coordinates and then I'll receive approximate location in target frame i see, i can't tell you the exact ratio honestly, but you could probably get some clues by looking at MinimapWnd and ZoneName-e.dat BlockedLoc1.x = -32768f; BlockedLoc1.y = 32768f; BlockedLoc2.x = 229376f; BlockedLoc2.y = 262144f; bMiniMapDisabled = true; https://pastebin.com/uMnG16Ze 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.