Track Maker's Guide

(Lights & sun)
Line 260: Line 260:
Normal maps can influence the normal surface of the material. They are used like in any other game engine, to add roughness to a surface.
Normal maps can influence the normal surface of the material. They are used like in any other game engine, to add roughness to a surface.
-
=== Normal map ===
+
== Library objects ==
 +
In the media repository, in folder "library", you will find pre-made reusable objects that are ready to import and use in tracks.
-
== Interaction ==
+
In your track, use menu File > Link. Then navigate to the library folder, and open the blend of the library object you would like to use in your track. Once in the blend, open "Object" and then select the main object from that blend (by convention, SuperTuxKart library objects use names ending in "_main" for the main object of each library node).
 +
 
 +
[[Image:Stk library1.png|center]]
 +
 
 +
Once this is done, locate the object in your blend (should have appeared near the 3D cursor, or maybe at  the origin). Select this object, it will have a blue outline. Then use the "make proxy" option, which will finally give you a usable library object that you can place anywhere.
 +
 
 +
[[Image:Stk library2.png|center]]
 +
 
 +
If you wish to place any of these objects, simply Link-Duplicate (alt-D) the proxy as many times as required.
 +
 
 +
 
 +
<div class="outer_info">
 +
    <div class="inner_msg">
 +
'''Warning''': be careful to always use Link-Duplicate (Alt-D) and not an actual duplicate (Shift-D), if you use an actual duplicate the object will no longer be linked to the library.
 +
 
 +
</div></div>

Revision as of 22:13, 14 May 2016

Retrieved from "http://supertuxkart.sourceforge.net/Track_Maker%27s_Guide"

User Tools