Difference between revisions of "World File Editing Tools - M2TW"
(→.WorldVegetation File) |
(→Recommended Python Installation) |
||
Line 18: | Line 18: | ||
Check that WorldEditor programs open at this stage | 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 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 [http://pythonxy.googlecode.com/files/EnthoughtToolSuite-3.1.0.2.exe EnthoughtToolSuite-3.1.0.2.exe] download suggested by CLRS530 [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. | *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. |
Revision as of 03:11, 29 August 2009
Contents
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
- install PyQt available from http://www.riverbankcomputing.co.uk into \pythonxy\python folder
- 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 EnthoughtToolSuite-3.1.0.2.exe download suggested by CLRS530 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.
- allows export and import of ms3d (Milkshape) files for the 3d structures.
- allows editing of the table elements either through form interface or via export and import of full text file version of the .world file.
- does not currently allow the addition or subtraction of groups - only alteration of existing 3d groups.
.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 KnightErrant 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.