WW flag

Make suggestions for improving one of the best games on the net!
Post Reply
Anthony
Private First Class
Private First Class
Posts: 222
Joined: Fri Jan 11, 2008 4:01 pm

WW flag

Post by Anthony » Sat Apr 19, 2008 6:05 pm

I have an idea for flag instead of dying when hitting the water you can drive on it.

User avatar
macsforme
General
General
Posts: 2033
Joined: Wed Mar 01, 2006 5:43 am

Post by macsforme » Sat Apr 19, 2008 8:36 pm

Very few servers actually use the BZW waterLevel setting. Generally it's a mesh face (or multiple mesh faces) with a texturematrix and possibly death physics. The most effective way to implement this might be to create a flag that can turn off the effects of certain physics drivers.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Sat Apr 19, 2008 11:05 pm

custom flag and server side death, to be implemented in a future release.
ImageJeffM

lol_u died

Post by lol_u died » Sun Apr 20, 2008 2:50 am

I think it'll be cooler to actually drive or Swim in the water... unless of thats what tony ment ;)

User avatar
hamburger ham
Private First Class
Private First Class
Posts: 33
Joined: Tue Jun 26, 2007 11:05 pm
Location: bzflag

Post by hamburger ham » Sun Apr 20, 2008 2:55 am

lol_u died wrote:I think it'll be cooler to actually drive or Swim in the water... unless of thats what tony ment ;)
Although that would be a fairly good idea, what if the water were not to be implemented for death but rather for show or other uses..
HH
There's no ham in hamburgers!----===
--=

F687/s
Private First Class
Private First Class
Posts: 369
Joined: Sun Dec 31, 2006 8:30 pm

Post by F687/s » Sun Apr 20, 2008 1:17 pm

If you dissect some of the more popular maps that have water, you'd realize that most water levels are just either meshboxes or meshes, and not water levels. Mainly because the actual waterLevel definition isn't really specific, at all. So, in order to make it so that you can walk on water with a specific flag, you would have to do as JeffM said: make an object and tag it as water, and then use a server plugin to kill off any people that touch the plane without having the custom flag.

But that would just be walking on water. Actually "swimming", and not floating around with WG, like one map, would take a lot more work. (Well, we would have to add a "swimmable" parameter to the mesh definition, and therefore meshboxes and meshpyrs, add a few BZDB vars to control swimming, add a command-line option to turn on/off swim mode, reconfigure tanks and bullets to act differently while in the water, and before you know it, your client will be playing the Super Mario Bros. underwater theme every time your tank begins to swim.)

User avatar
macsforme
General
General
Posts: 2033
Joined: Wed Mar 01, 2006 5:43 am

Post by macsforme » Sun Apr 20, 2008 9:00 pm

F687/s wrote:Actually "swimming", and not floating around with WG, like one map, would take a lot more work. (Well, we would have to add a "swimmable" parameter to the mesh definition, and therefore meshboxes and meshpyrs, add a few BZDB vars to control swimming, add a command-line option to turn on/off swim mode, reconfigure tanks and bullets to act differently while in the water, and before you know it, your client will be playing the Super Mario Bros. underwater theme every time your tank begins to swim.)
You could make the tank "swim" (horizontally anyway) by using physics drivers to make it slide around on the mesh face.

User avatar
oldgregg
Private First Class
Private First Class
Posts: 6
Joined: Sat Jan 26, 2008 1:56 am

Post by oldgregg » Thu Apr 24, 2008 2:55 pm

that is a good idea. i always seem to die is that stupid water!!!

Post Reply