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.

Difference between revisions of "World File Editing Tools - M2TW"

From TWC Wiki
Jump to navigationJump to search
m (Quick-adding category "Battle Map Modification - M2TW" (using HotCat))
(System Requirements)
Line 5: Line 5:
  
 
==System Requirements==
 
==System Requirements==
These user developed tools used the Python free software system.  Like other modding tools (texture to dds, and stringsbin convertors) use of these tools requires you to install Python modules on your computer as well as the tool itself.  Pythonxy distribution with PyQt4 is required, a working Mayavi2 installation (which should come with those) will allow you to view 3d versions of the structures without saving to ms3d.
+
These user developed tools utilise the Python free open source software development system.  Like other modding tools (texture to dds, and stringsbin convertors) use of these tools requires you to install Python modules on your computer as well as the tool itself.  For these tools a Pythonxy installation with PyQt4 is required, a working Mayavi2 installation (which should come with those) will allow you to view 3d versions of the structures without saving to ms3d.
  
===Recommended Modules===
+
===Recommended Python Installation===
 +
*install python(x,y) first - a large variety of download versions are available at [http://www.pythonxy.com/download.php pythonxy.com]
 +
::eg: run file Python(x,y)-CE-2.1.3.exe that comes with Python(x,y)-ETS-3.0.2.2
 +
::example installation path C:\pythonxy
  
 +
*install PyQt available from http://www.riverbankcomputing.co.uk into \pythonxy\python folder
 +
::eg: download and run file [http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.5-gpl-4.4.3-1.exe PyQt-Py2.5-gpl-4.4.3-1.exe]
 +
::example installation path C:\pythonxy\python
 +
 +
Check that WorldEditor programs open at this stage
 +
 +
*if you wish to use Mayavi2, you should now be able to find it in C:\pythonxy\python\Scripts - run the mayavi2.exe and follow  [http://www.twcenter.net/forums/showthread.php?p=4232030#post4232030 these instructions] to run the world editor programs through the mayavi interface.  If you are unable to view 3d structures in the mayavi view box you may have a version of mayavi which doesn't support triangles properly.  Try the download suggested [http://www.twcenter.net/forums/showthread.php?p=4228604#post4228604 here]
 +
 +
*If you have difficulty getting a python installation to work you may need to refer to the [http://www.twcenter.net/forums/showthread.php?t=166329 World Modified] thread for advice.  The  tools listed below may not necessarily be compatible with the latest editions of Python.
  
 
==Current Tools==
 
==Current Tools==

Revision as of 03:04, 29 August 2009

Overview

No modding tools were supplied by CA to access the World files that make up battle map settlements and ambient buildings. Some user developed tools have been made however, predominantly by KnightErrant based on research findings by Argantonio in the World Modified thread.

All the .world type files can be opened, viewed and edited with a Hex Editor - unfortunately that is a difficult, and for anything much more than changing an internal file name or folder path, largely impractical solution.

System Requirements

These user developed tools utilise the Python free open source software development system. Like other modding tools (texture to dds, and stringsbin convertors) use of these tools requires you to install Python modules on your computer as well as the tool itself. For these tools a Pythonxy installation with PyQt4 is required, a working Mayavi2 installation (which should come with those) will allow you to view 3d versions of the structures without saving to ms3d.

Recommended Python Installation

  • install python(x,y) first - a large variety of download versions are available at pythonxy.com
eg: run file Python(x,y)-CE-2.1.3.exe that comes with Python(x,y)-ETS-3.0.2.2
example installation path C:\pythonxy
eg: download and run file PyQt-Py2.5-gpl-4.4.3-1.exe
example installation path C:\pythonxy\python

Check that WorldEditor programs open at this stage

  • if you wish to use Mayavi2, you should now be able to find it in C:\pythonxy\python\Scripts - run the mayavi2.exe and follow these instructions to run the world editor programs through the mayavi interface. If you are unable to view 3d structures in the mayavi view box you may have a version of mayavi which doesn't support triangles properly. Try the download suggested here
  • If you have difficulty getting a python installation to work you may need to refer to the World Modified thread for advice. The tools listed below may not necessarily be compatible with the latest editions of Python.

Current Tools

Current tools are as follows:

.World File

Latest editor: WorldEditor_v0_8 by KnightErrant

modified version of previous releases, fixed to work with more of the Kingdoms files.

.WorldCollision File

Editor: WCeditor_beta.zip by KnightErrant

allows viewing, export and substitution of the 3d models that make up the collision objects, and allows editing of the text elements of the file. (number of collision objects can not be changed currently)

.WorldPathfinding File

Editor: WPFeditor_v1_0.zip by KnightErrant

allows blocked or non-blocked areas of the terrain tile to be modified in a graphical interface.

.WorldTerrain File

Converter: WTconverter_v1_0 by KnightErrant

allows information from the .worldterrain file to be converted to form a Milkshape ms3d file of the terrain tile for modification, and converts Milkshape files back to .worldterrain.

Editor: WTeditor_v1_0.zip by KnightErrant

allows the .worldterrain heights to be modified in a graphical interface using colours to represent heights.

.WorldVegetation File

Converter: Integrated World Terrain Editor by Wilddog

allows conversion of the .worldVegetation file to tga and back. Also includes components based on the above editors by KE with additional functionality to resize the pathfinding, terrain and vegetation files, work on terrain heights via grayscale tga, and adjust blending of heights where terrain tile meets surrounding map generated heights.