-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the CS:GO.Tips wiki! This page is for users hoping to contribute throws, callouts, or maps to CS:GO.Tips.
There are two ways to upload a throw (A or B):
Use a game-capturing program of your choice to film the grenade throw. The video should be as short as possible, and under 15 seconds. It can also be edited after filming. Upload to gfycat, or other compatible video host.
Use gfycat's "From a URL" upload feature to select a section of a video, then upload.
Throws are represented in the following way:
{
"from": "X-Box",
"to": "CT Spawn",
"team": "T",
"speed": "still",
"height": "standing",
"throw_speed": "full throw",
"loc": [-272, 1356, -589, 1695, -229, 2113],
"webm": "http:\/\/zippy.gfycat.com\/LegitimateTartGallinule.webm",
"mp4": "http:\/\/fat.gfycat.com\/LegitimateTartGallinule.mp4",
"gif": "http:\/\/giant.gfycat.com\/LegitimateTartGallinule.gif"
}
-
from(string) - Start location of throw -
to(string) - End location of throw -
team("T","CT", or"Both") - Team the throw is useful for -
speed("still","crouch","walk","sprint", plus"backwards"if applicable) - Player's speed while throwing the grenade -
height("crouch","stand","jump") - Player's height during the throw."jump"assumes a jump-throw bind. -
throw_speed("full throw","half throw", or"toss") - The speed the grenade is thrown at (m1,m1+m2, andm2respectively)
The next bits are a bit more tricky.
-
loc(number array) - In-game coordinates of the grenade trajectory. Must have an even length since each pair represents anx,ycoordinate.
To get the loc values, go in-game to where the grenade is thrown from. Type getpos into the console. The first two numbers represent the x,y coordinates, put these in the loc array. Repeat for any significant intermediate points, and for the grenade's final position. Round coordinates to the nearest integer.
-
webm,mp4, andgif(url string) - Online url of the video.
If you used gfycat to host the video, it is a bit tricky to find the urls. Go to http://gfycat.com/cajax/get/<GFYCAT_NAME_HERE>, with the proper gfy name (ex: http://gfycat.com/cajax/get/LegitimateTartGallinule). The returned JSON document will supply mp4Url, webmUrl, and gifUrl, which correspond to the urls of the video.
In the repository, go to the corresponding maps/<mapname>.json file. Click edit, then paste the now-complete throw JSON at the end of the corresponding array (smokes, fires, or flashes) with a comma. Save, and submit a pull request.