This is how you point a light in a different direction other than forward or backward.... (truck name*).trk
Every truck has a 'truck' file where information about wheel and light positions, as well as other items, is kept. I assume you have already unpodded the vehicle you want to modify with WinPod. The file you want is in the 'truck' folder in the main MTM2 folder.
Each light on the truck has a number, starting with zero. the headlites are usually 0 and 1, and the brakelights are usually 2,3 and the center brakelite is 4. Other lites will have higher numbers. Here is an example of one headlight's parameters...
Light 1 type 0 Light 1 body axis pos x,y,z (ft), bitmap radius (ft) 2.404687,2.108594,9.145313,1.250000 Light 1 heading (rad), pitch (rad), heading spin speed (rad/sec) 0.000000,-0.174533,0.000000 Light 1 cone: length (ft), base radius (ft), rim radius (ft), texture name 75.000000,0.700000,11.000000,litefuzz.raw Light 1 source: bitmap name headlite.raw Light 1 ms on, ms off (0 if light doesn't blink) 0,0
Each light has several parameters, the direction parameter is called 'heading'...the number represents the light's direction in radians, instead of degrees.
In the example the heading is currently 0.00000, which is straight ahead. backwards is 3.14159 To point a light to the left or right, change the heading parameter to either
-1.570796 or 1.570796
Hope this helps....good luck.....
(P.S....If you don't understand any of this, then you haven't learned nearly enough to be modifying a truck, my friend...)
|