Need help with wings and mines

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
musculargenius
Private First Class
Private First Class
Posts: 24
Joined: Sun Jul 01, 2018 12:17 am
Location: Dallas, TX

Need help with wings and mines

Post by musculargenius » Mon Jul 02, 2018 6:15 pm

If you use the current set up at bzflag.networkspeedy.com it doesn't seem like wings work as they should. You only get one jump and then you don't stay in the air. I'm told this is something that can be changed from the server side but I am not sure. Any advice?

Something else that's been requested is the ability to turn the useless flag into a mine. what do I need to do in order to enable that behavior? I don't see it in the documentation anywhere, but after printing it out, I admit that there may be something I missed in the 20-something pages of stuff that I've read so far.

User avatar
Zehra
Private First Class
Private First Class
Posts: 431
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic
Contact:

Re: Need help with wings and mines

Post by Zehra » Mon Jul 02, 2018 6:25 pm

There is a variable which controls the amount of times the wings flag can jump.(By default it is 1.)

Code: Select all

-set _wingsJumpCount 10
Can be used to set the amount of jumps to 10 on server start-up.
However, you can change this in game if you have the "set" permission.

Code: Select all

/set _wingsJumpCount 5
This will change the amount of jumps to 5 jumps.

The part of turning useless flags into mines is not a server setting, but it is done via a plug-in.
Originally created by Engima for 2.x as useless mines, it required the boost library as a dependency.
Enigma later created ProximityMines, an improved version of the useless mines as it had cleaner code, but still required the boost library.
Sigonasr2 later took the idea of useless mines and made a version for 2.4.x, with much simpler code and released it under public domain.
This can be found in this thread: UselessMine - Create Mines with the Useless Flag Once Again!
In the same thread, allejo also made a release of useless mines, but it written slightly differently, includes BD flag, but it requires BZFS 2.4.14 or above to work.

-Zehra
There's this game I love and it's called Ducati. ~Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
The details and the skill of knowing and applying them is what excellence is made of. ~Zehra
The best player is the one who knows what to do and when and applies it successfully. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
My blog is available at zehrahblog.wordpress.com.
See when I've last been active at Strayers.

User avatar
kierra
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 3737
Joined: Wed Mar 23, 2005 1:02 am
Location: outer Slovenia
Contact:

Re: Need help with wings and mines

Post by kierra » Mon Jul 02, 2018 8:17 pm

Maps: Clayhills, urban jungle & apocalypse run allejo's version. His is the only one still maintained.
"Trying to reason with a fool is like trying to teach a goldfish to bring you the newspaper"
"Sometimes people try to expose what's wrong with you, because they can't handle what's right about you."
"Measure your words -- they determine the distance of your relationships"

User avatar
Zehra
Private First Class
Private First Class
Posts: 431
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic
Contact:

Re: Need help with wings and mines

Post by Zehra » Mon Jul 02, 2018 9:43 pm

You would need to update your server to use allejo's version or to use an older version of his.
As a side note: I will likely update sigonasr2's plug-in in the coming months.

I also forgot to mention that if players don't stay in the air long with wings, you can reduce the wings gravity.
This will make them fall to the ground slower.(Don't set the value to positive though, it will cause an autokick of players with wings.)
The '_wingsGravity' variable is the one you will want to change if you want to make them fall to the ground slower.
(By default, this is set to the default gravity.)
Also if you wish to change how fast or slow or limit the jump with wings, you can change the _wingsJumpVelocity variable.
It too is normally set to the velocity of a jump without wings.
The last variable is the _wingsSlideTime and by default this is set to 0.
It tends to make players act as if there is lower friction, in my opinion.
If you adjust any of these variables, you will likely need to tinker with them a bit until you find a setting to your liking.
If any additional or extra information is needed on this, feel free to contact me by private message.

-Zehra
There's this game I love and it's called Ducati. ~Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
The details and the skill of knowing and applying them is what excellence is made of. ~Zehra
The best player is the one who knows what to do and when and applies it successfully. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
My blog is available at zehrahblog.wordpress.com.
See when I've last been active at Strayers.

User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 721
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: Need help with wings and mines

Post by allejo » Sat Jul 07, 2018 1:22 am

Zehra wrote:
Mon Jul 02, 2018 9:43 pm
As a side note: I will likely update sigonasr2's plug-in in the coming months.
Why.
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

User avatar
Zehra
Private First Class
Private First Class
Posts: 431
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic
Contact:

Re: Need help with wings and mines

Post by Zehra » Sun Jul 08, 2018 2:02 am

allejo wrote:
Sat Jul 07, 2018 1:22 am
Zehra wrote:
Mon Jul 02, 2018 9:43 pm
As a side note: I will likely update sigonasr2's plug-in in the coming months.
Why.
I'll gain experience this way and it will help me in some of my projects which are planned in the future.
This may be a starting point for a few other plug-ins and games modes as well.

-Zehra
There's this game I love and it's called Ducati. ~Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
The details and the skill of knowing and applying them is what excellence is made of. ~Zehra
The best player is the one who knows what to do and when and applies it successfully. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
My blog is available at zehrahblog.wordpress.com.
See when I've last been active at Strayers.

User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 721
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: Need help with wings and mines

Post by allejo » Sun Jul 08, 2018 2:48 am

Zehra wrote:
Sun Jul 08, 2018 2:02 am
I'll gain experience this way and it will help me in some of my projects which are planned in the future.
This may be a starting point for a few other plug-ins and games modes as well.
By all means, gain experience and practice. Just stop reviving old, unused, unmaintained plugins. You're doing people a disservice by cluttering the forum with obsolete plug-ins.

Anyhow, my apologies for getting off-topic. Since it seems that the original question was answered, let's leave it at that unless the OP has further questions :)
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

User avatar
alfa1
Private First Class
Private First Class
Posts: 111
Joined: Tue Dec 04, 2012 10:21 pm

Re: Need help with wings and mines

Post by alfa1 » Fri Jul 13, 2018 6:25 pm

This page might not be so updated but it is rather useful anyway: https://wiki.bzflag.org/Server_Variables .

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest