![]() |
![]() |
Home > Tutorials > 3d Studio Max Coal Load Tutorial
3D Studio Max Coal Load TutorialIn this tutorial you will learn how to create a coal load for use in the industry setup in TRS2004
|
||||||||||||||||||||||||||
1. Create a load. To show the appearance of a load you need to create a plane that is the size of the gondola. For my six axle gondola I used a plane that is 10 length segments by 4 width segments. The more segments you use the more the performance hit that will be required to show the load. Once you have created the plane, convert it to editable mesh and move some of the vertexes up or down to simulate an uneven load. Add a texture to the load and then create two dummies for the animation. Name 1 b.r.main and the other b.r.load01.
|
||||||||||||||||||||||||||
Figure 1 Plane resized and located correctly
Figure 2 Finished
load mesh |
||||||||||||||||||||||||||
2. Animation For the animation you will need to link the dummies and the load as shown in figure 3. Once you have done this rescale the time to 120. The higher the number of frames the longer the animation will run and the lower the number of frames the shorter the animation will run. 120 frames gives a good loading speed. To hide the load when the gondola is empty I moved the b.r.load01 1000 metres or 1 kilometre below ground. Moving the load this far down should allow the gondola to pass over any bridge without the load showing. Once you have moved the b.r.load01 and the linked Load01 below ground then you need to create an animation key for this location.
|
||||||||||||||||||||||||||
|
Figure 3 Directory structure
|
||||||||||||||||||||||||||
Select the b.r.load01 and click on the "Set Key" and then the "Key" button. This will set a key at the current location of the b.r.load01. Move the animation slider to the next key (key1) and then move the b.r.load01 into location at the bottom of the gondola. Now create a key for the b.r.load01 in this location. Once you have set the key move the animation slider to the last key and move the b.r.load01 to the full position in the gondola and create another key in this location. Once you have all the keys created press the play button to preview the animation. You will not notice the load disappearing below ground as it happens too fast.
|
||||||||||||||||||||||||||
Figure 4 Empty mesh location |
||||||||||||||||||||||||||
| Now that you have all the animations done you need to export the load mesh and its associated animation. You can either delete or hide the gondola body. If you have a gondola or hopper that has sloped ends then you will need to create a dual animation whereby one piece slides under the other as the load decreases. | ||||||||||||||||||||||||||
3. Exporting Export the mesh as a .im file. I named mine load.im. You can name the mesh anything you like as long as the correct reference is made to the mesh in the config.txt file. Figure 5 show the directory structure that I exported the load mesh to.
|
||||||||||||||||||||||||||
Figure 5 Directory structure
|
||||||||||||||||||||||||||
4. Config.txt file entries Once you have successfully exported the mesh into the correct location then you need to setup the config.txt file to show the location and the name of the load mesh. You also need to setup the mesh table as TRS2004 will not recognize the attachment without the mesh-table.
There are many different methods for the creation of the load and you should use whatever method suits your situation the best. There are also different methods to hide the load mesh. The above method works best for a gondola with straight ends. If you have a hopper that tapers as it empties then you will need to break the plane up into smaller pieces and animate them so that as the load empties the pieces move together so that they overlap otherwise as the hopper empties the load will be visible outside of the hopper. NOTE If copying and pasting from this tutorial please make sure that the correct quotes are copied. Using the wrong type of quotes such as those used in Word will cause errors.
Was this tutorial helpful? Not enough or too much detail? Points not explained properly? Suggest any improvements? Please use the Tutorial Enquiry Form |
Trainz and Trainz Railroad Simulator are trademarks of AuranBest viewed at 1024 x 768 or higher Pages best viewed with Cooper and Cooper Black font installed. Copyright © 2007
P. Campbell. All rights reserved. Revised:
June 13, 2007
|