xp_physics

12 replies [Last post]
NanamoOOon
Offline
Joined: Oct 2008
Posts:

I have spent a long time searching what was wrong with new release, why I could not move properly anymore, and why I could not aim while flying. And lately I realised it did not come from new release but from setting used.

Before release xp_physics was 7 by default but we played everywhere with 3 (almost all server's owners had changed it), now with new release it's 55 by default and everywhere we play with 55 (noone has changed it,
except on beer where it's 51).

I really don't understand config language, but what I can see is the fact that with these 4 points people who are used to move and fly can't do it anymore. Oh yes they can ofc, but the feels are so different that they can't aim by this way to play so they won't. They are supposed to stay glued to the ground if they want to stay efficient. But I don't want that cause I like the feeling of liberty of movement we had here!

Some other players might have seen something was wrong lately, without understood what it was, well no, this is not a bad game day, this is not the new realease, this is just unusual xp_physics.
Before or after release problem is the same, this 4 points are involved (but as I said above before we used to play with 3).

So please players and owners of servers, pay attention to this setting, try to play/move with both and you should understand what I am talking about (easier to see on dm17).






epsiplayer
THE ONE AND ONLY
intact-epsilon's picture
Offline
Joined: Dec 2006
Posts:
Re: xp_physics

Ok let me help you a bit with the language settings for xp_physics.

xp_physics is a "bitmask variable" what this mean ? it means that his value its the result of more values of the same kind we call them "bit values", "bit flags" or simple "flags". These that are actually stored and more important then the result number which is hard to understand at first glance.

These flags are some numbers but they are defined by an Named Constant . These are the values/names for xp_physics in 2.2a:

* 1    PHYSICS_CONTROL_FORWARD     Enables forward physics control
* 2    PHYSICS_CONTROL_SIDEWARD    Enables sideward physics control
* 4    PHYSICS_CONTROL_STOP        Enables air stopping control
* 16   PHYSICS_RAMP_JUMPS          Enables ramp jumps
* 32   PHYSICS_DOUBLE_JUMPS        Enables double jumps
* 64   PHYSICS_QUAKE_LIVE          Enables a bunch of QL physics
* 128  PHYSICS_AIR_STEPS           Enables air stepping
* 256  PHYSICS_STEP_JUMPS          Fixes step jumps

Using math you can encode or retrieve all these bit values from a xp_physics number.. you can use simple math sum to encode a bit value, to decode its a bit harder to explain. I won't tell the math inside it cause then you will say i speak chinese.. (if you didn't already)

Ok so 51 in xp_physics means :

* 1    PHYSICS_CONTROL_FORWARD     Enables forward physics control
* 2    PHYSICS_CONTROL_SIDEWARD    Enables sideward physics control
* 16   PHYSICS_RAMP_JUMPS          Enables ramp jumps
* 32   PHYSICS_DOUBLE_JUMPS        Enables double jumps
the sum of them makes 51

And 55 in xp_physics means :

* 1    PHYSICS_CONTROL_FORWARD     Enables forward physics control
* 2    PHYSICS_CONTROL_SIDEWARD    Enables sideward physics control
* 4    PHYSICS_CONTROL_STOP        Enables air stopping control
* 16   PHYSICS_RAMP_JUMPS          Enables ramp jumps
* 32   PHYSICS_DOUBLE_JUMPS        Enables double jumps
the sum of them makes 55

So the difference is that 55 has this flag:

* 4    PHYSICS_CONTROL_STOP        Enables air stopping control

The new version have now 2 more flags: PHYSICS_AIR_STEPS, PHYSICS_STEP_JUMPS and the negation of the flag PHYSICS_NO_RAMP_JUMPS was split into 2: PHYSICS_RAMP_JUMPS, PHYSICS_DOUBLE_JUMPS. (this means that if you didn't had this value in 2.1you need to put both of them to get the same physics)
Easy said he wants ppl to experiment with the new values and seek which is better.

Here are his words:

easy wrote:
In v2.1 we had PHYSICS_NO_RAMP_JUMPS. Unfortunately this included two physics which could not be toggled separately. In v2.2 we have divided it into the two components and while at it also got rid of the negation.

While this now grants more freedome to config authors, it will break most, if not all, currently available configs. Following this simple step you can make your config compatible again in no time.

If your config had PHYSICS_NO_RAMP_JUMPS, just drop it. If it did not had PHYSICS_NO_RAMP_JUMPS you will have to add PHYSICS_RAMP_JUMPS and PHYSICS_DOUBLE_JUMPS to get the same behaviour.

We also encourage all config authors to evaluate the new physics PHYSICS_AIR_STEPS and PHYSICS_STEP_JUMPS. They can be a great addition.

I hope this helps and doesn't give more headache.
__________
epsislow


¯¯__█ALI█¯¯__
xpaliminium's picture
Offline
Joined: Nov 2005
Posts:
Re: xp_physics

What I wanna be sure about physics is the value of each thing. Is there a mistake about value 8 ? Has it been removed totally or reused for PHYSICS_RAMP_JUMPS ?

Before it was used for * 8   PHYSICS_NO_RAMP_JUMPS
actual doc shows no value 8, we pass from 4 to 16

I mean : is the doc correct or not ? confirm pls.

Wanna avoid seeying mow, skull & co Surprise

Check this peacefull place

FranK
frank's picture
Offline
Joined: Jan 2011
Posts:
Re: xp_physics

what is air stepping, walking on air?

"Beauty can cover a multitude of sins. But underneath, we all look exactly the same."

Frank Breitkopf :- no way out

epsiplayer
THE ONE AND ONLY
intact-epsilon's picture
Offline
Joined: Dec 2006
Posts:
Re: xp_physics

@Ali:
The proper behavior from my opinion is to be removed and not used anymore. Therefor, not having the bit value 8 in the list its the correct way. This means that if PHYSICS_NO_RAMP_JUMPS is seen in a config, it wont be applied.
Easy needs to confirm this, but i doubt that this is a mistake in the docs.

@Frank:
My guess, considering the fact that in e+ you can do multi-jumps, different then in the original game.. i see these PHYSICS_AIR_STEPS and PHYSICS_STEP_JUMPS as an improvement on the multi-jumps physics system which could bring some better results.

So maybe PHYSICS_AIR_STEPS is related to "air steps" after all..
Lets try and see. Happy
_________
epsislow


NanamoOOon
Offline
Joined: Oct 2008
Posts:
Re: xp_physics

thanks Epsi because Ali explained it to me but I would never have said it so well than you did.

So if I understand right the name of the problem I was trying to talk about is:

* 4 PHYSICS_CONTROL_STOP Enables air stopping control

I don't know what is it exactly for, but my previous post is still valide. With this thing we can't move and aim as we used to do with physics 3. It has nothing to do with the new stuff implemented (this is not about step 16 or 32). To have same feels has before we need xp_physics 51( and not 55). Now 51=3 and 55=7.

I have just watched on mrserver (51 default 55) and hyperland/jumpsland (55 default 51) default is not the same weird no?

Anyway, if people can't see the differences, we are several who can so pleeeeeeeeease put xp_physics 51 on your server setting Tongue






FranK
frank's picture
Offline
Joined: Jan 2011
Posts:
Re: xp_physics
epsiplayer wrote:

So maybe PHYSICS_AIR_STEPS is related to "air steps" after all..
Lets try and see. Happy
_________
epsislow

We're walking in the air... we're fragging in the air... Happy

maybe it turns the steps to air, so you glide up them like a ghost ^^

"Beauty can cover a multitude of sins. But underneath, we all look exactly the same."

Frank Breitkopf :- no way out

SHUDDER
shudder's picture
Offline
Joined: Feb 2010
Posts:
Re: xp_physics

Note that xp_physics description is missing 4th bit (value=8) maybe that makes the difference.

FranK
frank's picture
Offline
Joined: Jan 2011
Posts:
Re: xp_physics
SHUDDER wrote:

Note that xp_physics description is missing 4th bit (value=8) maybe that makes the difference.

ahahaha, i take it you didnt read all of the above Happy

"Beauty can cover a multitude of sins. But underneath, we all look exactly the same."

Frank Breitkopf :- no way out

animalchik
fala.q3's picture
Offline
Joined: Jul 2009
Posts:
Re: xp_physics
NanamoOOon wrote:


* 4 PHYSICS_CONTROL_STOP Enables air stopping control

I don't know what is it exactly for, but my previous post is still valide. With this thing we can't move and aim as we used to do with physics 3. It has nothing to do with the new stuff implemented (this is not about step 16 or 32). To have same feels has before we need xp_physics 51( and not 55). Now 51=3 and 55=7.

Then better discover how does it work...

This is another in air control witch allows u to control more in air by a backward key... it means the movement is more sensitive for backward key and by pressing the key u can brake down a lot more effective then before where u have only a minor influence on it, anyway by pressing any other key that's will move yours character in game to opposite direction to the direction of yours in air movement will result the same way.

It has completely nothing to do with hitbox hitscanweapons or aiming in general, the reason u can't aim as u have get used in air it is u don't know how to control the air movement now when it is more sensitive nothing more...

I don't need to explain what benefits give more control in air movement, but it requires dropping down the habits u have learned or better knowledge about movement (witch most of the players don't have since they started playing quake in e+ instead of mods like osp and cpma where this kind of movement is something normal)

I am addicted to life.

rage+
Forum moderator
Zack's picture
Offline
Joined: Sep 2003
Posts:
Re: xp_physics

i played PlusC on the new mod an i gotta say ive never moved so fast in me life with such a great smooth feeling.

I've yet to truly test the new release tho its nice so far.
Hopefully in next release they can rid of all the bugs.