Jump to content

Recommended Posts

Posted

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  

 

Posted
2 hours ago, lvlkoo said:

client map size

terrain map - height map

terrain scale 

spacer.png

 

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.

 

Posted

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

Posted (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

 

123.thumb.jpg.a88038ef1c7d8d02ea8e29910cf4f770.jpg

Edited by lvlkoo
Posted
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

  • Like 1

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...