This file contains 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
CTFBotGenerator / bot_generator | |
================================================================================ | |
bool m_bSuppressFire = false ; kv "suppressFire" | |
bool m_bDisableDodge = false ; kv "disableDodge" | |
bool m_bUseTeamSpawnpoint = false ; kv "useTeamSpawnPoint" | |
bool m_bRetainBuildings = false ; kv "retainBuildings" | |
int m_iOnDeathAction = 1 ; kv "actionOnDeath" | |
int m_spawnCount = 0 ; kv "count" | |
int m_maxActiveCount = 0 ; kv "maxActive" | |
float m_spawnInterval = 0.0f ; kv "interval" |
This file contains 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
L4D2: things affected by game difficulty | |
research by sigsegv: 2020-01-03 | |
Boomer::ShouldBackOff(void) | |
- easy: alters back-off behavior in some manner | |
BoomerSelfDestruct::OnStart(Boomer *,Action<Boomer> *) | |
- determines timer (4.0/2.0/1.0/1.0) | |
BoomerVomitOnVictim::OnStart(Boomer *,Action<Boomer> *) |
This file contains 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
item_meter_charge_type: 2-bit bitmask | |
bit 0 [0x1] | |
- if set: CTFPlayerShared::UpdateItemChargeMeters will passively recharge | |
- only if item has IHasGenericMeter as a base class | |
- only when item->ShouldUpdateMeter() returns true | |
- rate is based on: item_meter_charge_rate * mult_item_meter_charge_rate | |
- rate is also affected by item->GetMeterMultiplier() | |
bit 1 [0x2] | |
- if set: CTFPlayer::OnDealtDamage will recharge when dealing damage | |
- but not if: playing MvM mode and playing as pyro and weapon is in secondary slot |
This file contains 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
TEX FILE FORMAT | |
Reverse engineering by sigsegv, 20180914. | |
All values are little-endian. | |
0x00 int: TEX file version / magic number [1002 = 0x000003EA] | |
0x04 int: data resolution [x] | |
0x08 int: data resolution [y] | |
0x0C int: color format { 0 => invalid, 1 => 8BPP, 2 => RGBA } | |
0x10 int: display resolution [x] |
This file contains 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
filter_bullet1 20200000 DMG_BUCKSHOT|DMG_USEDISTANCEMOD | |
filter_bullet2 20300000 DMG_BUCKSHOT|DMG_USEDISTANCEMOD|DMG_CRITICAL | |
filter_bullet3 00200002 DMG_BULLET|DMG_USEDISTANCEMOD | |
filter_bullet4 00300002 DMG_BULLET|DMG_USEDISTANCEMOD|DMG_CRITICAL | |
filter_bullet5 02100002 DMG_BULLET|DMG_USE_HITLOCATIONS|DMG_CRITICAL | |
--------------------------------------------------------------------------------- | |
filter_blast1 00240040 DMG_BLAST|DMG_HALF_FALLOFF|DMG_USEDISTANCEMOD | |
filter_blast2 00340040 DMG_BLAST|DMG_HALF_FALLOFF|DMG_USEDISTANCEMOD|DMG_CRITICAL | |
filter_blast3 00040040 DMG_BLAST|DMG_HALF_FALLOFF | |
filter_blast4 00140040 DMG_BLAST|DMG_HALL_FALLOFF|DMG_CRITICAL |
This file contains 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
TEAM FORTRESS 2 WEAPON DAMAGE TYPES (g_aWeaponDamageTypes) | |
Current as of TF2 version 20171214a | |
Dumped by sigsegv | |
NOTE: these are NOT necessarily the actual damage bits that will be used; | |
weapon code CAN and WILL modify these flags and/or use different ones in many cases | |
(most obvious example: DMG_CRITICAL is OR'd on when crit-boosted) | |
This file contains 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
TF2 DAMAGE BITS | |
BIT MASK NAME | |
-------------------------------------------------------------------------------- | |
xx 00000000 DMG_GENERIC | |
00 00000001 DMG_CRUSH | |
01 00000002 DMG_BULLET | |
02 00000004 DMG_SLASH | |
03 00000008 DMG_BURN | |
04 00000010 DMG_VEHICLE |
This file contains 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
TF2 MVM POP FILE KEYWORDS LIST | |
by sigsegv | |
accurate as of TF2 20171214a | |
note that some valid keywords listed in this document may be vestigial and do nothing in the current game | |
Base KeyValues Format "Directives" | |
================================== | |
#include "file" | |
#base "file" |
This file contains 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
// TF2 20171020a server_srv.so | |
// reverse engineering by sigsegv | |
float CTFPlayer::GetDesiredHeadScale() | |
{ | |
float desired = 1.0f; | |
CALL_ATTRIB_HOOK_FLOAT(desired, head_scale); | |
return desired; | |
} |
This file contains 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
// Based on ServerLinux 20170616a | |
// | |
// SUMMARY: when TFBots have the BASE Jumper equipped, they will press their jump button in the following manner: | |
// | |
// If their parachute is not yet deployed, they will start holding down the jump button to deploy it if: | |
// - their health is at least 50% | |
// - AND they are not on fire | |
// - AND they are moving downward | |
// - AND they are at least 300 HU above the ground |
NewerOlder