Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

.worldpathfinding - M2TW

From TWC Wiki
Revision as of 06:08, 20 October 2019 by Makanyane (talk | contribs) (Created page with "In M2TW battle-maps the .worldpathfinding file allows certain areas around a .world file to be blocked so troops cannot cross them without a bridge/breach or on wall deploymen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

In M2TW battle-maps the .worldpathfinding file allows certain areas around a .world file to be blocked so troops cannot cross them without a bridge/breach or on wall deployment area. This is how areas under buildings and walls in a settlement are blocked. The .worldpathfinding name and location is stored in the relevant .world file.

Editing .worldpathfinding with IWTE

To open a .worldpathfinding file, click 'File Type', then 'World Files', the '*.worldpathfinding' and navigate to your file.

IWTE-pathfinding.jpg


When the file is open it will appear in the 2D window, showing blue for blocked areas and light grey for open areas. Expand the 2D window to make it easier to work with. Check the bottom pane of IWTE is on 'Painter Process', click the 'Edit' symbol to edit the file, change the brush size as desired. Use left-click to add blocked areas, and right-click to unblock. Save regularly, the saved file will be found in IWTEsave folder in the same folder as your IWTE.exe - copy this and use it to replace your game file.

IWTE-pathfinding-editing.jpg


To align the pathfinding with other elements load your other .world files in IWTE while the pathfinding file is open. To load the associated buildings use the main 'World Files' tab, and 'Read 3 Binary Files', then the 'Views' tab, and 'View World - 2d'. It can also be useful to use 'Views' and 'View door points' so you can check that the location of ground level doors to access deployment zones are not accidentally blocked.

IWTE-pathfinding-with-doors.jpg


You can also open .worldterrain and .worldvegetation files from the top 'File Type' button as you did for .worldpathfinding. Close (remove) the elements of these you don't want and play with the opacity level and order of the files so you can view things like tree positions and changes of height at the same time as the pathfinding file.

IWTE-pathfinding-overlays.jpg

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.