Upvote Upvoted 1 Downvote Downvoted
How does duels_midair work?
1
#1
0 Frags +

Does anyone know how this works? I mean, does it measure the height of the player every time you hit a shot or does it have some other kinds of conditions?

Does anyone know how this works? I mean, does it measure the height of the player every time you hit a shot or does it have some other kinds of conditions?
2
#2
0 Frags +

Given that it would take some pretty large scale modding to get tf2 to tell the server how high above a given point (Which may be inconsistent if the person is on a slope or at an edge), I would think that when the map is made, there is something similar to endif, where at a certain height (the red bar in endif) the map activates a trigger, which sourcemod uses to start checking to see if the person is hit. For duels_midair, I'm not sure, but if it's what I'm thinking of (MGEMod with turris/gran mid/ other arenas), there is probably also the old DH mechanic being used, where it would get bonus damage just because the person was in midair (http://www.youtube.com/watch?v=QM2ns9gXghg). I haven't played it lately since I can't find any public midair servers, but if I remember correctly the person just needs to be off the ground and the rocket needs to be a direct, I don't know how it detects whether the rocket hit the person or a wall, but I would assume that that would be easier.

Given that it would take some pretty large scale modding to get tf2 to tell the server how high above a given point (Which may be inconsistent if the person is on a slope or at an edge), I would think that when the map is made, there is something similar to endif, where at a certain height (the red bar in endif) the map activates a trigger, which sourcemod uses to start checking to see if the person is hit. For duels_midair, I'm not sure, but if it's what I'm thinking of (MGEMod with turris/gran mid/ other arenas), there is probably also the old DH mechanic being used, where it would get bonus damage just because the person was in midair (http://www.youtube.com/watch?v=QM2ns9gXghg). I haven't played it lately since I can't find any public midair servers, but if I remember correctly the person just needs to be off the ground and the rocket needs to be a direct, I don't know how it detects whether the rocket hit the person or a wall, but I would assume that that would be easier.
Please sign in through STEAM to post a comment.