Total War: WARHAMMER III

Total War: WARHAMMER III

평점이 부족합니다.
[Modding] Get Map Coordinates and Infinite Movement Range
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
campaign
태그: mod
파일 크기
게시일
업데이트일
388.195 KB
2023년 11월 12일 오후 3시 50분
2024년 6월 25일 오후 3시 02분
변경 사항 5개 ( 보기 )

다운로드 위해 구독하기
[Modding] Get Map Coordinates and Infinite Movement Range

설명
This is mostly a tool to help modders who need an easy way to get map logical coordinates and also infinite movement range to move any character anywhere in the world without wasting time ending turns.

I mostly needed this for my Chaos Treasures mod to quickly get logical coordinates where to place event markers in the world, and also to test those events. With new campaign maps like Immortal Empires Expanded, I guess it could be useful for other people too.


Regarding the coordinates, they are displayed at the bottom of the screen where the name of the selected character is usually shown (see the attached screenshot). The coordinates are updated as soon as a character finishes moving on the map. So if you need the logical coordinates of a specific spot of the map just move a character there to get them.

Note that since the characters are renamed, the coordinates will also be displayed in the floating text above characters but this text is only refreshed when the whole screen/HUD is updated so it's less reliable.


For the infinite movement range, there are 2 changes :
- The default movement range of lords has been significantly increased. In theory, it can be increased even more but it seems to be source of performance issues, probably because of the game trying to draw the green overlay on the map. For some reason, the movement range boost doesn't affect agents at all so avoid embedding them in an army if you want to keep the max range.
- As soon as the movement points of a character have been exhausted, they are automatically replenished. This is what makes it possible to have infinite movement range and move characters (even agents) anywhere in the world without ending the turn.



This mod can be activated/deactivated at any time during a campaign but note that if activating it mid-campaign you will need to pass a turn to make the movement range boost apply.
댓글 10
Kerrberos 2024년 7월 20일 오전 6시 16분 
updating list of what in game things use log or dis coordinate types:

This Mod shows log coordinates:

char lookup str uses dis
cm:teleport_to uses log
cm:kill uses dis
portals use log
battle sites use dis
cm:create_force_with_general use log
add_agent_experience use dis
force_rebellion uses log
add_interactable_campaign_marker uses log
Lohit 2024년 5월 16일 오후 8시 59분 
Thanks! This is a really useful tool
Homuhomu 2024년 4월 16일 오전 3시 24분 
I've tried with Belakor, there are some mods active (Chaos treasures, chaos confederation, defeated lords, and level 70).

In any case, the issue seems to have resolved on turn 2, the bug no longer appears on my side.
I suspect two possibilities:
1. The issue is turn 1 specific (Although that doesn't explain why battles suddenly work just fine when turning off the mod)
2. I included agents in my army on turn 2, its possible the reduced max movement range removed any crash triggering factors.

Thanks for the super fast response, didn't expect anything, just logging my thoughts down that's all. Love your mods, chaos treasures is a must!
Freiya  [작성자] 2024년 4월 15일 오전 8시 55분 
@Kerrberos, Thanks for the info.
@Homuhomu, I can't reproduce the issue on my side (at least on turn 1), do you have other mods active ? With which faction/lord do you have the issue ?
Homuhomu 2024년 4월 15일 오전 3시 39분 
Okay, to clarify, the crashes occur no matter what you do, as long you as you try to transition away from the campaign map, that includes trying to quit the game... So you just have to force quit.
Homuhomu 2024년 4월 15일 오전 3시 12분 
There's an easy workaround though. Just get to the battle, quicksave, then quit and turn off the mod. Fight the battle manually, win, then save and quit, and turn the mod back on. You can continue the infinite movement this way.

Alternatively just autoresolve, everything works as long as you don't manually battle.
Homuhomu 2024년 4월 15일 오전 2시 49분 
This mod definitely does magically work, in giving infinite movement.

However, it seems to cause battles to fail to load. Its inconsistent, but turn this on turn 1, and fight many battles, battles will eventually fail to load with this mod on, and instantly work if you turn off the mod.
Freiya  [작성자] 2023년 11월 22일 오전 6시 00분 
@Kerrberos, it shows logical coordinates. If you need display coordinates, you can easily edit the .lua script of the mod, check these lines :
local position_x = context:character():logical_position_x()
local position_y = context:character():logical_position_y()

And replace them with :
local position_x = context:character():display_position_x()
local position_y = context:character():display_position_y()

It's minor but dots can't be displayed in the character name box so coordinates will have a space instead and look like "X = 111 111111111111" instead of "X = 111.111111111111" for example.
Kerrberos 2023년 11월 20일 오후 1시 26분 
does it show logical coordinates or display coordinates ? >_<
AraNg 2023년 11월 13일 오전 1시 09분 
thanks great mod