This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// airblast physics code | |
// TF2 version 20150924 | |
// reverse engineered by sigsegv | |
void CTFFlameThrower::DeflectPlayer(CTFPlayer *player, Vector const& vec_in) | |
{ | |
Vector vec = vec_in; | |
// not shown: some math related to scaling vec | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Resource/UI/ReviveDialog.res" | |
{ | |
"ConfirmDialog" | |
{ | |
"ControlName" "Frame" | |
"fieldName" "ConfirmDialog" | |
"xpos" "c-110" | |
"ypos" "285" | |
"wide" "220" | |
"tall" "70" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#base robot_giant.pop | |
#base robot_standard.pop | |
#base robot_gatebot.pop | |
WaveSchedule | |
{ | |
StartingCurrency 3000 | |
RespawnWaveTime 2 | |
CanBotsAttackWhileInSpawnRoom no | |
AddSentryBusterWhenDamageDealtExceeds 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#base robot_giant.pop | |
#base robot_standard.pop | |
#base robot_gatebot.pop | |
WaveSchedule | |
{ | |
StartingCurrency 3000 | |
RespawnWaveTime 2 | |
CanBotsAttackWhileInSpawnRoom no | |
AddSentryBusterWhenDamageDealtExceeds 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#base robot_giant.pop | |
#base robot_standard.pop | |
#base robot_gatebot.pop | |
WaveSchedule | |
{ | |
StartingCurrency 3000 | |
RespawnWaveTime 2 | |
CanBotsAttackWhileInSpawnRoom no | |
AddSentryBusterWhenDamageDealtExceeds 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#base robot_giant.pop | |
#base robot_standard.pop | |
WaveSchedule | |
{ | |
StartingCurrency 5000 | |
RespawnWaveTime 2 | |
CanBotsAttackWhileInSpawnRoom no | |
AddSentryBusterWhenDamageDealtExceeds 1000000 | |
AddSentryBusterWhenKillCountExceeds 10000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum | |
{ | |
TF_PROJECTILE_NONE = 0, | |
TF_PROJECTILE_BULLET = 1, // all bullet weapons | |
TF_PROJECTILE_ROCKET = 2, // rocket launcher | |
TF_PROJECTILE_PIPEBOMB = 3, // grenade launcher | |
TF_PROJECTILE_PIPEBOMB_REMOTE = 4, // sticky bomb launcher | |
TF_PROJECTILE_SYRINGE = 5, // syringe guns | |
TF_PROJECTILE_FLARE = 6, // all flare guns (flaregun's "set_weapon_mode" determines flare type) | |
TF_PROJECTILE_JAR = 7, // jarate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <err.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
#include <stdbool.h> | |
struct demo_header { | |
char header[8]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CS:GO "saved" player logic | |
// based on the 20151008 version of the CS:GO Linux dedicated server | |
// | |
// reverse engineering by sigsegv | |
// from x86 assembly to C++ with the help of a disassembler and the Source SDK | |
// (please don't sue me) | |
// terminology: | |
// "enemy" player who was just killed by savior |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#base robot_giant.pop | |
#base robot_standard.pop | |
WaveSchedule | |
{ | |
StartingCurrency 10000 | |
RespawnWaveTime 2 | |
CanBotsAttackWhileInSpawnRoom no | |
AddSentryBusterWhenDamageDealtExceeds 100000000 | |
AddSentryBusterWhenKillCountExceeds 1000000 |