Skip to content

Instantly share code, notes, and snippets.

View sigsegv-mvm's full-sized avatar

sigsegv sigsegv-mvm

View GitHub Profile
@sigsegv-mvm
sigsegv-mvm / use_large_smoke_explosion.md
Last active March 9, 2017 16:01
Attribute "use large smoke explosion"

When a Sentry Buster explodes: CTFBotMissionSuicideBomber::Detonate

DispatchParticleEffect("explosionTrail_seeds_mvm")
DispatchParticleEffect("fluidSmokeExpl_ring_mvm")

When a MvM Tank explodes: CTFTankDestruction::Spawn

DispatchParticleEffect("explosionTrail_seeds_mvm")
DispatchParticleEffect("fluidSmokeExpl_ring_mvm")
@sigsegv-mvm
sigsegv-mvm / etfcond-20160707a.txt
Created July 9, 2016 04:55
Enum ETFCond as of Meet Your Match
enum ETFCond
{
TF_COND_ZOOMED = 0,
TF_COND_DISGUISING,
TF_COND_DISGUISED,
TF_COND_STEALTHED,
TF_COND_INVULNERABLE,
TF_COND_TELEPORTED,
TF_COND_TAUNTING,
TF_COND_INVULNERABLE_WEARINGOFF,
@sigsegv-mvm
sigsegv-mvm / items_game_20160707a_mvm_maps.txt
Last active July 8, 2016 23:45
Item schema excerpt from 20160707a: "mvm_maps" section (Ctrl+F for "mannup_points")
"mvm_maps"
{
"mvm_ghost_town"
{
"display_name" "#TF_MVM_Map_Ghost_Town"
"missions"
{
"mvm_ghost_town"
{
@sigsegv-mvm
sigsegv-mvm / set_weapon_mode.txt
Last active August 17, 2025 19:20
Documentation for attribute class "set_weapon_mode"
"set_weapon_mode" attribute documentation
accurate as of TF2 version ~20160327 (updated for ~20190501)
reverse engineering by sigsegv
General Notes
=============
There are many attributes in the game that map to attribute class "set_weapon_mode", with many different names:
- "fists have radial buff"
- "set cloak is feign death"
@sigsegv-mvm
sigsegv-mvm / comp-convars-20160320.txt
Last active January 11, 2021 07:02
TF2 competitive convars as of 20160320
ConVars affected by competitive mode
Current as of 20160320 (subject to change, obviously)
Reverse engineering by sigsegv
See the end of this doc for technical info on how the game determines which convars to limit/default in competitive mode.
CONSOLE VARIABLES THAT HAVE COMPETITIVE-SPECIFIC MINIMUMS OR MAXIMUMS:
ConVar "host_competitive_ever_enabled" has a competitive minimum: 1.000000
@sigsegv-mvm
sigsegv-mvm / mvm_item_schema.cpp
Created February 10, 2016 01:43
MvM item schema code excerpts (as of 20160202a)
enum EMvMChallengeDifficulty
{
MVM_D_NORMAL = 1,
MVM_D_INTERMEDIATE = 2,
MVM_D_ADVANCED = 3,
MVM_D_EXPERT = 4,
MVM_D_HAUNTED = 5,
MVM_D_INVALID = -1,
};
@sigsegv-mvm
sigsegv-mvm / popfile kv doc.txt
Created January 11, 2016 22:24
MvM Population KeyValues documentation
MvM Population KeyValues
Documentation by sigsegv
Based on TF2 version 20160107a
Legend
- subtree: additional recursive level of KeyValues
- int: integer value
- float: floating-point value
- bool: boolean value (0 or 1)
@sigsegv-mvm
sigsegv-mvm / uber_duration_bug.pop
Created December 8, 2015 08:03
Demonstration popfile for the medic ubercharge duration bug introduced in the 20151028 update
WaveSchedule
{
StartingCurrency 30000
RespawnWaveTime 2
CanBotsAttackWhileInSpawnRoom no
Wave
{
StartWaveOutput
{
@sigsegv-mvm
sigsegv-mvm / mvmvictorymannuppanel.res.patch
Created November 24, 2015 01:03
Workaround for MvMVictoryMannUpPanel TabContainer HUD alignment problem
--- mvmvictorymannuppanel.res 2015-11-23 16:32:51.039519518 -0800
+++ mvmvictorymannuppanel_workaround.res 2015-11-23 16:32:09.256337020 -0800
@@ -140,21 +140,21 @@
"TabContainer"
{
"ControlName" "EditablePanel"
"fieldName" "TabContainer"
"xpos" "c-118"
"ypos" "55"
"zpos" "100"
@sigsegv-mvm
sigsegv-mvm / 20151111-mvm-gib-glitch.txt
Created November 13, 2015 20:48
Bug report: MvM gib glitch
Major bug fix for MvM mode: broken gibbing and disembodied spectator cosmetics
Hi,
There's been a very annoying gibbing-related glitch in Mann Vs Machine mode for over a year now. I've tracked down the cause and I know how you can fix it.
==== Symptoms ====
1. In MvM mode, gib deaths (i.e. from crit rockets, "explode" console command, etc.) don't result in human players gibbing, but instead always result in ragdolls spawning.
2. Gib deaths also result in dead player models floating above the spot where they died for a few seconds after their death.