Mesh Boxes with Moving Textures

Questions and answers about the how and why of making maps.
Post Reply
User avatar
clarahobbs
Private First Class
Private First Class
Posts: 272
Joined: Thu Jan 10, 2008 1:45 am
Location: The Fourth Dimension

Mesh Boxes with Moving Textures

Post by clarahobbs » Fri Feb 22, 2008 1:49 am

I want to make a mesh box in my map that has a moving texture and makes tanks move. I can get the part that makes the tank move, but not the moving texture. Could somebody please help me?
FKA Ratfink

User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny » Fri Feb 22, 2008 1:52 am

http://my.bzflag.org/w/TextureMatrix

Use that in a material, and then apply the matref to a meshbox or mesh face.

User avatar
clarahobbs
Private First Class
Private First Class
Posts: 272
Joined: Thu Jan 10, 2008 1:45 am
Location: The Fourth Dimension

Post by clarahobbs » Fri Feb 22, 2008 2:01 am

Thank you. I had tried using a phydrv in the meshbox, but needless to say that didn't work. Now I'll have moving arrows on the ground.
FKA Ratfink

User avatar
optic delusion
Special Forces
Special Forces
Posts: 1004
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion » Sat Feb 23, 2008 1:30 am

Ratfink, I highly suggest that you look at the work of others in this case.
Louman's LegoLand has an excellent example of a moving road way that I think you'll find interesting. Try downloading it and looking at the physics there.
For an advanced course in physics look at Lou's Time Trail map.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

Post Reply