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>. | ||
− | * | + | *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> | + | **<b>double sided</b> (which controls whether or not the object can only be viewed from one side) |
− | **[[teamcolor]] | + | **[[teamcolor]] if team colour is toggled, alpha in the texture will be replaced with team colour) |
− | **<b>non-selectable</b> | + | **<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!! ( | + | **<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' | + | **<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. | ||