Editing G3D support

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 18: Line 18:
 
==Limitations==
 
==Limitations==
 
*All faces must be triangulated (the 2.6x exporter automatically converts them to triangles before export). Faces can be converted to triangles by selecting all faces and using the hotkey <tt>ctrl + T</tt>.
 
*All faces must be triangulated (the 2.6x exporter automatically converts them to triangles before export). Faces can be converted to triangles by selecting all faces and using the hotkey <tt>ctrl + T</tt>.
*( In old versions, the axis differs in G3D, which might make some trouble with old models. In old versions the Y axis was height, X axis was length, and Z axis was width.)
+
*The axis differs in G3D, with the Y axis being height, X axis being length, and Z axis being width, unlike Blender's default of the Z axis being height, X being length, and Y being width.
  
 
==Model preparation==
 
==Model preparation==
Line 25: Line 25:
 
*<span id="linking_textures">The texture of the model must be properly linked in order for it to appear on the exported G3D model. To link the texture, in the properties window, under the textures tab, with the model selected, set the type to "Image or movie" and open the image.</span>
 
*<span id="linking_textures">The texture of the model must be properly linked in order for it to appear on the exported G3D model. To link the texture, in the properties window, under the textures tab, with the model selected, set the type to "Image or movie" and open the image.</span>
 
*In the G3D support panel, under Object Data in the properties window, the g3d object properties can be set:
 
*In the G3D support panel, under Object Data in the properties window, the g3d object properties can be set:
**<b>double sided</b> Controls whether or not the object can only be viewed from both sides
+
**<b>double sided</b> (which controls whether or not the object can only be viewed from one side)
**[[teamcolor]] Controls if team colour or transparency is used. Transparent parts ( alpha ) in the texture will be replaced with team colour.
+
**[[teamcolor]] if team colour is toggled, alpha in the texture will be replaced with team colour)
**<b>non-selectable</b> Non-selectable objects can't be clicked on to select the unit, such as the pebbles that scatter when a worker is mining.
+
**<b>non-selectable</b> (non-selectable objects can't be clicked on to select the unit, such as the pebbles that scatter when a worker is mining).
**<b>fully opaque</b> which makes the model invisible, but its still selectable!! ( Help to make small units easier to select, such as snakes spiders ... )
+
**<b>fully opaque</b> which makes the model invisible, but its still selectable!! ( this can help to make small things easier to select such as snakes spiders ... )
**<b>glow</b> this lets the object glow the way MG's particles "glow".
+
**<b>glow</b> this lets the object glow the way MG'sparticles "glow".
 
*To make a material partially transparent (for use such as [[transparent teamcolor]]), in the materials tab of the properties window, check the transparency box and under Z transparency, adjust the alpha slider.
 
*To make a material partially transparent (for use such as [[transparent teamcolor]]), in the materials tab of the properties window, check the transparency box and under Z transparency, adjust the alpha slider.
  

Please note that all contributions to MegaGlest are considered to be released under the Creative Commons Attribution Share Alike (see MegaGlest:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)