Textures

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Textures

Post by Tanner »

How can I make my textures title on an object that is not the same length as it is height (ex: 80 by 10)?

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

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

Post by Winny »

im kinda confused.....


can you re-word that ?
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner »

Win Xp wrote:im kinda confused.....


can you re-word that ?
I've got a 80 by 10 box with a height of 1. I want to put a texture on it. I try, and it stretches. Can I make it tile?

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

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

Post by Winny »

I think you have to use the texsize command, in your material

Code: Select all

material 
name water 
texture water 
texmat watermove 
notexalpha 
texsize x x 
end 
I think the first x is for the x axes and the 2nd is for the y axes

not 100% sure though
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

link

Post by optic delusion »

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.
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Re: link

Post by Tanner »

I don't want it to stretch, I want it to tile.

I use the wiki a lot, and unless I'm missing something, I don't see the answer.

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image
User avatar
im fine u?
Private First Class
Private First Class
Posts: 99
Joined: Thu Dec 22, 2005 4:05 am
Location: in computer
Contact:

Post by im fine u? »

mine does the oposite. It always tiles and I want it to streach... lol
Image

Owner at: Gnurdux's servers

Admin at: (DVN)'s server
tankzilla's server
A Heart Attack's server
User avatar
Mostly Harmless!
Private First Class
Private First Class
Posts: 347
Joined: Sun Oct 30, 2005 4:37 am
Location: California

Post by Mostly Harmless! »

I think that this should work:

Code: Select all

textureMatrix
name texturematrix
        fixedscale 0.1 0.1 0.1
end

material
name mat
        addtexture caution.png
        color 1 1 1 1
        texmat texturematrix
end

meshbox
name meshBox
        size 80 10 1
        position 0 0 0 
        rotation 0
        matref mat
end
Please correct me if I'm wrong. Also, try playing around with the fixedscale numbers.

I never make stupid mistakes. Only very, very clever ones.
It is not the fall that kills you. It's the sudden stop at the end.
Always remember you are unique. Just like everybody else.
Post Reply