Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Hitboxes enhancements

- - - - -

  • Please log in to reply
9 replies to this topic

#1
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland

The current default hitboxes use an extra and useless (in my opinion) entity. I think it might help large servers getting less resources load if every single player didn't have an extra hitbox entity which is used only for prone anyway.

 

Some screenies I took on hitbox debug mode:

 

silEnT:

 

80_1343128582.png

(the green square, that's the entity I think is useless)

 

ETPro 3.2.6:

3008012900_1368028727.png

(stand)

 

7439379200_1368028728.png

(crouch)

 

2056486200_1368028729.png

(prone)

 

As you can see, in ETPro an extra box entity is added only to the prone animation, though I don't know which solution is better (current silEnT's one or ETPro's) when talking about performance, I just wanted to bring this interesting subject to the forums, I hope you guys (developers) know better than me which one is better ;).


Edited by Dragonji, 08 May 2013 - 05:10 PM.


#2
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

That is not how it works.

 

EDIT:

Also, there is no such setting as g_realHead. ETPro headboxes are always used.



#3
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland

That is not how it works.

Could you tell a lil' bit more? This is a really interesting subject in my eyes.
 

Also, there is no such setting as g_realHead. ETPro headboxes are always used.

It is present in default silent.cfg packed with silEnT 0.6.3 though.

Edited by Dragonji, 08 May 2013 - 06:34 PM.


#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

There are 2 traces. This can not be changed because otherwise some headshots would not get detected. This happens because the trace can end in the bounding box which fully contains the head box, or at least blocks it. The extra leg box is added only for one player if it hits his bounding box. Not for every player or if the hit is already in the head. The behaviour is the same regardless of the g_realbody setting. I.e. if g_realbody is used, the leg box is not added to every player. This same double trace and additional entities is necessary for all hitbox systems. Do note that we have already removed many redundant traces that are present in the etmain or in the ETPub for example. The information of the hit, once resolved, is kept as long as it is needed. The additional overhead from adding one extra leg box to one player is not mentionable enough. Furthermore, it is combined with the fact that the total count of the traces (and building bodies) is already reduced. There migh be some options to improve the performance slightly. But you shouldn't think it would reduce server CPU usage significantly, even with lot of hits to the players.

 

It is present in default silent.cfg packed with silEnT 0.6.3 though.

 

It must be removed from it. Thanks.



#5
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland
How about getting some option between vanilla and realbody hitboxes?

What I'm thinking about is something like this:
9863735000_1368266180.png

So the size of the body is almost the same as it used to be by default with only one difference: the top of the bodybox ends at the playermodel shoulders instead of top of the head.

#6
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

The g_realBody 1 does the shoulder level. Otherwise they are not that much harder.



#7
OFFLINE   ETsneak

ETsneak

    Regular Member

  • Members
  • PipPipPip
  • 106 posts
19
On a distinguished road

That is not how it works.

 

EDIT:

Also, there is no such setting as g_realHead. ETPro headboxes are always used.

 

Wrong. Read your own silent documentation here: http://mygamingtalk....Cvar#g_realHead

 

Also I've experimented with this setting on my silent server and it does exist.

 

It's impossible to be using etpro hitboxes since etpro is closed source. Also the hitboxes are definitely not etpro, after playing etpro for several years I can promise you they are not the same.



#8
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland

Wrong. Read your own silent documentation here: http://mygamingtalk....Cvar#g_realHead

Read this once again...

Change log:

  • 0.5.1 - The option was removed. The ETPro headboxes are always used.


Also the hitboxes are definitely not etpro, after playing etpro for several years I can promise you they are not the same.


They are, in size. Just run both mods in debug hitboxes mode and you will notice that as well.

Edited by Dragonji, 12 May 2013 - 07:44 PM.


#9
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

Wrong. Read your own silent documentation here: http://mygamingtalk....Cvar#g_realHead

 

Also I've experimented with this setting on my silent server and it does exist.

 

 

Documentation does have errors that we fix when we encounter them. For the plain reason that the documentation is the last thing we do after everything else and it always has the lowest priority. I don't mean to say we neglect it on purpose though. However, in this case, the documentation says correctly that it does not exist.



#10
OFFLINE   ETsneak

ETsneak

    Regular Member

  • Members
  • PipPipPip
  • 106 posts
19
On a distinguished road

Ah yea my mistake, didn't see that last time I saw the documentation so this time I didn't re-read it or happen to notice that changelog note.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users