Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#409 -w Wings always on server option

Gameplay_Changes
open-postponed
nobody
BZFlag (222)
1
2013-01-05
2013-01-05
Kyle Mills
No

In BZFlag, you pick up flags to change your tank\'s abilities.
Flags like Ricochet and Jumping can be applied by the server so that, while having those abilities, you can still hold a different flag.
Wings was not that way, until this patch. Now you will be able to fly with laser, shockwave, stealth…

This patch (like -noSelfKills) requires a protocol change to be fair to people running older clients. You wouldn\'t want someone that couldn\'t fly on the same server as people who could.

Bzfs command line options:
+r shots always ricochet (removes ricochet flag)
-j allow jumping always (removes jumping flag)
-w allow flying always (removes wings flag, silently adds -j)
-set _shotsKeepVerticalVelocity 1 (useful with jumping, more with wings)

There are some flags where it may not be obvious how they would combine with wings. The full list is here:

flags that don\'t affect movement and therefore have no conflict with wings:
R* B* G* P*
CL G GM ID IB L MG N F R SE SH SW ST SR SB T US
B CB JM O TR WA

flags that only affect horizontal movement:
A QT TH V
FO LT M RC RO RT

flags left over:
BU only activates when you hit the real ground, and you must drop it to jump.
OO can\'t jump or shoot or move backward while inside a building
PZ driving, flying, and shooting through buildings

BY The tank only bounces when it is on a platform; it can still fly when in the air.
NJ If you land on a platform, you stick to it.

Having wings always on changes the game from two dimensions with jumping/climbing to fully being 3d, without the loss of being able to use other flags as before. I expect the inclusion of this optional feature to cause the creation of better maps.

MengerSponge.bzw is an example testing map I made. I recommend changing the protocol if anyone makes a public testing server.

Discussion

  • Kyle Mills
    Kyle Mills
    2013-01-05

     
    Attachments
  • Kyle Mills
    Kyle Mills
    2013-01-05

     
    Attachments
  • Kyle Mills
    Kyle Mills
    2013-01-05

    • milestone: --> Gameplay_Changes
     
  • Jeff Myers
    Jeff Myers
    2013-01-05

    This would have to wait for 2.6 or later and I'm not sure it is a good idea, but it may need play-testing.

     
  • Jeff Myers
    Jeff Myers
    2013-01-05

    • labels: --> BZFlag
    • priority: 5 --> 1
    • status: open --> open-postponed
     
  • Kyle Mills
    Kyle Mills
    2013-01-07

    In src/date/buildDate.cxx line 127 change BZFS to BZWG and join me at 76.121.156.73 for some play testing

     
  • Kyle Mills
    Kyle Mills
    2013-01-07

    Ignore the last comment.
    Change src/date/buildDate.cxx line 127 from
    # define BZ_PROTO_VERSION "0221"
    to
    # define BZ_PROTO_VERSION "9999"
    I'm hosting a server at 76.121.156.73 if you want to try it.

     
  • Kyle Mills
    Kyle Mills
    2013-01-19

    I just noticed -w is already a synonym for -world. This patch has a command line option conflict. Alternative thought up by not me:
    Jumping: -j
    Flying: -j wings
    Jumping: -j jumping