Named and fixed tokens (#167)

This commit is contained in:
DoktorSAS 2022-07-06 20:57:42 +02:00 committed by GitHub
parent f114255468
commit 3e56c1c401

View File

@ -1455,7 +1455,7 @@ namespace scripting
{"notsolid", 0x82BB}, // SP 0x2E3230 MP 0x452FA0
{"setcandamage", 0x82BC}, // SP 0x2E2300 MP 0x453ED0
{"setcanradiusdamage", 0x82BD}, // SP 0x2E2360 MP 0x453F30
{"physicslaunchclient", 0x82BE}, // SP 0x2E23E0 MP 0x453FB0
{"physicslaunch", 0x82BE}, // SP 0x2E23E0 MP 0x453FB0
{"setcardicon", 0x82BF}, // SP 0x000000 MP 0x411100
{"setcardnameplate", 0x82C0}, // SP 0x000000 MP 0x411110
{"setcarddisplayslot", 0x82C1}, // SP 0x000000 MP 0x411120
@ -1496,7 +1496,7 @@ namespace scripting
{"setentertime", 0x82E4}, // SP 0x28E060 MP 0x409E60
{"usinggamepad", 0x82E5}, // SP 0x000000 MP 0x411680
{"_meth_82e6", 0x82E6}, // SP 0x000000 MP 0x411700
{"_meth_82e7", 0x82E7}, // SP 0x000000 MP 0x411710
{"issighted", 0x82E7}, // SP 0x000000 MP 0x411710
{"_meth_82e8", 0x82E8}, // SP 0x000000 MP 0x411730
{"_meth_82e9", 0x82E9}, // SP 0x000000 MP 0x411720
{"_meth_82ea", 0x82EA}, // SP 0x2905B0 MP 0x40BAD0
@ -2012,7 +2012,7 @@ namespace scripting
{"_meth_84fa", 0x84FA}, // SP 0x2C63F0 MP 0x44D230
{"_meth_84fb", 0x84FB}, // SP 0x2BF9D0 MP 0x447EB0
{"_meth_84fc", 0x84FC}, // SP 0x2C5650 MP 0x447220
{"_meth_84fd", 0x84FD}, // SP 0x000000 MP 0x4109F0
{"_meth_84fd", 0x84FD}, // SP 0x000000 MP 0x4109F0 - Could be setMLGCamVisibility or SetMLGSpectator
{"_meth_84fe", 0x84FE}, // SP 0x000000 MP 0x0B90C0
{"_meth_84ff", 0x84FF}, // SP 0x000000 MP 0x0B9280
{"_meth_8500", 0x8500}, // SP 0x2C17E0 MP 0x443F90
@ -2721,7 +2721,7 @@ namespace scripting
{"kills", 0x236},
{"killstreak", 0x237},
{"killstreakcount", 0x238},
{"killstreakrestricted", 0x239},
{"killstreakrestricted", 0x239},
{"killstreakunlocked", 0x23A},
{"knife_off", 0x23B},
{"knife_on", 0x23C},
@ -3140,9 +3140,9 @@ namespace scripting
{"spawntime", 0x3D9},
{"specialgrenade", 0x3DA},
{"spectatekillcam", 0x3DB},
{"spectating_cycle", 0x3DC},
{"spectating_cycle", 0x3DC}, // Could be spawnTime, need further investigation
{"spectator", 0x3DD},
{"speechcommand", 0x3DE},
{"speechcommand", 0x3DE}, // Could be spectatekillcam, need further investigation
{"speed", 0x3DF},
{"splatter", 0x3E0},
{"splineplanereachednode", 0x3E1},
@ -3496,7 +3496,12 @@ namespace scripting
{"_effect", 0x58f},
{"ac130", 0x6ce},
{"ac130player", 0x6d1},
{"atBrinkOfDeath", 0xD82},
{"agent_funcs", 0x897},
{"agent_gameParticipant", 0x898},
{"agent_teamParticipant", 0x89f},
{"agent_type", 0x8a0},
{"allowvote", 0xab4},
{"atBrinkOfDeath", 0xd82},
{"blockWeaponDrops", 0x14B5},
{"QuickMessageToAll", 0x70a2},
{"SetupCallbacks", 0x8301},
@ -3508,50 +3513,76 @@ namespace scripting
{"addStartSpawnPoints", 0x831},
{"addToCharactersArray", 0x848},
{"addToTeam", 0x851},
{"agentArray", 0x8a1},
{"airstrikeInProgress", 0x99c},
{"allowUse", 0xab2},
{"attackers", 0xe34},
{"anim_prop_models", 0xbec},
{"applyLoadout", 0xcae}, // has applyLoadout notify like IW6's giveLoadout does at the end + similar logic
{"artilleryDangerCenter", 0xd33},
{"audio", 0x10f0},
{"avoidKillstreakOnSpawnTimer", 0x11fc},
{"baseFontScale", 0x1309},
{"bcSounds", 0x1358},
{"beingRevived", 0x13ab},
{"bombSquadIds", 0x154d},
{"bombSquadIcons", 0x154c},
{"bot_funcs", 0x161b},
{"breathingStopTime", 0x17e6},
{"brinkOfDeathKillStreak", 0x1818},
{"greatestUniquePlayerKills", 0x18b1},
{"c4explodethisframe", 0x1974},
{"Callback_PlayerDamage", 0x19f5},
{"callbackPlayerDamage", 0x19fe},
{"canDoCombat", 0x1ac6},
{"canPerformClientTraces", 0x1ad6},
{"carryFlag", 0x1bb4},
{"challengeInfo", 0x1c62},
{"changingWeapon", 0x1c87},
{"characters", 0x1c8e},
{"checkDynamicSpawns", 0x1cfa},
{"chopper", 0x1d48},
{"class", 0x1e2e},
{"classTweaks", 0x1e40},
{"claymoreDetectionDot", 0x1e44},
{"claymoreDetectionGracePeriod", 0x1e45},
{"claymoreDetectionMinDist", 0x1e46},
{"claymoreDetonateRadius", 0x1e47},
{"clearOnVictimDisconnect", 0x1ef9},
{"clientid", 0x1f0f},
{"clientMatchDataId", 0x1f10},
{"clientTweakables", 0x1f12},
{"clientid", 0x1f0f},
{"combatHigh", 0x20ab},
{"concussionEndTime", 0x20df},
{"conf_fx", 0x20e9},
{"connectTime", 0x214f},
{"console", 0x2153},
{"createUseObject", 0x244c},
{"curOrigin", 0x24c8},
{"curProgress", 0x24C9},
{"currentWeaponAtSpawn", 0x252e},
{"damagedPlayers", 0x259a},
{"defaultvalue", 0x27a1},
{"delayMineTime", 0x27e9},
{"deleteObjPoint", 0x2859},
{"detectedExploit", 0x2991},
{"detectExplosives", 0x2992},
{"detectId", 0x2994},
{"disabled", 0x2afd},
{"disabledOffhandWeapons", 0x2b05},
{"disabledUsability", 0x2b0a},
{"disabledWeapon", 0x2b0b},
{"disabledWeaponSwitch", 0x2b0c},
{"disableSpawning", 0x2b28},
{"dogtags", 0x2cdf},
{"drawfriend", 0x2dd7},
{"doingFinalKillcamFx", 0x2ce6},
{"doingSplash", 0x2ce9},
{"dont_delete_grenades_on_next_spawn",0x2d1e},
{"droppedDeathWeapon",0x2f74},
{"empEndTime", 0x3082},
{"entityHeadIcons", 0x331a},
{"entity_number", 0x3314},
{"finalKill", 0x373e},
{"findBoxCenter", 0x3779},
{"flashDuration", 0x38ae},
@ -3561,8 +3592,10 @@ namespace scripting
{"friendlydamage", 0x3a97},
{"freeplayers", 0x3a2a},
{"fx", 0x3b23},
{"gameEndTime", 0x3bdc},
{"gameended", 0x3bda},
{"gamemodeModifyPlayerDamage", 0x3bf6},
{"gameTweaks", 0x3c02},
{"getNextObjID", 0x4041},
{"getOtherTeam", 0x4067},
{"getSpawnPoint", 0x40d2},
@ -3574,12 +3607,17 @@ namespace scripting
{"guid", 0x4450},
{"gunner", 0x4473},
{"hardcoreMode", 0x46ca},
{"healthRegenerationStreak", 0x4791},
{"hardpointTweaks", 0x46ce},
{"hasDied", 0x4726},
{"headModel", 0x477d},
{"healthOverlayCutoff", 0x478d},
{"healthRegenDisabled", 0x478e},
{"healthRegenerationStreak", 0x4791},
{"hits", 0x4926},
{"hitsThisMag", 0x4929},
{"hostname", 0x4a3e},
{"hud", 0x4ab3},
{"hudTweaks", 0x4aff},
{"iDFlags", 0x4b56},
{"iDFLAGS_NO_KNOCKBACK", 0x4b58},
{"iDFLAGS_SHIELD_EXPLOSIVE_SPLASH ", 0x4b60 },
@ -3594,26 +3632,40 @@ namespace scripting
{"init_animatedmodels", 0x4c77},
{"initSpawns", 0x4e26},
{"inPlayerSmokeScreen", 0x4e42},
{"inlaststand ", 0x4e3c},
{"inlaststand", 0x4e3c},
{"initializeMatchRules", 0x4de0},
{"initializeTagPathVariables", 0x4de3},
{"isActive", 0x50a6},
{"isAgent", 0x50ab},
{"iscooked", 0x50e8},
{"isHorde", 0x511d},
{"isKillstreakWeapon", 0x513d},
{"isRocketCorpse", 0x5193},
{"isSniper", 0x51ab},
{"istactical", 0x51c7},
{"isTeamSpeaking", 0x51d0},
{"joining_team", 0x528c},
{"kill_streak", 0x533c},
{"killcam", 0x534b},
{"killcamlength", 0x534f},
{"killedPlayers", 0x5363},// could be killedPlayersCurrent, need testing with real players
{"killstreakRoundDelay", 0x53a2},
{"killstreakSpawnShield", 0x53a8},
{"largeProjectileDamage", 0x54c0},
{"lastClass", 0x5589},
{"lastDamageWasFromEnemy", 0x5591},
{"lastDeathIcon", 0x5592},
{"lastDroppableWeapon", 0x5598},
{"lastFlashedTime", 0x55a1},
{"lastConcussedTime", 0x558b},
{"lastKillDogTime", 0x558d},
{"lastGrenadeSuicideTime", 0x55a5},
{"lastHitTime", 0x55ab},
{"lastKilledBy",0x55b1},
{"lastKillTime", 0x55b6},
{"lastPrimaryWeaponSwapTime", 0x55cd},
{"lastShotFiredTime", 0x55d9},
{"lastStatusTime", 0x55fc},
{"lastWave", 0x560e},
{"leaving_team", 0x566d},
{"lowerTextFontSize", 0x58a8},
@ -3633,16 +3685,29 @@ namespace scripting
{"MaxNumAwardsPerPlayer", 0x5a41},
{"MaxLogClients", 0x5a42},
{"MaxNumChallengesPerPlayer", 0x5a45},
{"modifyPlayerDamage", 0x5d51},
{"missionCallbacks", 0x5cdc },
{"maxPerPlayerExplosives", 0x5a4a},
{"mineDamageHalfHeight", 0x5c51},
{"mineDamageMax", 0x5c53},
{"mineDamageMin", 0x5c54},
{"mineDamageRadius", 0x5c56},
{"mineDetectionGracePeriod", 0x5c58},
{"mineDetectionHeight", 0x5c59},
{"mineDetectionRadius", 0x5c5a},
{"mineSelfDestructTime", 0x5c5f},
{"missionCallbacks", 0x5cdc},
{"modifyPlayerDamage", 0x5d51},
{"moveSpeedScaler", 0x5f7b},
{"mp_createfx", 0x5fac},
{"multiTeamBased", 0x5fec},
{"objectivePointsMod", 0x6301},
{"objectiveScaler", 0x6303},
{"objId", 0x6304},
{"teamObjIds", 0x6305},
{"oldheadicon", 0x63d4},
{"oldheadiconteam", 0x63d5},
{"OMAClassChanged", 0x6436},
{"onForfeit", 0x64af},
{"onlineGame", 0x64b8},
{"onNormalDeath", 0x64bf},
{"onPlayerConnectAudioInit", 0x64c9},
{"onPlayerScore", 0x64d5},
@ -3653,8 +3718,10 @@ namespace scripting
{"tookWeaponFrom", 0x680b},
{"placement", 0x6861},
{"planeModel", 0x687c},
{"playedStartingMusic", 0x6a41},
{"player_speed", 0x6c19},
{"playerHealth_RegularRegenDelay", 0x6cc3},
{"playerTweaks", 0x6d74},
{"bonusUpdateTotal",0x6e8a},
{"primaryProgressBarFontSize", 0x6f85},
{"primaryProgressBarHeight", 0x6f86},
@ -3663,7 +3730,10 @@ namespace scripting
{"primaryProgressBarWidth", 0x6f89},
{"primaryProgressBarX", 0x6f8a},
{"primaryProgressBarY", 0x6f8b},
{"qaFinished", 0x7073},
{"rankedMatch", 0x7137},
{"rankTable", 0x713a},
{"recentKillCount", 0x7260},
{"recoilScale", 0x7268},
{"regenSpeed", 0x72d4},
{"registerHalfTimeDvar", 0x72ef},
@ -3677,11 +3747,23 @@ namespace scripting
{"removeFromCharactersArray", 0x73a7},
{"requiredMapAspectRatio", 0x740c},
{"reverb_settings", 0x74f1},
{"riotShieldXPBullets", 0x7446},
{"riotShieldXPBullets", 0x7556},
{"rules", 0x7674},
{"scavenger_altmode", 0x785b},
{"scorePercentageCutOff", 0x782},
{"scavenger_secondary", 0x785c},
{"script_accumulate", 0x792B},
{"script_destructable_area", 0x799b},
{"script_fxcommand", 0x79f0},
{"script_fxid", 0x79f1},
{"script_threshold", 0x7af4},
{"script_gametype_atdm", 0x79f5},
{"script_gametype_ctf", 0x79f6},
{"script_gametype_dm", 0x79f7},
{"script_gametype_hq", 0x79f8 },
{"script_gametype_koth", 0x79f8},
{"script_gametype_sd", 0x79fa},
{"script_gametype_tdm", 0x79fb},
{"script_threshold", 0x7af4 },
{"setClass", 0x7f3b},
{"setCommonRulesFromMatchRulesData", 0x7f3f},
{"setObjectiveHintText", 0x7fc3},
@ -3691,21 +3773,28 @@ namespace scripting
{"setupMiniMap", 0x8324},
{"shieldBulletHits", 0x84c5},
{"shieldDamage", 0x84c6},
{"showingFinalKillcam", 0x8516},
{"showToTeam", 0x8535},
{"softLanding", 0x885f},
{"softLandingTriggers", 0x8860},
{"spamdelay", 0x88b9},
{"spawnDogTags", 0x899e},
{"spawnMaxs", 0x89f3},
{"spawnMins", 0x89f6},
{"splitscreen", 0x8a7c},
{"spawnPoints", 0x8a01},
{"speakers", 0x8a19},
{"spectateOverride", 0x8a4a},
{"splashQueue", 0x8a6b},
{"splitscreen", 0x8a7c},
{"stingerLockStartTime", 0x8e48},
{"stingerLostSightlineTime", 0x8e49},
{"stingerStage", 0x8e59},
{"stingerTarget", 0x8e5a},
{"stingerStage", 0x8e59},
{"stingerTarget", 0x8e5a },
{"stingerUseEntered", 0x8e5c},
{"stunScaler", 0x8f77},
{"spawnMaxs", 0x89f3},
{"spawnMins", 0x89f6},
{"stuckEnemyEntity", 0x8f6c},
{"suicides", 0x8faf},
{"switching_teams", 0x907e},
@ -3720,21 +3809,33 @@ namespace scripting
{"teamProgressBarTextY", 0x91fd},
{"teamProgressBarWidth", 0x91fe},
{"teamProgressBarY", 0x91ff},
{"teamSpawnPoints", 0x9201},
{"teamTweaks", 0x9205},
{"throwingGrenade", 0x933e},
{"timePlayed", 0x9372},
{"teamSpawnPoints", 0x9201},
{"trackingWeaponName", 0x94fb},
{"trigUnderWater", 0x9822},
{"tweakablesInitialized", 0x99e0},
{"updatedDMScores", 0x9b0f},
{"useRate", 0x9c10},
{"useStartSpawns", 0x9c14},
{"usingRemote", 0x9c34},
{"v", 0x9c42},
{"visuals", 0x9e9c },
{"teamNameList", 0x91f7},
{"voice_count", 0x9d33},
{"waitingToDeactivate", 0xa04b},
{"whizby_settings", 0xa315},
{"wasAliveAtMatchStart", 0xa1be },
{"wasChained", 0xa1c0},
{"wasDamaged", 0xa1c3},
{"wasDamagedFromBulletPenetration", 0xa1c5},
{"wasTI", 0xa1d2},
{"wasWinning", 0xa1d4},
{"waterDeleteZ", 0xa297},
{"waveDelay", 0xa2ab},
{"weaponAttachments", 0xa2d3},
{"weaponList", 0xa2dd},
{"weaponTweaks", 0xa2f2},
{"scoreInfo", 0xa3a5},
{"xpUpdateTotal", 0xa3ab},
// additional findings from gametype/map scripts - mikey (6/26/2022)
@ -3742,43 +3843,68 @@ namespace scripting
{"common_scripts/_pipes", 0xa4f9 },
{"common_scripts/utility", 0xa4fa },
{"maps/mp/_animatedmodels", 0xa72b},
{"maps/mo/_areas", 0xa72c},
{"maps/mp/_areas", 0xa72c},
{"maps/mp/_art", 0xa72d},
{"maps/mp/_audio", 0xa72e},
{"maps/mp/_awards", 0xa72f},
{"maps/mp/_compass", 0xa731},
{"masp/mp/_createfx", 0xa732},
{"maps/mp/_crib", 0xa733}, // sp files, missing on mikey dump
{"maps/mp/_destructables", 0xa734},
{"maps/mp/_entityheadicons", 0xa737},
{"maps/mp/_events", 0xa738},
{"maps/mp/_matchdata", 0xa74e},
{"maps/mp/_flashgranades", 0xa747},
{"maps/mp/_fx", 0xa748 },
{"maps/mp/_global_fx", 0xa749},
{"maps/mp/_global_fx_code", 0xa74a},
{"maps/mp/_load", 0xa74c},
{"maps/mp/_sun", 0xa752}, // Need further testing
{"maps/mp/_scope", 0xa755},
{"maps/mp/_scoreboard", 0xa758},
{"maps/mp/_stringer", 0xa75b},
{"maps/mp/_shutter", 0xa759},
//{"maps/mp/_snd", 0xa75a},
{"maps/mp/_stinger", 0xa75b},
{"maps/mp/_utility", 0xa764},
{"maps/mp/_zipline", 0xa76a},
{"maps/mp/gametypes/_battlechatter_mp", 0xa78a},
{"maps/mp/gametypes/_class", 0xa78b},
{"maps/mp/gametypes/_damage", 0xa78d},
{"maps/mp/gametypes/_damagefeedback", 0xa78e},
{"maps/mp/gametypes/_deathicons", 0xa78f},
{"maps/mp/gametypes/_friendicons", 0xa792},
{"maps/mp/gametypes/_gamelogic", 0xa793},
{"maps/mp/gametypes/_gameobjects", 0xa794},
{"maps/mp/gametypes/_gamescore", 0xa794},
{"maps/mp/gametypes/_globallogic", 0xa797},
{"maps/mp/gametypes/_hardpoints", 0xa798},
{"maps/mp/gametypes/_healthoverlay", 0xa799},
{"maps/mp/gametypes/_hostmigration", 0xa7a4},
{"maps/mp/gametypes/_hud", 0xa7a5 },
{"maps/mp/gametypes/_hud_message", 0xa7a6},
{"maps/mp/gametypes/_hud_util", 0xa7a7 },
{"maps/mp/gametypes/_killcam", 0xa7a8},
{"maps/mp/gametypes/_menus", 0xa7a9},
{"maos/mp/gametypes/_missions", 0xa7aa},
{"maps/mp/gametypes/_objpoints", 0xa7ac},
{"maps/mp/gametypes/_music_and_dialog", 0xa7ab},
{"maps/mp/gametypes/_presistence", 0xa7ae},
{"maps/mp/gametypes/_playerlogic", 0xa7b1},
{"maps/mp/gametypes/_portable_radar", 0xa7b2},
{"maps/mp/gametypes/_quickmessages", 0xa7b3},
{"maps/mp/gametypes/_rank", 0xa7b4},
{"maps/mp/gametypes/_portableaoegenerator", 0xa7b5},
{"maps/mp/gametypes/_serversettings", 0xa7b6},
{"maps/mp/gametypes/_shellshock", 0xa7b7},
//{"maps/mp/gametypes/_outlines", 0xa7b8},
{"maps/mp/gametypes/_spawnlogic", 0xa7b9},
{"maps/mp/gametypes/_spawnscoring", 0xa7ba},
{"maps/mp/gametypes/_spectating", 0xa7bb},
{"maps/mp/gametypes/_tweakables", 0xa7bd},
{"maps/mp/gametypes/_teams", 0xa7bc},
{"maps/mp/gametypes/_perks", 0xa7e4},
{"maps/mp/gametypes/_perkfunctions", 0xa7e5}
{"maps/mp/gametypes/_weapons", 0xa7be},
{"maps/mp/gametypes/_perkfunctions", 0xa7e5},
{"maps/mp/gametypes/_perks", 0xa7e6}
};
}