CTrainingModeLogic: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]''' '''...") |
No edit summary |
||
Line 10: | Line 10: | ||
**'''[[CPointEntity]]''' | **'''[[CPointEntity]]''' | ||
***'''CTrainingModeLogic''' | ***'''CTrainingModeLogic''' | ||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CTrainingModeLogic | |||
! style="width: 50%; background-color: #303030; color: white" |Name | |||
! style="width: 15%; background-color: #303030; color: white" |Type | |||
! style="width: 35%; background-color: #303030; color: white" |Description | |||
|- | |||
| style="width: 50%;" |'''InputEndTraining''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputForcePlayerSpawnAsClassOutput''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputForcePlayerSwapToWeapon''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputHideTrainingHUD''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputKickAllBots''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputPlaySoundOnPlayer''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetNextMap''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputShowTrainingHUD''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputShowTrainingMsg''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputShowTrainingObjective''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputWaitForTimerOrKeypress''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nextMapName''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnBotDied''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerBuiltOutsideSuggestedArea''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerDetonateBuilding''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerDied''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsDemoman''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsEngineer''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsHeavy''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsMedic''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsPyro''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsScout''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsSniper''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsSoldier''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSpawnAsSpy''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSwappedToWeaponSlotBuilding''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSwappedToWeaponSlotMelee''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSwappedToWeaponSlotPDA''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSwappedToWeaponSlotPrimary''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_outputOnPlayerSwappedToWeaponSlotSecondary''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} |
Revision as of 00:10, 28 March 2022
Overview
...
Source location : /game/shared/tf/tf_gamerules.h
Linked Entity : tf_logic_training_mode
Class Structure
- CBaseEntity
- CPointEntity
- CTrainingModeLogic
- CPointEntity
Entity DataMaps
Name | Type | Description |
---|---|---|
InputEndTraining | ||
InputForcePlayerSpawnAsClassOutput | ||
InputForcePlayerSwapToWeapon | ||
InputHideTrainingHUD | ||
InputKickAllBots | ||
InputPlaySoundOnPlayer | ||
InputSetNextMap | ||
InputShowTrainingHUD | ||
InputShowTrainingMsg | ||
InputShowTrainingObjective | ||
InputWaitForTimerOrKeypress | ||
m_nextMapName | ||
m_outputOnBotDied | ||
m_outputOnPlayerBuiltOutsideSuggestedArea | ||
m_outputOnPlayerDetonateBuilding | ||
m_outputOnPlayerDied | ||
m_outputOnPlayerSpawnAsDemoman | ||
m_outputOnPlayerSpawnAsEngineer | ||
m_outputOnPlayerSpawnAsHeavy | ||
m_outputOnPlayerSpawnAsMedic | ||
m_outputOnPlayerSpawnAsPyro | ||
m_outputOnPlayerSpawnAsScout | ||
m_outputOnPlayerSpawnAsSniper | ||
m_outputOnPlayerSpawnAsSoldier | ||
m_outputOnPlayerSpawnAsSpy | ||
m_outputOnPlayerSwappedToWeaponSlotBuilding | ||
m_outputOnPlayerSwappedToWeaponSlotMelee | ||
m_outputOnPlayerSwappedToWeaponSlotPDA | ||
m_outputOnPlayerSwappedToWeaponSlotPrimary | ||
m_outputOnPlayerSwappedToWeaponSlotSecondary |