Questions

Questions and answers about the how and why of making maps.
Post Reply
User avatar
^nightmare^
Private First Class
Private First Class
Posts: 1264
Joined: Sun Feb 20, 2005 7:14 pm
Location: Alabama
Contact:

Questions

Post by ^nightmare^ » Wed May 24, 2006 12:11 am

How do you make a texture move down?
How do you make water reflect like in some of LouMans maps?
-thanks
Need bzflag help? Try looking here: http://www.freewebs.com/bznightmare/map ... aghelp.htm

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

Post by Winny » Wed May 24, 2006 12:15 am

Well, to make a texture move down you can just add a - infront of the numbers in a shift command.

To make the shiny water, personally I just make a meshbox with the texture of water, adjust the alpha ( transparency channel) and then set a mirror black on the ground.

User avatar
^nightmare^
Private First Class
Private First Class
Posts: 1264
Joined: Sun Feb 20, 2005 7:14 pm
Location: Alabama
Contact:

Post by ^nightmare^ » Wed May 24, 2006 12:35 am

ok, but can you give an example on how to use shift?
Need bzflag help? Try looking here: http://www.freewebs.com/bznightmare/map ... aghelp.htm

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

Post by Winny » Wed May 24, 2006 12:56 am

OKie dokie


I will do this assuming you know what a texturematrix and a material is:

Code: Select all

texturematrix
name texmat1
shift 1 -1
end

material
name mat1
texture red_basetop.png
texmat texmat1
end
then you apply the material to a meshbox, or any mesh with the matref command, so:

Code: Select all

meshbox
name box1
position 0 0 0
rotation 0
size 10 10 10
matref mat1
end

User avatar
^nightmare^
Private First Class
Private First Class
Posts: 1264
Joined: Sun Feb 20, 2005 7:14 pm
Location: Alabama
Contact:

Post by ^nightmare^ » Wed May 24, 2006 1:40 am

thanks for the help :)
Need bzflag help? Try looking here: http://www.freewebs.com/bznightmare/map ... aghelp.htm

User avatar
Destroyer1313
Private First Class
Private First Class
Posts: 194
Joined: Thu Feb 02, 2006 3:21 am
Location: The Boonies

Post by Destroyer1313 » Thu May 25, 2006 2:34 pm

Heh, I was just about to post on texture matrixes too. I have a question;
How do I make a texture move left or right on a mesh? AND
How do I make a texture spin and move at the same time?
ie.
a texture spins clockwise and moves the spinning texture left.
Can you help?
Dormant. Not really. Kinda.

User avatar
ClayOgre
Private First Class
Private First Class
Posts: 227
Joined: Mon Apr 18, 2005 3:17 am
Location: Southern Indiana (originally from Alaska)

Post by ClayOgre » Thu May 25, 2006 3:43 pm

Dunno if this will help or not, but here are some tutorials I wrote a while back:

http://hosted.rangfar.com/bzflagworld/f ... .php?t=620
Respectfully,
I Beg to Remain,
Cordially Yours,
Regards....

Image

User avatar
Destroyer1313
Private First Class
Private First Class
Posts: 194
Joined: Thu Feb 02, 2006 3:21 am
Location: The Boonies

Post by Destroyer1313 » Thu May 25, 2006 4:44 pm

Yeah, Ok thanks Clay. I'll look at them when I get home today :D
Dormant. Not really. Kinda.

Post Reply