Solved V21 navigation map issue

Welcome to our Community
Wanting to join the rest of our members? Feel free to sign up today.
Sign up
Status
Not open for further replies.

liliwang

Member
Registered
Joined
Sep 11, 2024
Messages
29
Reaction score
3
Points
8
May I ask which function allows you to freely adjust the position of the navigation map. I want to adjust the navigation map to the middle position in the black box in the picture. But I can't find where to tune it. Requesting assistance, thank you all1.png
 
Not sure if you can changes the black box to be smaller insidr gui editor?

Correct me if im wrong 😊
 
What I mean is to move the small map up and down and mark the position in the middle of the black line
Yeah, i think that does work in the gui editor, otherwise try to search for the code for that app, APP_NAVIGATOR or whatever it can be. Should be kinda easy to find 😊
 
Yeah, i think that does work in the gui editor, otherwise try to search for the code for that app, APP_NAVIGATOR or whatever it can be. Should be kinda easy to find 😊
I tried but still couldn't find the right place. I only found resizing but still couldn't find changing the position. Just like the red arrow I marked, I feel like moving the small map to the center symmetrical position. I can't adjust it even with a GUI editor2.png
 
I tried but still couldn't find the right place. I only found resizing but still couldn't find changing the position. Just like the red arrow I marked, I feel like moving the small map to the center symmetrical position. I can't adjust it even with a GUI editorView attachment 534
What files are you using?
 
Edited: Please ignore it.
Reason : Wrong reference, this code bellow is from k18

Hey There!
Please login and(or) register to see this awesome content today.
 
Last edited:
  • Like
Reactions: Cikk
Could you also please tell us where you got the navigator from?

It would help greatly tbh lol.
 
  • Like
Reactions: Cikk
UNTESTED:

on Retail v21 maybe this line on WndField.cpp :

View attachment 539

Also there is some *.inc on client theme folder that contains some navigator texture positions, but since you are going to move the whole app , just changing the start position may be sufficient.
At the beginning, I made this change. No matter how I changed the position, the original position remained unchanged
 
On Retal V21.2 :

The original Navigator position can be changed anytime by the Player just dragging it from its title bar.
This user position will be saved. At creation time, this app's last user position will be loaded from WndManager.cpp:

Hey There!
Please login and(or) register to see this awesome content today.



If you are going to remove this functionality(not reccomended) and just want the navigator to be in a fixed place, you can edit this code part:

WndNavigator.cpp:

Hey There!
Please login and(or) register to see this awesome content today.

Just override the rectWnd to your desired position.
Do not use something like
Hey There!
Please login and(or) register to see this awesome content today.
Because this will be a cumulative position, chenging every time that the navigator is opened.


If your "black rectangle frame" is part of your new/custom Navigator app, this can be edited in the GUI editor.
 
Last edited:
Status
Not open for further replies.