An open API service indexing awesome lists of open source software.

https://github.com/nibalizer/csgo_documentation

Documentation for Counter Strike: Global Offensive
https://github.com/nibalizer/csgo_documentation

counterstrike csgo docs

Last synced: 5 months ago
JSON representation

Documentation for Counter Strike: Global Offensive

Awesome Lists containing this project

README

          

CSGO Docs
=========

Counter-Strike Global Offensive has many extensibility and integration features. Unfortunately these aren't documented in any one place, and the documentation that does exist leaves out details around getting them set up. This document is one (more) place with documentation on various elements. The intended audience is developers working with csgo.

console
-------

CSGO has a 'developer console' that can be used to query the game or configure the ui. It can be enabled in game settings, then usually the '`' key will bring it up.

autoexec
--------

An autoexec.cfg file is a list of console commands that will be run whenever csgo starts. Common uses for this are configuring the reticule (crosshairs), configuring minimap (radar), configuring the client to show fps/network information, and setting aliases. "Jumpthrow" and other aliases are configured via this. (jumpthrow has since been banned in competitive play)

Autoexec path: "/C/Program Files (x86)/Steam/userdata/
#move somehwere
spec_pos

# the actual campath
spec_goto ; spec_lerpto 15 15
# or bind it
bind [ "spec_goto ; spec_lerpto 15 15"
```

[Observing Resources](https://www.reddit.com/r/GlobalOffensive/comments/54abps/my_guide_for_solo_casting_csgo/)

voting
------

With the panorama ui, they limited the votes you can call. However you can still call them via the console.

```
callvote Kick
callvote RestartGame
callvote NextLevel
callvote ChangeLevel
callvote StartTimeOut
callvote ScrambleTeams
callvote SwapTeams
```

playback through voice chat
---------------------------

You can play any audio (e.g. music) through the voice chat in-game.

The main entry point is the `voice_inputfromfile` command.

```
voice_inputfromfile

Default: 0
Get voice input from 'voice_input.wav' rather than from the microphone.
```

Useful for autoexec:

```
alias slam_play_on "voice_inputfromfile 1; voice_loopback 1; +voicerecord";
alias slam_play_off "-voicerecord; voice_inputfromfile 0; voice_loopback 0";
```

For the sound files: encode at 96k, 22050hz sample rate

See: https://github.com/SilentSys/SLAM

Put the file in the same directory as csgo.exe (Program Files (x86) -> Steam -> steamapps -> common -> Counter Strike Global Offensive)

smoke practice
--------------

When one wants to step up to the big leagues, they need to learn how to do
certain smokes. To practice smokes, enable your developer console, start
a `Practice With Bots` match, then pop your console and enter the following
string of commands:

```shell
sv_cheats 1; bot_kick; mp_warmup_end; mp_freezetime 0; mp_roundtime_defuse 60; sv_grenade_trajectory 1; sv_grenade_trajectory_time 10; sv_showimpacts 1; ammo_grenade_limit_total 5; sv_infinite_ammo 1;

mp_buy_anywhere 1; mp_maxmoney 50000; mp_startmoney 50000; mp_buytime 9999; mp_restartgame 1;
```