I've been sitting on this project for at least 2 3 years now, I never really got around to publishing it, but here you guys go:
https://github.com/athairus/airshot-trainer
What is it? It's a Sourcemod plugin that draws a handy target in the exact place you should shoot to score an airshot. I think a video does it more justice than a text description:
http://youtu.be/x6XfEhjpnv8
It's far from done, though. Besides the todo list at the bottom of the plugin, a big thing that needs to be done is to support showing the correct target to more than one person. I'm imagining MGE with all players having this to assist their aim. Problem is in Sourcemod, you can send sprite entities to each player whose positions are not interpolated, or create entities that have the same position for all players, making them useless for all but one.
A more elegant solution to this would be to ditch Sourcemod altogether and have it done client-side. I highly doubt Valve would sign such a plugin, so it'll have to be launched in -insecure mode to work at all. There's no reason to be concerned about a VAC ban if such a plugin were made.
Anyway, I figured instead of sitting on this plugin any longer I should just let the community be aware such a thing is possible and see if someone can take up the mantle.
Programmers, adopt this puppy plugin!
=========================
EDIT: I seem to be getting a lot of questions about whether this is a cheat or not. Of course it is! It's not an aimbot, though. It only tells you where to aim. But you won't be able to load this in your local client, it's meant to be run on the server. So, the only way to even get this working is to play on a server that has this plugin installed.
I've been sitting on this project for at least [s]2[/s] 3 years now, I never really got around to publishing it, but here you guys go:
https://github.com/athairus/airshot-trainer
What is it? It's a Sourcemod plugin that draws a handy target in the exact place you should shoot to score an airshot. I think a video does it more justice than a text description:
http://youtu.be/x6XfEhjpnv8
It's far from done, though. Besides the todo list at the bottom of the plugin, a big thing that needs to be done is to support showing the correct target to more than one person. I'm imagining MGE with all players having this to assist their aim. Problem is in Sourcemod, you can send sprite entities to each player whose positions are not interpolated, or create entities that have the same position for all players, making them useless for all but one.
A more elegant solution to this would be to ditch Sourcemod altogether and have it done client-side. I [i]highly[/i] doubt Valve would sign such a plugin, so it'll have to be launched in -insecure mode to work at all. There's no reason to be concerned about a VAC ban if such a plugin were made.
Anyway, I figured instead of sitting on this plugin any longer I should just let the community be aware such a thing is possible and see if someone can take up the mantle.
Programmers, adopt this [s]puppy[/s] plugin!
=========================
EDIT: I seem to be getting a lot of questions about whether this is a cheat or not. [b]Of course it is![/b] It's not an aimbot, though. It only tells you [i]where to aim[/i]. But you won't be able to load this in your local client, it's meant to be run on the server. So, the only way to even get this working is to [i]play on a server that has this plugin installed[/i].
Damn this looks amazing, so when and where can you use this plugin? just on off-line servers or on real servers too etc?
Damn this looks amazing, so when and where can you use this plugin? just on off-line servers or on real servers too etc?
rezgarDamn this looks amazing, so when and where can you use this plugin? just on off-line servers or on real servers too etc?
I'm guessing you mean listen servers (servers launched via the tf2 client menu) vs dedicated servers. I talked it over with the Sourcemod guys and they don't support listen servers. What does this mean? You're just gonna have to use an extra 5.3GB and download the dedicated server if you want to do this locally. Otherwise, you can just run it on a remote server somewhere like any other plugin.
Either way, at the moment you're limited to the targets only being correct for one human player, I believe the first human player to connect gets the right targets.
[quote=rezgar]Damn this looks amazing, so when and where can you use this plugin? just on off-line servers or on real servers too etc?[/quote]
I'm guessing you mean listen servers (servers launched via the tf2 client menu) vs dedicated servers. I talked it over with the Sourcemod guys and they don't support listen servers. What does this mean? You're just gonna have to use an extra 5.3GB and download the dedicated server if you want to do this locally. Otherwise, you can just run it on a remote server somewhere like any other plugin.
Either way, at the moment you're limited to the targets only being correct for one human player, I believe the first human player to connect gets the right targets.
Can you do it so it only works for one player set somewhere in the config rather than first to connect?
Also if I render demo, will the crosshair appear?
Thanks.
Can you do it so it only works for one player set somewhere in the config rather than first to connect?
Also if I render demo, will the crosshair appear?
Thanks.
CHERRYCan you do it so it only works for RED?
Thanks.
Like I explained in the OP, you can't discriminate which clients (players) the cursor will show up for, at least not with Sourcemod's stock API AFAIK. I haven't looked into it a ton, maybe you can do something with a custom extension or something, I don't know.
[quote=CHERRY]Can you do it so it only works for RED?
Thanks.[/quote]
Like I explained in the OP, you can't discriminate which clients (players) the cursor will show up for, at least not with Sourcemod's stock API AFAIK. I haven't looked into it a ton, maybe you can do something with a custom extension or something, I don't know.
Yeah, sorry I fixed that sentence.
So even with it being a one player there's no way of doing that? :/
Yeah, sorry I fixed that sentence.
So even with it being a one player there's no way of doing that? :/
but what if the target strafes? ;)
but what if the target strafes? ;)
Now endif matches will end before the first person touches the ground every time.
Show Content
hopefully it kills that gay mod :)
Now endif matches will end before the first person touches the ground every time.[spoiler]hopefully it kills that gay mod :)[/spoiler]
Samytsibut what if the target strafes? ;)
Then the green crosshair moves.
[quote=Samytsi]but what if the target strafes? ;)[/quote]
Then the green crosshair moves.
BetterNow endif matches will end before the first person touches the ground every time. Show Content
hopefully it kills that gay mod :)
https://www.youtube.com/watch?v=nq9Wr7J5X_Y
if you dont like it dont play it
[quote=Better]Now endif matches will end before the first person touches the ground every time.[spoiler]hopefully it kills that gay mod :)[/spoiler][/quote]
https://www.youtube.com/watch?v=nq9Wr7J5X_Y
if you dont like it dont play it
its going to be completely useless for training because you're going to be focusing on this xhair instead of actual model movement and proper predicting.
its going to be completely useless for training because you're going to be focusing on this xhair instead of actual model movement and proper predicting.
idk maybe the crosshair becomes second nature so that even when its not there you know where to shoot
idk maybe the crosshair becomes second nature so that even when its not there you know where to shoot
You shouldn't have released it just like that.
You should have made TF2 Academy. A private school for everyone that wants to get good with subjects like airshot training.
You shouldn't have released it just like that.
You should have made TF2 Academy. A private school for everyone that wants to get good with subjects like airshot training.
This is how aimbots are made, you have too much power now, don't let it corrupt you.
This is how aimbots are made, you have too much power now, don't let it corrupt you.
How does it work for the different arcs of different weapons? If you shoot a rocket, a flare, and a pipe at the exact same place, they wouldn't all hit.
How does it work for the different arcs of different weapons? If you shoot a rocket, a flare, and a pipe at the exact same place, they wouldn't all hit.
Forsak3nits going to be completely useless for training because you're going to be focusing on this xhair instead of actual model movement and proper predicting.
Hallowidk maybe the crosshair becomes second nature so that even when its not there you know where to shoot
What he said, yeah. I kind of try to imagine the invisible crosshair when I fight people anywhere else.
EDIT: (I'm making wild hand gestures as I type this) Let's see you try to focus on the crosshair as it's dancing around like mad across your screen, the dude you're shooting at may as well be standing still.
KanecoThis is how aimbots are made, you have too much power now, don't let it corrupt you.
No comment
fireindaarcadeHow does it work for the different arcs of different weapons? If you shoot a rocket, a flare, and a pipe at the exact same place, they wouldn't all hit.
A jerk would just tell you "Read the source."
Read the source.
...and you'll see that I calculate the target differently based on what weapon the player yields. Different projectile weapons have different velocities.
Samytsibut what if the target strafes? ;)
Yeah, compensating for circular air strafes is on the to-do list. I'm just too busy with other projects to do it myself (not to mention it might be a waste of time considering what I said in OP), but you're free to submit a pull request when you write it :)
[quote=Forsak3n]its going to be completely useless for training because you're going to be focusing on this xhair instead of actual model movement and proper predicting.[/quote]
[quote=Hallow]idk maybe the crosshair becomes second nature so that even when its not there you know where to shoot[/quote]
What he said, yeah. I kind of try to imagine the invisible crosshair when I fight people anywhere else.
EDIT: (I'm making wild hand gestures as I type this) Let's see [i]you[/i] try to focus on the crosshair as it's dancing around like mad across your screen, the dude you're shooting at may as well be standing still.
[quote=Kaneco]This is how aimbots are made, you have too much power now, don't let it corrupt you.[/quote]
No comment
[quote=fireindaarcade]How does it work for the different arcs of different weapons? If you shoot a rocket, a flare, and a pipe at the exact same place, they wouldn't all hit.[/quote]
A jerk would just tell you "Read the source."
[url=https://github.com/athairus/airshot-trainer/blob/master/addons/sourcemod/scripting/airshottrainer.sp#L282]Read the source.[/url]
...and you'll see that I calculate the target differently based on what weapon the player yields. Different projectile weapons have different velocities.
[quote=Samytsi]but what if the target strafes? ;)[/quote]
Yeah, compensating for circular air strafes is on the [url=https://github.com/athairus/airshot-trainer/blob/master/addons/sourcemod/scripting/airshottrainer.sp#L421]to-do list[/url]. I'm just too busy with other projects to do it myself (not to mention it might be a waste of time considering what I said in OP), but you're free to submit a pull request when you write it :)
I'm going to make a promise, that I will never use this plugin, and all my airshots will remain forever virgin and uncorrupted, non machine assisted, entirely organic and without influence of such a mathematical and cold prediction device.
Seriously though, this is very cool. I'm sure the US DoD has a job waiting for you. Those predator drones won't program themselves :)
I'm going to make a promise, that I will never use this plugin, and all my airshots will remain forever virgin and uncorrupted, non machine assisted, entirely organic and without influence of such a mathematical and cold prediction device.
Seriously though, this is very cool. I'm sure the US DoD has a job waiting for you. Those predator drones won't program themselves :)
having trouble compiling it
[img]http://i.imgur.com/n02D10N.png[/img]
hoolihaving trouble compiling it
http://i.imgur.com/n02D10N.png
From the looks of it, you're compiling from a listen server. Though it should work... it's not supported. It compiles just fine on my stock copy of Sourcemod 1.7.x on Windows. You are also installing sourcemod to the "custom" directory, also not supported. Believe me, I want those two things to be supported as much as you do.
Anyway, neither of those SHOULD be the reason you're not compiling.
A dummyThere's no additional dependencies!
HAHA, I lied. You need SMLIB to compile, too: https://www.sourcemodplugins.org/smlib/
[quote=hooli]having trouble compiling it
[img]http://i.imgur.com/n02D10N.png[/img][/quote]
From the looks of it, you're compiling from a listen server. Though it should work... it's not supported. It compiles just fine on my stock copy of Sourcemod 1.7.x on Windows. You are also installing sourcemod to the "custom" directory, also not supported. Believe me, I want those two things to be supported as much as you do.
Anyway, neither of those SHOULD be the reason you're not compiling.
[quote=A dummy]There's no additional dependencies![/quote]
HAHA, I lied. You need SMLIB to compile, too: https://www.sourcemodplugins.org/smlib/
how can any of you honestly think this isn't cheating?
how can any of you honestly think this isn't cheating?
lucrativehow can any of you honestly think this isn't cheating?
Huh? It absolutely is! It's made for practice and training.
[quote=lucrative]how can any of you honestly think this isn't cheating?[/quote]
Huh? It absolutely is! It's made for practice and training.
lucrativehow can any of you honestly think this isn't cheating LOL
It's done via sorcemod, and can only be run for first person joining the server. So if someone was going to use this to cheat they would have to have the plugin installed on the server they are using it on, and be the first person to join. If someone was going to cheat with something like this i'm sure they would just buy actual hacks. "sm plugins list" will let you see any plugins running on a server as well, so this would be easy to spot.
I don't think this is cheating in any way.
[quote=lucrative]how can any of you honestly think this isn't cheating LOL[/quote]
It's done via sorcemod, and can only be run for first person joining the server. So if someone was going to use this to cheat they would have to have the plugin installed on the server they are using it on, and be the first person to join. If someone was going to cheat with something like this i'm sure they would just buy actual hacks. "sm plugins list" will let you see any plugins running on a server as well, so this would be easy to spot.
I don't think this is cheating in any way.
i downloaded the latest sourcemod snapshot, installed smlib and i still can't compile
http://i.imgur.com/9Df1yDF.png
i downloaded the latest sourcemod snapshot, installed smlib and i still can't compile
[img]http://i.imgur.com/9Df1yDF.png[/img]
DanceNumberlucrativehow can any of you honestly think this isn't cheating LOL
It's done via sorcemod, and can only be run for first person joining the server. So if someone was going to use this to cheat they would have to have the plugin installed on the server they are using it on, and be the first person to join. If someone was going to cheat with something like this i'm sure they would just buy actual hacks. "sm plugins list" will let you see any plugins running on a server as well, so this would be easy to spot.
I don't think this is cheating in any way.
if the its out there and it exists people will find a way to implement it, souremod or not, they always do. This type of mod (I believe) was the basis of creating rocket prediction aim bots in Quake and the same situation occurred there. This is just creating the means for people to cheat, its not a cheat itself in this form.
[quote=DanceNumber][quote=lucrative]how can any of you honestly think this isn't cheating LOL[/quote]
It's done via sorcemod, and can only be run for first person joining the server. So if someone was going to use this to cheat they would have to have the plugin installed on the server they are using it on, and be the first person to join. If someone was going to cheat with something like this i'm sure they would just buy actual hacks. "sm plugins list" will let you see any plugins running on a server as well, so this would be easy to spot.
I don't think this is cheating in any way.[/quote]
if the its out there and it exists people will find a way to implement it, souremod or not, they always do. This type of mod (I believe) was the basis of creating rocket prediction aim bots in Quake and the same situation occurred there. This is just creating the means for people to cheat, its not a cheat itself in this form.
why are you talking like people haven't already developed projectile cheats for tf2
why are you talking like people haven't already developed projectile cheats for tf2
lucrativeThis is just creating the means for people to cheat, its not a cheat itself in this form.
Right, all you have to do is gain access to your favorite server, upload and load the plugin, and let's not forget to edit it so no one else on the server can see the crosshairs but you... wait I already showed that can't be done.
I'm being rused, aren't I?
[quote=lucrative]This is just creating the means for people to cheat, its not a cheat itself in this form.[/quote]
Right, all you have to do is gain access to your favorite server, upload and load the plugin, and let's not forget to edit it so no one else on the server can see the crosshairs but you... wait I already showed that can't be done.
I'm being rused, aren't I?