BZFS problem(or at least i think it is a problem)
BZFS problem(or at least i think it is a problem)
Well anyway i am making a map and when i add color to my map and i have the code correct there are no errors but when i test it out on local host the colors don't show up i dont know if i did something wrong or it is local host or what is wrong please help.
- Abominable
- Private First Class
- Posts: 141
- Joined: Mon Oct 22, 2007 12:31 am
rotation 0.000000
color 6 6 6
phydrv landmine
All this you don't need
what you want is this
material
name death2
color 6.0 6.0 6.0 1.0
end
meshbox
name Death2
position -500.000000 500.000000 81.000000
size 10.000000 10.000000 15.000000
matref death2
end
Make sure to read up on the wiki, there's a lot of good information there.
Also, I always put my material on top of all my code.
The numbers after "Color" 6.0 6.0 6.0 1.0 stand for Red Green Blue Alpha in that order. Alpha being black or a dark transparency.
Now if you have physics, then you need phydrv and then the name that refers to the physics, and make sure you have the physics before the object you want to apply the physics too.
color 6 6 6
phydrv landmine
All this you don't need
what you want is this
material
name death2
color 6.0 6.0 6.0 1.0
end
meshbox
name Death2
position -500.000000 500.000000 81.000000
size 10.000000 10.000000 15.000000
matref death2
end
Make sure to read up on the wiki, there's a lot of good information there.
Also, I always put my material on top of all my code.
The numbers after "Color" 6.0 6.0 6.0 1.0 stand for Red Green Blue Alpha in that order. Alpha being black or a dark transparency.
Now if you have physics, then you need phydrv and then the name that refers to the physics, and make sure you have the physics before the object you want to apply the physics too.
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
I sometimes find it a lot easier to use the color NAMES from this page. http://web.njit.edu/~walsh/rgb.html
That is not a complete list of the ones in bzflag, use the wiki for the complete list.
Try making a mettallic texture that uses both diffuse and specular color.
That is not a complete list of the ones in bzflag, use the wiki for the complete list.
Try making a mettallic texture that uses both diffuse and specular color.
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.
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.
- Abominable
- Private First Class
- Posts: 141
- Joined: Mon Oct 22, 2007 12:31 am