By. Deathsquad Industries
Deathsquad Industries Homepage
This will teach you how to prelit your models for San Andreas with Zmodeler 2 by Oleg. I have not explored this in Vice City or even GTA III yet, so for the moment this is for SA only. I would also like to thank Oleg who told me how to do this, since I couldn't figure it out.
[ STEP 1 ]
In zmod2, load up the model you wish to prelit, for this tutorial I am going to use a map model I have made for San Andreas, which is the support tower to a suspension bridge. For this tutorial your model should already be textured and ready to go in game (if not already).
[ STEP 2 ]
Open up the material editor and uncheck all the textures to the model. You only need to uncheck the box that has the material, the second checked material that has no material can stay.
[ STEP 3 ]
Next right click on your model, and select PROPERTIES. In the properties menu select VERTICLES, then FORMAT.
Uncheck NORMALS and select both DIFFUSE COLOR and SPECULAR COLOR. For future purposes please note that DIFFUSE COLOR is the prelit color for daytime, and SPECULAR is the prelit color for nighttime.
Your model will now become shades of white and gray.
[ STEP 4 ]
On the far right menu, select SURFACE -> PAINT -> PRELIT COLOR.
Click on your model, Zmod2 will calculate the prelit effects with the default lighting in Zmod2. A progress bar will appear at the bottom of the screen, and after it is finish the model will change color to a degree, and show signs of being shaded. Please note that this
current view is showing you the DIFFUSE/DAYTIME Shading. Now go back to the side menu and pick SURFACE -> PAINT -> SWAP COLORS and click on your model. The model should return back to the original colors before you prelit, this is because you are now looking at the SPECULAR/NIGHTTIME shading. Once again select PRELIT COLOR and click on your model. The model should shade itself as it did in the DIFFUSE view.
[ STEP 5 ]
Select SWAP COLORS again and click on your model, this will return you to Diffuse/Daytime shading (the model will probably look like it did not change, but it did). Now its time to add the actual coloring to the vertex. You can add shading to the model by selecting groups of vertex and coloring them, this is also (I believe) how you would create lighting effects for nighttime. For this tutorial I will do a generic prelit example.
On the side menu, click on SELECT and ALL. Below these menus click the SELECTED MODE button which will turn red, meaning it is active. Now right click on one of the view windows and your model will be selected.
Go to the above menu and select the VERTEX box.
Left Click on your model so you may select the vertexes, then right click to select them all. Now it is time to pick out a color.
Edited by DeathSquad, 01 March 2006 - 04:17 AM.