The screenshot below is a tunnel in one of my maps:
There is a ground plane a few units up from the top of the tunnel. Whenever I drop a flag inside the tunnel, the flag flies up through the roof of the tunnel and comes to rest on the ground plane up above. I really want the flag to just stop at the roof of the tunnel, and fall back to the floor. Is there any way to constrict flags to not fly up through the roof?
Flags in constricted area
Flags in constricted area
- Attachments
-
- tunnelwithflag.jpg (133.34 KiB) Viewed 1566 times
One of the problems is your tunnel ceiling is too low for the flag, whatever the limit is. I've got a guess that you might be able to change that limit by changing one of the _flag* variables? Specifically, try lowering _flagHeight, which is the height of the flag used in physics I think (to change the *visible* height of a flag, you use _flagPoleSize instead).
Yeah, I'm pretty sure lowering the value of _flagHeight will do the trick.
Yeah, I'm pretty sure lowering the value of _flagHeight will do the trick.
i think that the only way to change this is to raise the ceeling up.
There is also another salution... make the tanks flat as pankakes... but that probably wont do much good although it is quite easy to do.
You need to change the height of the ceeling, sorry
Although in the next release of bzflag, the devs should change it so you can change the height the flag go's when it is dopped... just an idea
There is also another salution... make the tanks flat as pankakes... but that probably wont do much good although it is quite easy to do.
You need to change the height of the ceeling, sorry
Although in the next release of bzflag, the devs should change it so you can change the height the flag go's when it is dopped... just an idea
- ducatiwannabe
- Private First Class
- Posts: 3258
- Joined: Tue Aug 10, 2004 3:55 pm
- Location: Planet Earth
- Contact:
I'm not quite sure how high, but I believe a roof needs to be at least 13-14 units high for the flag not to float up to the level above where you want it to be.
For example, your tunnel looks to be about five units high. Maybe seven? That's about a little less than half of what you need. I don't think even zones can fix that.
Perhaps one of the flag variables? Anybody?
For example, your tunnel looks to be about five units high. Maybe seven? That's about a little less than half of what you need. I don't think even zones can fix that.
Perhaps one of the flag variables? Anybody?
Out of curiosity, make the flags higher(taller).
I think the flag has to be completely over the ceiling to stay there.
Taller flags would probably prevent that.
The downside is that every flag would have their own tall flagpole
but Im sure if it works it will beat raising the ceiling.
I think the flag has to be completely over the ceiling to stay there.
Taller flags would probably prevent that.
The downside is that every flag would have their own tall flagpole
but Im sure if it works it will beat raising the ceiling.
I'm thinking I need a better sig than this...