Editing
CTFGameRulesProxy
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Overview == Networks TF2 game rules data to the client. '''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]''' '''Linked Entity : [https://developer.valvesoftware.com/wiki/tf_gamerules tf_gamerules]''' ==[[Classes|Class Structure]]== *'''[[CBaseEntity]]''' **'''[[CGameRulesProxy]]''' ***'''[[CTeamplayRoundBasedRulesProxy]]''' ****'''CTFGameRulesProxy''' == SendProps == {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" |+CTFGameRulesProxy ! 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 |- | colspan="3" style="padding: 0; margin: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" ! colspan="3" |tf_gamerules_data |- | style="width: 50%;" |'''m_nGameType''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_nStopWatchState''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_pszTeamGoalStringRed''' | style="width: 15%;" |String | style="width: 35%;" | |- | style="width: 50%;" |'''m_pszTeamGoalStringBlue''' | style="width: 15%;" |String | style="width: 35%;" | |- | style="width: 50%;" |'''m_flCapturePointEnableTime''' | style="width: 15%;" |Float | style="width: 35%;" | |- | style="width: 50%;" |'''m_nHudType''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_bIsInTraining''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bAllowTrainingAchievements''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bIsWaitingForTrainingContinue''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bIsTrainingHUDVisible''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bIsInItemTestingMode''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_hBonusLogic''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_bPlayingKoth''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bPlayingMedieval''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bPlayingHybrid_CTF_CP''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bPlayingSpecialDeliveryMode''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bPlayingRobotDestructionMode''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_hRedKothTimer''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_hBlueKothTimer''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMapHolidayType''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_itHandle''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_bPlayingMannVsMachine''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_hBirthdayPlayer''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_nBossHealth''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMaxBossHealth''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_fBossNormalizedTravelDistance''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_bMannVsMachineAlarmStatus''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bHaveMinPlayersToEnableReady''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bBountyModeEnabled''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_nHalloweenEffect''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_fHalloweenEffectStartTime''' | style="width: 15%;" |Float | style="width: 35%;" | |- | style="width: 50%;" |'''m_fHalloweenEffectDuration''' | style="width: 15%;" |Float | style="width: 35%;" | |- | style="width: 50%;" |'''m_halloweenScenario''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_bHelltowerPlayersInHell''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bIsUsingSpells''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bCompetitiveMode''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bPowerupMode''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMatchGroupType''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_bMatchEnded''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_pszCustomUpgradesFile''' | style="width: 15%;" |String | style="width: 35%;" | |- | style="width: 50%;" |'''m_bTruceActive''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bShowMatchSummary''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bTeamsSwitched''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bMapHasMatchSummaryStage''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bPlayersAreOnMatchSummaryStage''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bStopWatchWinner''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_nForceUpgrades''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_nForceEscortPushLogic''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_bRopesHolidayLightsAllowed''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | colspan="3" style="padding: 0; margin: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" ! colspan="3" |m_ePlayerWantsRematch |- | style="width: 50%;" |'''000''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''001''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''002''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''003''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''004''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''005''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''006''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''007''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''008''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''009''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''010''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''011''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''012''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''013''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''014''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''015''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''016''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''017''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''018''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''019''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''020''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''021''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''022''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''023''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''024''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''025''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''026''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''027''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''028''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''029''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''030''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''031''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''032''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''033''' | style="width: 15%;" |Integer | style="width: 35%;" | |} |- | style="width: 50%;" |'''m_eRematchState''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | colspan="3" style="padding: 0; margin: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" ! colspan="3" |m_nNextMapVoteOptions |- | style="width: 50%;" |'''000''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''001''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''002''' | style="width: 15%;" |Integer | style="width: 35%;" | |} |} |} == Entity DataMaps == {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; |+CTFGameRulesProxy ! 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%;" |'''InputAddBlueTeamRespawnWaveTime''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputAddBlueTeamScore''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputAddRedTeamRespawnWaveTime''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputAddRedTeamScore''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputHandleMapEvent''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputPlayVO''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputPlayVOBlue''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputPlayVORed''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetBlueKothClockActive''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetBlueTeamGoalString''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetBlueTeamRespawnWaveTime''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetBlueTeamRole''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetCTFCaptureBonusTime''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetCustomUpgradesFile''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetMapForcedTruceDuringBossFight''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetRedKothClockActive''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetRedTeamGoalString''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetRedTeamRespawnWaveTime''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetRedTeamRole''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetRequiredObserverTarget''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetRoundRespawnFreezeEnabled''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''InputSetStalemateOnTimelimit''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnMatchSummaryStart''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnPowerupImbalanceMeasuresOver''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnPowerupImbalanceTeam1''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnPowerupImbalanceTeam2''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnStateEnterBetweenRounds''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnStateEnterPreRound''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnStateEnterRoundRunning''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnStateExitPreRound''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnTruceEnd''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnTruceStart''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnWonByTeam1''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_OnWonByTeam2''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_Team1PlayersChanged''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_Team2PlayersChanged''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_bOvertimeAllowedForCTF''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nHudType''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_bRopesHolidayLightsAllowed''' | style="width: 15%;" | | style="width: 35%;" | |}
Summary:
Please note that all contributions to SigMod are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
SigMod:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information