MTM2.com

A forum for mtm2 discussion
FAQ :: Search :: Members :: Groups :: Register
Login
It is currently Fri Aug 17, 2018 12:38 am



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: truck lights
PostPosted: Tue Jan 16, 2001 7:00 am 
Member

Joined: Sun Aug 20, 2000 2:01 pm
Posts: 34
how can i have animated ligths on a truck when u turn the lights on?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2001 9:43 am 
Member

Joined: Sat Jun 17, 2000 2:01 pm
Posts: 92
Location: Ardrossan, Alberta, Canada
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]


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 17, 2001 1:42 am 
Member

Joined: Sun Aug 20, 2000 2:01 pm
Posts: 34
I want to know how to make smoke coming out but make it look like it aing just a single thing but it look like it moveing.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 17, 2001 11:56 am 
Member

Joined: Sat Jun 17, 2000 2:01 pm
Posts: 92
Location: Ardrossan, Alberta, Canada
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]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 18, 2001 5:51 am 
Member

Joined: Sun Aug 20, 2000 2:01 pm
Posts: 34
How do i rotate the lights so that there on the sides like on Snike Bite?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 18, 2001 10:28 am 
Member

Joined: Sat Jun 17, 2000 2:01 pm
Posts: 92
Location: Ardrossan, Alberta, Canada
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]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 18, 2001 7:03 pm 
Member

Joined: Mon Nov 20, 2000 2:01 pm
Posts: 363
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...)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2001 9:33 am 
Member

Joined: Sat Jun 17, 2000 2:01 pm
Posts: 92
Location: Ardrossan, Alberta, Canada
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]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group