truck lights
-
Xtreme_RTM
- Member
- Posts: 34
- Joined: Sun Aug 20, 2000 2:01 pm
- Contact:
truck lights
how can i have animated ligths on a truck when u turn the lights on?
-
Angus
- Member
- Posts: 92
- Joined: Sat Jun 17, 2000 2:01 pm
- Location: Ardrossan, Alberta, Canada
- Contact:
From what I've heard, you have to make the light "fog" texture a gradient, and it'll change with speed. If you mean rotating lights, it's all in the TRK file. You DO know how to edit the TRK file, right?
-Angus
Keep on truckin!
http://angus.karf.net/
[img]http://angus.karf.net/splat.gif"%20width=75%20height=75%20alt="Angus's%20Smiley%20Splatter[/img]
-Angus
Keep on truckin!
http://angus.karf.net/
[img]http://angus.karf.net/splat.gif"%20width=75%20height=75%20alt="Angus's%20Smiley%20Splatter[/img]
-
Xtreme_RTM
- Member
- Posts: 34
- Joined: Sun Aug 20, 2000 2:01 pm
- Contact:
-
Angus
- Member
- Posts: 92
- Joined: Sat Jun 17, 2000 2:01 pm
- Location: Ardrossan, Alberta, Canada
- Contact:
I doubt if that's even possible. If you want smoke coming out, use flat texture-animated transparent faces.
-Angus
Keep on truckin!
http://angus.karf.net/
[img]http://angus.karf.net/splat.gif"%20width=75%20height=75%20alt="Angus's%20Smiley%20Splatter[/img]
-Angus
Keep on truckin!
http://angus.karf.net/
[img]http://angus.karf.net/splat.gif"%20width=75%20height=75%20alt="Angus's%20Smiley%20Splatter[/img]
-
Xtreme_RTM
- Member
- Posts: 34
- Joined: Sun Aug 20, 2000 2:01 pm
- Contact:
-
Angus
- Member
- Posts: 92
- Joined: Sat Jun 17, 2000 2:01 pm
- Location: Ardrossan, Alberta, Canada
- Contact:
There again, it's all in the TRK file. Now, if you had bothered to look, it's all in the MTMG's help section. Go look.
-Angus
Keep on truckin!
http://angus.karf.net/
[img]http://angus.karf.net/splat.gif"%20width=75%20height=75%20alt="Angus's%20Smiley%20Splatter[/img]
-Angus
Keep on truckin!
http://angus.karf.net/
[img]http://angus.karf.net/splat.gif"%20width=75%20height=75%20alt="Angus's%20Smiley%20Splatter[/img]
-
ZO_BigDOGGe
- Member
- Posts: 363
- Joined: Mon Nov 20, 2000 2:01 pm
- Location: Mountain View, Calif., USA
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...)
(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...)
-
Angus
- Member
- Posts: 92
- Joined: Sat Jun 17, 2000 2:01 pm
- Location: Ardrossan, Alberta, Canada
- Contact:
Heheh, it took me a while to learn it, but I started editing as soon as MTM2 came out. I think the first thing I did with lights was to make police lights, because I liked how simple it was to make them rotate. That was 3 years ago. Now, I make them fit the truck RIGHT. And BigDOGGe, I'm simply impressed no end at your trucks. Not only do you make lots of them, but you make them truly outstanding. Most of the trucks out there now are low-grade repaints, but I can always be assured of a great truck when I see your name on it.
-Angus
Keep on truckin!
http://angus.karf.net/
[img]http://angus.karf.net/splat.gif"%20width=75%20height=75%20alt="Angus's%20Smiley%20Splatter[/img]
-Angus
Keep on truckin!
http://angus.karf.net/
[img]http://angus.karf.net/splat.gif"%20width=75%20height=75%20alt="Angus's%20Smiley%20Splatter[/img]