Difference between revisions of "Talk:Map Editing"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (The tools: reworded)
(Please create sandbox subpages rather than staging edits in the talk page. =))
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Introductioin==
 
Map making is a complex topic. Numerous artists send work hours down the so called "pipeline" to produce an actual map.
 
To make the topic easier to understand it is good to familiarize with the tools needed before actual hard work is being done.
 
Here we will cover both tools and operations.
 
=Tools=
 
We will first overview the tools and their limitations before we delve into each tool's setup process.
 
==Blender3D==
 
An well known and largely accepted 3D modeling program with numerous plugins and tutorials across the internet.
 
Rapid prototyping, excellent handling of details and easy on system resources. Community driven, open source and free of charge. Has present recent CryEngine 3 support, of limited usability for CryEngine 2 we use in MW:LL. Can export '''.cga''' (CryEngine 3D items, but only the "old" 2.49b Blender), '''.dae''' (Collada interchange format) and '''.obj''' (Wavefront, good for exchange with 3dsMax)  files if properly set up, and with the help of external utilities.
 
  
==3D Studio MAX==
 
An industry standard professional suite for 3D content creation and animation - one of the few carrying official plugins for export import to CryEngine 2.
 
3DSMax has excellent support for every sort of modeling and animating. Once set up can directly export and import to CryEngine 2. Supports basic objects, animation, materials and rigging (joint animation like mech legs). 3DSmax is a commercial product, comes only for Windows and licenses can be bought only for still supported releases. There seems to be an student license lasting for 3 years.
 
 
3DSmax 2009 32 bit is recommended
 
 
==SketchUp==
 
The product endorsed by Google. One (wich one?) version at least can do graphics for CryEngine. It seems it recommends Collada-0.3.5 (mandating python 2.5.?) for the export.
 
==Maya==
 
We know it exists, would appreciate any info. The only other official plugins for CryEngine2 are made for Maya.
 
==bitmap and art editors==
 
The game and our mod heavily depends on the geometry enhancing by means of bitmap projection to the surfaces. Here we touch upon some more popular, and thus more likely to be used, tools and suites for managing that part of the work.
 
===Gimp===
 
Because it's free obviously, and can be used on both Windows and Linux platforms. Open source and community driven development. Gimp supports all the usual bitmap formats. There is a plugin for full (both import and export) '''.DDS''' support available on google code archives. The other bitmap file format understood by Sandbox2 is '''TIF'''
 
 
===Photo Shop===
 
''De-facto'' the industry standard, most known, advertised and has become almost the everyday term for an bitmap "redo". It is not known to me if there are any but paid-for versions out there, and if any free licenses can be obtained at all.
 
 
==Inkscape==
 
Did you know that Blender can export UV layout as an '''.svg''' file? And the best program for manipulating those is Inkscape -even its own default saving format is SVG. Inkscape is an vector object application - this means you can determine the granularity of the result in the time of export to PNG (only option from Inkscape), and preserve the original art in the svg format meanwhile. Once in PNG the UV map can be presented back to Blender for the export and converted to DDS or TIF and renamed "by hand" in the MTL file accompanying the CGF.
 
 
==Advanced Text Editor==
 
Really any advanced text editor would do, I picked '''Geany''' out of personal preference. It exists in both Windows and Linux platforms.
 
What counts the most is the number of "recent files" it can hold. Besides that advanced search and syntax highlighting are plus. Maybe the most important property of '''Geany''' is it's ease of setup - just install and go - it's defaults are sane for most uses out there.
 
 
==Archiver==
 
It is recommended to use both '''7z''' and '''WinRAR''', note the '''7z''' file manager offers dual pane view and a sort of bookmarks(quite effort saving on occassion) while the '''WinRAR''' offers archived files "in place" editing.
 
 
==Sandbox2==
 
The editor is nowadays shipped bundled with MW:LL it is enough just to point the launcher to it to be able to use it.
 
==Import/Export tools==
 
Both '''Blender''' and '''3DSmax''' don't come out of the box ready to interact with CyrEngine 2, Various plugins are needed to facilitate this
 
===Blender===
 
'''ColladaCGF''' 0.3.9 (0.3.5?)
 
 
'''Py-FFI''' 2.1.11 (or?)
 
 
'''Python''' 2.6.6 (mandated by Collada 039)
 
 
===3D Studio MAX===
 
'''CryMax tools''' and plugins for 3DSmax could be obtained online back then. Recently they are obtainable only as personal copies shared privately.
 
 
Note the 3DSMax release version versus the plugin name:
 
 
 
''3ds Max 9 32 Bit  --> CryExport9.dlu''
 
 
''3ds Max 9 64 Bit  --> CryExport9 _64.dlu''
 
 
''3ds Max 2008 32 Bit --> CryExport10.dlu''
 
 
''3ds Max 2008 64 Bit --> CryExport10_64.dlu''
 
 
'''''3ds Max 2009 32 Bit --> CryExport11.dlu'''''
 
 
''3ds Max 2009 64 Bit --> CryExport11_64.dlu''
 
 
''3ds Max 2010 32 Bit --> CryExport12.dlu''
 
 
''3ds Max 2010 64 Bit --> CryExport12_64.dlu''
 
and on...
 
 
===Maya===
 
See above
 
 
=Setting up the system=
 
We assume, now on, the following:
 
 
1. Windows7 64bit or newer is used.
 
 
2. Clean install (literally _zero entropy_ state).
 
 
3. Recent DX9/DX10 compatible graphic card (Nvidia or ATI/AMD 512MB DDR3 RAM or better) with stable (WHQL?) DirectX9 compatible drivers
 
 
4. Working user-data (preferably incremental) backup
 
 
We do not know if the process can be stable in an virtual container (but would appreciate any report about that)
 
==The game==
 
Install the game and check that it works. Note it's filesystem location. Familiarize Yourself with the file structure of the game itself.
 
==The tools==
 
Each of the tools mentioned has an easy accessible and ready available guide for it's installation. Be advised tho, not to stray to much (if any) form the recommended (thus default) installation paths. Those can happen to be hard-coded into some of the tools, we will rely later on.
 
 
Note each suite's filesystem location. Familiarize Yourself with the file structure of each tool itself.
 
 
It is recommended to install every application ''for all users'' if it offers such a choice, despite the installation being intended for one user or not.
 
 
Take Your time to ''ascertain'' that each tool works as it's intended - we will strongly rely on this later.
 
 
==The plugins==
 
----
 
'''protip: '''''Before delving into this section, it is strongly advised to make an backup at this point. It is really easy to restore this system state, and quite less frustrating than to repeat all the steps already taken from the scratch. Make this backup step the last thing of the System install and just call it a day. After checking the backup is successful and present of course.
 
''
 
----
 
Next step would be to download all the tools in advance and to make certain which versions can or can't be obtained. Note that the open source software is less likely to suffer from bit-rot and abandonment than it's counterpart.
 
===Python===
 
The actual python version will depend on the ColladaCGF version You will use. No other tool or software has more strict requirement so if using ColladaCGF at all, let it decide the Python version.
 
You will also notice that Python does not come out in arbitrary versions, only certain "milestone" releases get ''binary release''. One of those is 2.6.6 [https://www.python.org/download/releases/2.6.6/] I used, the other is 2.5.4 needed for the 0.3.4 ColladaCGF get it here [https://www.python.org/download/releases/2.5.4/]
 
===PyFFI===
 
Depending on the pythoin version You've got installed You will pick the right one here [https://sourceforge.net/projects/pyffi/files/?source=navbar]
 
I've used PiFFI 2.1.11
 
===ColladaCGF===
 
That's the tool that is actually doing the conversion. A wrapper to PyFFI really. Pick one here [https://sourceforge.net/projects/colladacgf/files/colladacgf/]
 
Once it's installed, You should have an right click menu item when clicking to '''*.dae''' and other supported files offering conversion to '''*.cgf''' files.
 
===CryBlend===
 
CryBlend is the older source of the two, and is for the recent CryEngine 3. It really can help for the CryEngine 2, as it offers tools for adding the proper geometry groups (for holding the LODs) and for finding potential issues with the meshes - degenerate faces (faces of zero size) and obstructed/hidden faces impossible to map textures to. Further it helps prepare the materials by naming them to the group etc.
 
 
Other than, that, the tool seems incapable of exporting the CGF to CryEngine 2. Instead an external exporter is needed.
 
[https://github.com/travnick/CryBlend]
 
===BCry===
 
The never of the two, and thus further away from the CryEngine 2. I'm not decided yet which is the better suited one for our business.
 
[https://github.com/AFCStudio/BCRYExporter]
 
===CryMaxTools===
 
 
==test flight==
 
 
=Operations=
 
==Tweaking==
 
Tweaking an existing map that actually has the source files present. Useful to grasp the editor and its basic concepts.
 
==Creating==
 
Making an map from scratch with existing asset pool inside of MW:LL.
 
==Improving==
 
Making (or tweaking) an map with items outside of the present MW:LL asset pool.
 
==Adding Art==
 
Making art and assets not currently present in MW:LL and importing them into the Sandbox2 and further to the MW:LL pool.
 

Latest revision as of 00:17, 28 November 2017