Total War: WARHAMMER III

Total War: WARHAMMER III

Not enough ratings
[Modding] Get Map Coordinates and Infinite Movement Range
   
Award
Favorite
Favorited
Unfavorite
campaign
Tags: mod
File Size
Posted
Updated
388.195 KB
12 Nov, 2023 @ 3:50pm
25 Jun @ 3:02pm
5 Change Notes ( view )

Subscribe to download
[Modding] Get Map Coordinates and Infinite Movement Range

Description
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.
11 Comments
Sker 16 May @ 8:59pm 
Thanks! This is a really useful tool
Homuhomu 16 Apr @ 3:24am 
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  [author] 15 Apr @ 8:55am 
@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 15 Apr @ 3:39am 
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 15 Apr @ 3:12am 
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 15 Apr @ 2:49am 
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.
Kerrberos 4 Mar @ 7:21am 
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
Kerrberos 28 Dec, 2023 @ 9:10am 
Keeping track of a few items that use either logical or display coordinates. posting here for future reference lol

char lookup string uses dis
cm:teleport_to uses log
portals use log
battle sites use dis
Freiya  [author] 22 Nov, 2023 @ 6:00am 
@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 20 Nov, 2023 @ 1:26pm 
does it show logical coordinates or display coordinates ? >_<