How to make a prefab?
by timmport · in Constructor · 07/15/2007 (12:12 pm) · 5 replies
Can someone explain or point me to documentation for creating prefabs?
Can someone also explain difference between reference shape and static mesh?
Thanks
Can someone also explain difference between reference shape and static mesh?
Thanks
#2
07/15/2007 (10:17 pm)
You know it would great if Constructor did auto- thumbnails, like Max does.
#3
1 - Save your work as a .map file to the prefabs directory.
2 - If you don't want the default icon for your prefab, you need to create an icon. Take a screenshot from constructor. In your photo-editor, crop the image to just the object you are making a prefab out of. Ideally, you should constrain your y:x aspect ratio to 1:1 before you crop as your icon images will be square. Make two additional copies and resize the three images to 128x128, 64x64 and 32x32.
3 - Save the three icon images into your prefabs folder. If you map file is XXXX.map, then the three files will be XXXX128.png, XXXX64.png and XXXX32.png.
4 - Restart Constructor and have fun using your new prefab.
BTW - I have my own question. It looks like we can have multiple folders for prefabs and this would be handy for large projects. Is it actually possible? And if so, what is the trick?
07/16/2007 (2:13 am)
How to make a prefab:1 - Save your work as a .map file to the prefabs directory.
2 - If you don't want the default icon for your prefab, you need to create an icon. Take a screenshot from constructor. In your photo-editor, crop the image to just the object you are making a prefab out of. Ideally, you should constrain your y:x aspect ratio to 1:1 before you crop as your icon images will be square. Make two additional copies and resize the three images to 128x128, 64x64 and 32x32.
3 - Save the three icon images into your prefabs folder. If you map file is XXXX.map, then the three files will be XXXX128.png, XXXX64.png and XXXX32.png.
4 - Restart Constructor and have fun using your new prefab.
BTW - I have my own question. It looks like we can have multiple folders for prefabs and this would be handy for large projects. Is it actually possible? And if so, what is the trick?
#4
07/16/2007 (2:14 pm)
Thanks for the response and the useful information.
#5
"BTW - I have my own question. It looks like we can have multiple folders for prefabs and this would be handy for large projects. Is it actually possible? And if so, what is the trick?"
Constructor already does folder by folder categorization for prefabs. Just go to "System>Manage Prefabs.." There you can add new folders and give each folder a name.
[I am doing this in version 1.0.3]
10/30/2007 (8:28 am)
@David:"BTW - I have my own question. It looks like we can have multiple folders for prefabs and this would be handy for large projects. Is it actually possible? And if so, what is the trick?"
Constructor already does folder by folder categorization for prefabs. Just go to "System>Manage Prefabs.." There you can add new folders and give each folder a name.
[I am doing this in version 1.0.3]
Torque Owner Bobby Leighton
Imagn' Games
A static mesh is a mesh that doesn't change, i assume this feature is kind of the same as a reference shape, but maybe intended for trees and such.... maybe just a way to seperate the two. Does this help any?