ShellShock Live
zbw8388 Jun 9, 2018 @ 10:19am
Angle calculation
Assume the battlefiled is flat and the power is 100.
Here's the formula that gives you the angle:

90 - arcsin(portion of the map / 1.345632) / 2

Result:
https://steamcommunity.com/profiles/76561198104838919/screenshot/934941433836114530
(1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8, 8/8)


How did I get it?
In firing range, I found that if your angle is 66 and power is 100, you can hit from one end to the other end. Or, (100, 66) will make your shot travel 1 full map horizontally.

Time for some physics (or math)
Assume the total speed of your shot is 1,
then the vertical speed of your shot is 1*sin(angle of your shot),
and the horizontal speed of your shot is 1*cos(angle of your shot).

The amount of time that your shot traveling in the air is
time = (sin(angle of your shot)/acceleration)*2 The acceleration is a constant

Finally, the horizontal distance = time * horizontal speed = cos(angle of your shot) * (sin(angle of your shot)/acceleration) * 2

Using trig identity,
horizontal distance = a constant * sin(2 * angle of your shot)

Since at 66 degree, the shot will travel 1 map, we can plug
angle of your shot = 66,
horizontal distance = 1
into the equation

And we get
1 = a constant * sin(2 * 66)
that constant = 1.345632

So the equation becomes:
horizontal distance = 1.345632 * sin(2 * angle of your shot)

Solving for anglel of your shot, we get
anglel of your shot = arcsin(horizontal distance / 1.345632) / 2

However, since the range of arcsin is not desired, we put 90 - in front of the right hand side of the equation and it becomes:
anglel of your shot = 90 - arcsin(horizontal distance / 1.345632) / 2


Who can calculate this?
It is almost impossible for human to calculate arcsin within 30 seconds, but it is possible with your computer (probably with taylor series)!!!
Open your browser, and create a bookmark, and put the following code in it:
javascript:!function(){var m=prompt("Horizontal distance?").split("/");if(m[1])m=Number(m[0])/Number(m[1]);else m=Number(m[0]);alert((90-Math.asin(m/1.345632)/2/Math.PI*180).toFixed(1));}()

If you put a number (or a fraction) between 0 and 1, it should give you the angle.

Questions for discussion
Is it a hack?
Should it be banned?
Am I cheating?
Last edited by zbw8388; Jun 9, 2018 @ 11:03am
< >
Showing 1-7 of 7 comments
GgWw1175 Jun 9, 2018 @ 10:30am 
I have a different suggestion: learn to aim.
To answer your questions:
1: No, it's a cheat
2: Probably
3: I'd say so. What you described is pretty much a slower, less accurate aimbot.
zbw8388 Jun 9, 2018 @ 11:02am 
A question: how do you learn to aim?
Before I did the math, I learned it this way:
(100, 66) is the whole screen
(100, 79) is half of the screen
one degree is this long.

Then, what will give me 1/4, what will give me 1/8?
I basically made a table by trying every possible angle.

Is this still cheating?

Sure, I can make an amnbot out of this by measuring pixels using a program and refining my formula.
But I didn't. I am still eyeballing the distance to approxmate.

For this game, how do you define cheating and skill?
Fluorohydride Jun 10, 2018 @ 4:43pm 
this game requires no skill. its based on the time you spend into it and luck
Last edited by Fluorohydride; Jun 10, 2018 @ 4:43pm
☹ Elmo Jun 10, 2018 @ 4:50pm 
This is all great but, there is a flaw in your equation. Angle is also dependent of the size of your monitor
☹ Elmo Jun 10, 2018 @ 4:51pm 
And if you cant find an arch in the span of 20 seconds, there is something wrong with you.
Ask neuro-scientist or your PE teacher
Last edited by ☹ Elmo; Jun 10, 2018 @ 4:52pm
zbw8388 Jun 10, 2018 @ 6:19pm 
Originally posted by Burago:
This is all great but, there is a flaw in your equation. Angle is also dependent of the size of your monitor

I assume the whole map is 1. So, if your enemy is half of a map away from you, you can plug 0.5 into my formula and you'll likely get a 79.

How do you find an arc in the span of 20 seconds in the first round? Tracer?
☹ Elmo Jun 10, 2018 @ 6:32pm 
No tracer. Just a feeling. You need some time in this game, just to ""feel it"".
Just like in any other sport or game, you need a feeling for the game.
Basketball/Football/CSGO/Dota

And of course new players are going to be noob
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Jun 9, 2018 @ 10:19am
Posts: 7