How do you make a textured object drive through?
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
How do you make a textured object drive through?
How do you make the texture drive through? I have the box drive through, but what you land on it, you get stuck and can't turn, jump, move, or anything. I am trying to make a swimming pool on my new rabit hunt map, but I can't get the water drive through. And is it possible to make the texture transparent?
-Propane Tank
Re: How do you make a textured object drive through?
You don't make a "texture" drive through. You make the object drive through, and apply the material to that object. Isolate the object you are trying to make drive through in a new map file along with the material and anything else directly related to it. If that works, then something else in your map is wrong.
As for making a texture transparent, there are a couple ways to do that. First, if you only want certain parts of a texture to be transparent, you should use the alpha channel in your image editing program. If you want the entire object/side to be partially transparent, you should adjust the material. A little searching can go a long way...
How to make an object partially transparent:
http://my.bzflag.org/bb/viewtopic.php?f ... nt#p142174
As for making a texture transparent, there are a couple ways to do that. First, if you only want certain parts of a texture to be transparent, you should use the alpha channel in your image editing program. If you want the entire object/side to be partially transparent, you should adjust the material. A little searching can go a long way...
How to make an object partially transparent:
http://my.bzflag.org/bb/viewtopic.php?f ... nt#p142174
- ahs3
- Private First Class
- Posts: 327
- Joined: Sun Mar 04, 2007 8:33 pm
- Location: Press '/' to search
- Contact:
Re: How do you make a textured object drive through?
Propane Tank wrote:How do you make the texture drive through? I have the box drive through, but what you land on it, you get stuck and can't turn, jump, move, or anything. I am trying to make a swimming pool on my new rabit hunt map, but I can't get the water drive through. And is it possible to make the texture transparent?
is it a textured box or meshbox?
I have submitted a bug to sf.
when a box is textured its not really drivethrough, use a meshbox. it should clear that up.
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: How do you make a textured object drive through?
I am not very good with meshes, and they seem really hard to build.ahs3 wrote: is it a textured box or meshbox?
I have submitted a bug to sf.
when a box is textured its not really drivethrough, use a meshbox. it should clear that up.
This may be a little off topic, but is it possible to take out team flags in CTF. I want only a green flag to show up and the red and blue flags to not show up.
Here is what I have in my config:
-f B* -f R*
-Propane Tank
Re: How do you make a textured object drive through?
The -f only prevents random flags (ones specified with -s and +s) from spawning. It does not prevent mandatory flags (such as team flags, or those added with +f) from spawning. You'd probably have to modify the bzfs code to prevent a team flag from spawning. The other option would be to place the other team flag in a flag spawn zone on an object far out of reach of the players.
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
Re: How do you make a textured object drive through?
Sounds like the hold-the-flag HTF, plugin... maybe steal the bacon. I don't know. Hiding the unwanted flags way up high will be easiest, use the zoneflag option in your zone.
zone
position x y z
zoneflag B* R*
end
Meshes are easy if you use a 3-d editor.
zone
position x y z
zoneflag B* R*
end
Meshes are easy if you use a 3-d editor.
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.
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: How do you make a textured object drive through?
Thanks for that. Now the flags are outa play. Is it possible to make a green flag appear is a green tank isn't there? My guess is no, but if it is possible, I would like to know how to do it. What is a good 3-d editor? Will BZ Work Bench work. I think that might do meshes. I'll look and see. I have it on my laptop.
-Propane Tank
Re: How do you make a textured object drive through?
Same kind of thing as what you asked before... you would need to modify BZFS.Propane Tank wrote:Is it possible to make a green flag appear is a green tank isn't there? My guess is no, but if it is possible, I would like to know how to do it.
I do not think that BZWorkBench has any way of editing meshes once they are in, except maybe by changing the code by hand. You want a 3D Modeler such as Wings3D or Blender.Propane Tank wrote:What is a good 3-d editor? Will BZ Work Bench work. I think that might do meshes. I'll look and see. I have it on my laptop.
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: How do you make a textured object drive through?
Can't you make a mesh in BZ Workbench? I don't have meshes in the map, but I was advised to make a mesh for the water on my Rabbit Chase map.I do not think that BZWorkBench has any way of editing meshes once they are in, except maybe by changing the code by hand. You want a 3D Modeler such as Wings3D or Blender.
-Propane Tank
Re: How do you make a textured object drive through?
No, you cannot. It is not a 3D Modeler.
- Propane Tank
- Private First Class
- Posts: 99
- Joined: Mon Aug 17, 2009 12:44 pm
Re: How do you make a textured object drive through?
You can make mesh pyramids and mesh boxes. I just looked before posting this. Isn't this your app Blast? You should know what you implemented into your own app.
-Propane Tank
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
Re: How do you make a textured object drive through?
BZWorkbench is not Blast's. It was mainly coded by jude as part of GSoC, and is still in ongoing development by whomever wants to work on it.Propane Tank wrote:You can make mesh pyramids and mesh boxes. I just looked before posting this. Isn't this your app Blast? You should know what you implemented into your own app.
"Life is what happens to you while you're busy making other plans." - John Lennon
Re: How do you make a textured object drive through?
Mesh pyramids and mesh boxes are not the same as a "mesh".
And yes, jude worked on it first, and then Will07c5 (William Hahne) did more on it.
And yes, jude worked on it first, and then Will07c5 (William Hahne) did more on it.
Re: How do you make a textured object drive through?
BZWorkbench has never been specked to be a full 3d modeler, at most it will let you import a mesh and place it in the world. It will not let you make them from scratch. There are better apps out there to do that.
JeffM
Re: How do you make a textured object drive through?
A mesh box and mesh pyramid are relatively simple meshes that mimic what regular boxes and pyramids do, with some added 'mesh' features. At MOST they have 8 points that are easily calculated, that is way different than a full fledged mesh editor...Propane Tank wrote:You can make mesh pyramids and mesh boxes. I just looked before posting this. Isn't this your app Blast? You should know what you implemented into your own app.
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
"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