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^ »

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 »

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^ »

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 »

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^ »

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 »

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 »

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 »

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