2 questions

Questions and answers about the how and why of making maps.
Post Reply
silver surfer
Private First Class
Private First Class
Posts: 168
Joined: Sat Jun 23, 2007 12:20 am

2 questions

Post by silver surfer » Mon Jun 02, 2008 8:37 pm

Ok got 2 questions

#1- how do i make a no kill zone... like at bzolymics

#2- how do u put a material on a 3d generated material.... i know about the wiki page but most of the time wiki doesn't help me.... only once or twice it has... or more...

this is the code the is already there for the material...

material
name grid1_auv
ambient 1.00000 1.00000 1.00000
diffuse 1.00000 1.00000 1.00000 1.00000
emission 0.00000e+0 0.00000e+0 0.00000e+0
specular 1.00000 1.00000 1.00000
shininess 128.000
texture grid1_auv.tga
end


Where do i add the _addTexture or whatever?

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano » Mon Jun 02, 2008 8:49 pm

#1 BZOlympics uses modified server code to accomplish that. There really is no way to make one on a standard server.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln

User avatar
khazhyk
Private First Class
Private First Class
Posts: 1400
Joined: Sun Feb 06, 2005 5:40 pm
Location: Somewhere over there.
Contact:

Post by khazhyk » Mon Jun 02, 2008 9:30 pm

silver surfer
#2 the texture Has to be *.png
Image

silver surfer
Private First Class
Private First Class
Posts: 168
Joined: Sat Jun 23, 2007 12:20 am

Post by silver surfer » Mon Jun 02, 2008 9:40 pm

dang... That sucks.....

me1... i kno it has to be a .png but how do i code it in....

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

Post by Winny » Mon Jun 02, 2008 10:02 pm

silver surfer wrote:dang... That sucks.....

me1... i kno it has to be a .png but how do i code it in....
You replace the .tga image with a .png image that you create in some photo editing software.

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

Post by optic delusion » Tue Jun 03, 2008 1:19 am

when using a mesh, there are two ways to use the material. These work the same way for other parameters, like drivethrough, passable, noculling, etcetera.


#Put a matref inside each face
face
vertices 0 1 2
matref example
endface


#or put the matref before a list of faces, each subsequent face will have the material.

matref example
face
vertices 0 2 3
endface

face
vertices 0 3 4
endface

face
vertices 0 4 1
endface

matref another_material
face
vertices 2 1 0
endface
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