Entity Properties: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Merge of "Classes" page with "Entity Properties" - request of royal's with Mince's greenlight)
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
''Based on Sourcemod netprops.txt and datamaps.txt dump on: 2023 / 03 / 01''
Each entity in Source has a collection of variables associated to it that hold data about that entity. With SigMod, these variables can be accessed and manipulated to allow for greater creative freedom when designing missions.
Each entity in Source has a collection of variables associated to it that hold data about that entity. With SigMod, these variables can be accessed and manipulated to allow for greater creative freedom when designing missions.


Line 8: Line 11:




Below is a list of most C++ entity classes and their parent classes. Click on an entity class to view its entity properties.
Click [https://sigwiki.potato.tf/index.php/Useful_Code_Files here] for a list of code files that may be useful when browsing the source code.
 
 
Below is a list of most relevant C++ entity classes and their parent classes. (If the class is not tied to a game entity or no entity inherits from the class, it is generally not included.)
 
Click on an entity class to view its properties.
<hr>
<hr>
{| class="wikitable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable" style="margin: 0 auto; width: 100%; padding: 0;"
Line 18: Line 26:
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #808080; color: #111111; height: 35px;" | Players / NPCs / Objects
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Players / NPCs / Objects
|-
|-
|
|
Line 40: Line 48:
****** '''[[CBasePlayer]]''' <sub><small>(CBaseCombatCharacter)</small></sub>
****** '''[[CBasePlayer]]''' <sub><small>(CBaseCombatCharacter)</small></sub>
******* '''[[CTFPlayer]]''' <sub><small>(CBasePlayer)</small></sub>
******* '''[[CTFPlayer]]''' <sub><small>(CBasePlayer)</small></sub>
******** '''[[CTFBot]]''' <sub><small>(CTFPlayer)</small></sub>
****** '''[[CTFTauntProp]]''' <sub><small>(CBaseCombatCharacter)</small></sub>
****** '''[[CTFTauntProp]]''' <sub><small>(CBaseCombatCharacter)</small></sub>
****** '''[[NextBotCombatCharacter]]''' <sub><small>(CBaseCombatCharacter)</small></sub>
****** '''[[NextBotCombatCharacter]]''' <sub><small>(CBaseCombatCharacter)</small></sub>
Line 53: Line 62:
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #808080; color: #111111; height: 35px;" | Items (Cosmetics / Weapons)
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Items (Cosmetics / Weapons)
|-
|-
|
|
Line 164: Line 173:
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #808080; color: #111111; height: 35px;" | Projectiles
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Projectiles
|-
|-
|
|
Line 214: Line 223:
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #808080; color: #111111; height: 35px;" | Logic
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Logic
|-
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
Line 242: Line 251:
*** '''[[CMedievalLogic]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CMedievalLogic]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CMultipleEscort]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CMultipleEscort]]''' <sub><small>(CPointEntity)</small></sub>
|}
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border-bottom: 1px solid black; background-color: #AAAAAA; color: #111111; height: 35px;" | Script Logic
|-
|
* '''[[CBaseEntity]]'''
**'''[[CPointEntity]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CLogicScript]]''' <sub><small>(CPointEntity)</small></sub>
** '''[[CServerOnlyEntity]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CLogicalEntity]]''' <sub><small>(CServerOnlyEntity)</small></sub>
**** '''[[CLogicEventListener]]''' <sub><small>(CLogicalEntity)</small></sub>
***** '''[[CLogicEventListenerItemEquip]]''' <sub><small>(CLogicEventListener)</small></sub>
**** '''[[CPointTemplate]]''' <sub><small>(CLogicalEntity)</small></sub>
***** '''[[CPointScriptTemplate]]''' <sub><small>(CPointTemplate)</small></sub>
|}
|}
* '''[[CBaseEntity]]'''
* '''[[CBaseEntity]]'''
Line 268: Line 293:
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #808080; color: #111111; height: 35px;" | Filters
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Filters
|-
|-
|
|
Line 292: Line 317:
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #808080; color: #111111; height: 35px;" | Physics
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Physics
|-
|-
|
|
Line 324: Line 349:
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #808080; color: #111111; height: 35px;" | Particles / Effects
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Particles / Effects
|-
|-
|
|
Line 332: Line 357:
*** '''[[CEnvBeam]]''' <small><sub>(CBeam)</sub></small>
*** '''[[CEnvBeam]]''' <small><sub>(CBeam)</sub></small>
*** '''[[CEnvLaser]]''' <small><sub>(CBeam)</sub></small>
*** '''[[CEnvLaser]]''' <small><sub>(CBeam)</sub></small>
** '''[[CEmbers]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEnvQuadraticBeam]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEnvQuadraticBeam]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CBaseFire]]''' <small><sub>(CBaseEntity)</sub></small>
** '''[[CBaseFire]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CPlasma]]''' <sub><small>(CBaseFire)</small></sub>
*** '''[[CPlasma]]''' <sub><small>(CBaseFire)</small></sub>
*** '''[[CFireSmoke]]''' <sub><small>(CBaseFire)</small></sub>
*** '''[[CFireSmoke]]''' <sub><small>(CBaseFire)</small></sub>
** '''[[CFire]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CSniperDot]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CSniperDot]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CLaserDot]]''' <sub><small>(CSniperDot)</small></sub>
*** '''[[CLaserDot]]''' <sub><small>(CSniperDot)</small></sub>
Line 367: Line 392:
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #808080; color: #111111; height: 35px;" | Miscellaneous
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Miscellaneous
|-
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
Line 453: Line 478:


* '''[[CBaseEntity]]'''
* '''[[CBaseEntity]]'''
**'''[[CBoneFollower]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncLadder]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncLadderEndPoint]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFishPool]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CBoneFollower]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CDynamicLight]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CDynamicLight]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEntityDissolve]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEntityDissolve]]''' <sub><small>(CBaseEntity)</small></sub>
Line 527: Line 555:
** '''[[CBubbling]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CBubbling]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CDebugHistory]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CDebugHistory]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFire]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEnvFireSensor]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEnvFireSensor]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEnvFireSource]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEnvFireSource]]''' <sub><small>(CBaseEntity)</small></sub>
Line 547: Line 574:
** '''[[CAI_SpeechFilter]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CAI_SpeechFilter]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CAI_RadialLinkController]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CAI_RadialLinkController]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CAI_ScriptedSequence]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CAI_ScriptedSequence]]''' <sub><small>(CBaseEntity)</small></sub><hr>
**'''[[CPointEntity]]''' <small><sub>(CBaseEntity)</sub></small>
**'''[[CPointEntity]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CInfoOverlayAccessor]]''' <small><sub>(CPointEntity)</sub></small>
*** '''[[CInfoOverlayAccessor]]''' <small><sub>(CPointEntity)</sub></small>
Line 589: Line 616:
*** '''[[CPathTrack]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CPathTrack]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CConstraintAnchor]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CConstraintAnchor]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CNodeEnt]]''' <sub><small>(CServerOnlyPointEntity)</small></sub>
*** '''[[CInfoIntermission]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CInfoIntermission]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CInfoMassCenter]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CInfoMassCenter]]''' <sub><small>(CPointEntity)</small></sub>
Line 645: Line 671:
*** '''[[CTFBotGenerator]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CTFBotGenerator]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CBaseTFBotHintEntity]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CBaseTFBotHintEntity]]''' <sub><small>(CPointEntity)</small></sub>
**** '''[[CTFBotHintSentrygun]]''' <sub><small>(CBaseTFBotHintEntity)</small></sub>
**** '''[[CTFBotHintSentrygun]]''' <sub><small>(CBaseTFBotHintEntity)</small></sub><hr>
** '''[[CBaseAnimating]]''' <small><sub>(CBaseEntity)</sub></small>
** '''[[CBaseAnimating]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CBaseViewModel]]''' <sub><small>(CBaseAnimating)</small></sub>
*** '''[[CBaseViewModel]]''' <sub><small>(CBaseAnimating)</small></sub>
Line 682: Line 708:
*** '''[[CWindowPane]]''' <sub><small>(CBaseAnimating)</small></sub>
*** '''[[CWindowPane]]''' <sub><small>(CBaseAnimating)</small></sub>
*** '''[[CWorldItem]]''' <sub><small>(CBaseAnimating)</small></sub>
*** '''[[CWorldItem]]''' <sub><small>(CBaseAnimating)</small></sub>
** '''[[CServerOnlyEntity]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CServerOnlyEntity]]''' <sub><small>(CBaseEntity)</small></sub><hr>
*** '''[[CAI_DynamicLink]]''' <sub><small>(CServerOnlyEntity)</small></sub>
*** '''[[CAI_DynamicLink]]''' <sub><small>(CServerOnlyEntity)</small></sub>
*** '''[[CAI_DynamicLinkController]]''' <sub><small>(CServerOnlyEntity)</small></sub>
*** '''[[CAI_DynamicLinkController]]''' <sub><small>(CServerOnlyEntity)</small></sub>
Line 689: Line 715:
**** '''[[CEntitySpawnPoint]]''' <sub><small>(CServerOnlyPointEntity)</small></sub>
**** '''[[CEntitySpawnPoint]]''' <sub><small>(CServerOnlyPointEntity)</small></sub>
**** '''[[CParticleLight]]''' <sub><small>(CServerOnlyPointEntity)</small></sub>
**** '''[[CParticleLight]]''' <sub><small>(CServerOnlyPointEntity)</small></sub>
**** '''[[CNodeEnt]]''' <sub><small>(CServerOnlyPointEntity)</small></sub>
**** '''[[CSkyboxSwapper]]''' <sub><small>(CServerOnlyPointEntity)</small></sub>
*** '''[[CLogicalEntity]]''' <sub><small>(CServerOnlyEntity)</small></sub>
*** '''[[CLogicalEntity]]''' <sub><small>(CServerOnlyEntity)</small></sub>
**** '''[[CSkyCamera]]''' <sub><small>(CLogicalEntity)</small></sub>
**** '''[[CSkyCamera]]''' <sub><small>(CLogicalEntity)</small></sub>
Line 709: Line 737:
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="padding: 25px; background-color: #303030; color: white; border: 2px solid black" | Brush Entities
! colspan="1" style="padding: 25px; background-color: #303030; color: white; border: 2px solid black" | Brush Entities
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Solids
|-
|-
|
|
* '''[[CBaseEntity]]'''
* '''[[CBaseEntity]]'''
** '''[[CFunc_LOD]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncConveyor]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncForceField]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncForceField]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncLadder]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncMonitor]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncMonitor]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncReflectiveGlass]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncReflectiveGlass]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncRotating]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncRotating]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncTrackTrain]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncTrackTrain]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncWall]]''' <small><sub>(CBaseEntity)</sub></small>
** '''[[CFuncTrainControls]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncBrush]]''' <small><sub>(CBaseEntity)</sub></small>
** '''[[CFuncBrush]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CFuncRespawnRoomVisualizer]]''' <sub><small>(CFuncBrush)</small></sub>
*** '''[[CFuncRespawnRoomVisualizer]]''' <sub><small>(CFuncBrush)</small></sub>
** '''[[CFuncOccluder]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncWall]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFunc_Dust]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CFuncConveyor]]''' <sub><small>(CFuncWall)</small></sub>
*** '''[[CFunc_DustCloud]]''' <small><sub>(CFunc_Dust)</sub></small>
*** '''[[CFuncWallToggle]]''' <sub><small>(CFuncWall)</small></sub>
*** '''[[CFunc_DustMotes]]''' <small><sub>(CFunc_Dust)</sub></small>
** '''[[CFuncAreaPortalBase]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CFuncAreaPortalWindow]]''' <sub><small>(CFuncAreaPortalBase)</small></sub>
*** '''[[CAreaPortal]]''' <sub><small>(CFuncAreaPortalBase)</small></sub>
** '''[[CFuncVPhysicsClip]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncVPhysicsClip]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncIllusionary]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncLadderEndPoint]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncNavCost]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CFuncNavAvoid]]''' <sub><small>(CFuncNavCost)</small></sub>
*** '''[[CFuncNavPrefer]]''' <sub><small>(CFuncNavCost)</small></sub>
** '''[[CFuncNavObstruction]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncNavBlocker]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CTFBotHint]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncTrainControls]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncVehicleClip]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncVehicleClip]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncWall]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CFuncWallToggle]]''' <sub><small>(CFuncWall)</small></sub>
** '''[[CBreakable]]''' <small><sub>(CBaseEntity)</sub></small>
** '''[[CBreakable]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CBreakableSurface]]''' <sub><small>(CBreakable)</small></sub>
*** '''[[CBreakableSurface]]''' <sub><small>(CBreakable)</small></sub>
Line 748: Line 762:
** '''[[CPhysBox]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CPhysBox]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CPhysBoxMultiplayer]]''' <sub><small>(CPhysBox)</small></sub>
*** '''[[CPhysBoxMultiplayer]]''' <sub><small>(CPhysBox)</small></sub>
** '''[[CPrecipitation]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CSimplePhysicsBrush]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CSimplePhysicsBrush]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CRuleEntity]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CRuleBrushEntity]]''' <sub><small>(CRuleEntity)</small></sub>
**** '''[[CGamePlayerZone]]''' <sub><small>(CRuleBrushEntity)</small></sub>
** '''[[CFishPool]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CWeightButton]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CWeightButton]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEntityBlocker]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CEntityBlocker]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CTriggerBrush]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CTriggerBrush]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CTriggerPasstimeBall]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CBaseVPhysicsTrigger]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CTriggerVPhysicsMotion]]''' <sub><small>(CBaseVPhysicsTrigger)</small></sub>
*** '''[[CTriggerWind]]''' <sub><small>(CBaseVPhysicsTrigger)</small></sub>
** '''[[CBaseToggle]]''' <small><sub>(CBaseEntity)</sub></small>
** '''[[CBaseToggle]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CFuncMoveLinear]]''' <sub><small>(CBaseToggle)</small></sub>
*** '''[[CFuncMoveLinear]]''' <sub><small>(CBaseToggle)</small></sub>
Line 775: Line 780:
**** '''[[CFuncTrain]]''' <sub><small>(CBasePlatTrain)</small></sub>
**** '''[[CFuncTrain]]''' <sub><small>(CBasePlatTrain)</small></sub>
*** '''[[CGunTarget]]''' <sub><small>(CBaseToggle)</small></sub>
*** '''[[CGunTarget]]''' <sub><small>(CBaseToggle)</small></sub>
|}
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Non-Solids
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border-bottom: 1px solid black; background-color: #AAAAAA; color: #111111; height: 35px;" | Triggers
|-
|
* '''[[CBaseEntity]]'''
** '''[[CRuleEntity]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CRuleBrushEntity]]''' <sub><small>(CRuleEntity)</small></sub>
**** '''[[CGamePlayerZone]]''' <sub><small>(CRuleBrushEntity)</small></sub>
** '''[[CTriggerPasstimeBall]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CBaseVPhysicsTrigger]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CTriggerVPhysicsMotion]]''' <sub><small>(CBaseVPhysicsTrigger)</small></sub>
*** '''[[CTriggerWind]]''' <sub><small>(CBaseVPhysicsTrigger)</small></sub>
** '''[[CBaseToggle]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CBaseTrigger]]''' <small><sub>(CBaseToggle)</sub></small>
*** '''[[CBaseTrigger]]''' <small><sub>(CBaseToggle)</sub></small>
**** '''[[CTriggerAddOrRemoveTFPlayerAttributes]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CTriggerAddOrRemoveTFPlayerAttributes]]''' <sub><small>(CBaseTrigger)</small></sub>
Line 816: Line 842:
**** '''[[CFuncPasstimeGoalShim]]''' <small><sub>(CBaseTrigger)</sub></small>
**** '''[[CFuncPasstimeGoalShim]]''' <small><sub>(CBaseTrigger)</sub></small>
***** '''[[CFuncPasstimeGoal]]''' <sub><small>(CFuncPasstimeGoalShim)</small></sub>
***** '''[[CFuncPasstimeGoal]]''' <sub><small>(CFuncPasstimeGoalShim)</small></sub>
**** '''[[CFuncPasstimeGoalieZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncPasstimeNoBallZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncRespawnRoomShim]]''' <small><sub>(CBaseTrigger)</sub></small>
**** '''[[CFuncRespawnRoomShim]]''' <small><sub>(CBaseTrigger)</sub></small>
***** '''[[CFuncRespawnRoom]]''' <sub><small>(CFuncRespawnRoomShim)</small></sub>
***** '''[[CFuncRespawnRoom]]''' <sub><small>(CFuncRespawnRoomShim)</small></sub>
Line 822: Line 850:
**** '''[[CFuncFlagAlertZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncFlagAlertZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFlagDetectionZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFlagDetectionZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncNavPrerequisite]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncRespawnFlagZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncNoBuild]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncNoBuild]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncSuggestedBuild]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CNoGrenadesZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CNoGrenadesZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncPasstimeGoalieZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncPasstimeNoBallZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CRegenerateZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CRegenerateZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncRespawnFlagZone]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CFuncSuggestedBuild]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CUpgrades]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CUpgrades]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CDispenserTouchTrigger]]''' <sub><small>(CBaseTrigger)</small></sub>
**** '''[[CDispenserTouchTrigger]]''' <sub><small>(CBaseTrigger)</small></sub>
**'''[[CPointEntity]]''' <small><sub>(CBaseEntity)</sub></small>
**'''[[CPointEntity]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CTriggerVolume]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CTriggerVolume]]''' <sub><small>(CPointEntity)</small></sub>
|}
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border-bottom: 1px solid black; background-color: #AAAAAA; color: #111111; height: 35px;" | Bot Navigation
|-
|
* '''[[CBaseEntity]]'''
** '''[[CFuncNavCost]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CFuncNavAvoid]]''' <sub><small>(CFuncNavCost)</small></sub>
*** '''[[CFuncNavPrefer]]''' <sub><small>(CFuncNavCost)</small></sub>
** '''[[CFuncNavObstruction]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncNavBlocker]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CTFBotHint]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CBaseToggle]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CBaseTrigger]]''' <small><sub>(CBaseToggle)</sub></small>
**** '''[[CFuncNavPrerequisite]]''' <sub><small>(CBaseTrigger)</small></sub>
|}
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border-bottom: 1px solid black; background-color: #AAAAAA; color: #111111; height: 35px;" | Performance
|-
|
* '''[[CBaseEntity]]'''
** '''[[CFunc_LOD]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncOccluder]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFuncAreaPortalBase]]''' <small><sub>(CBaseEntity)</sub></small>
*** '''[[CFuncAreaPortalWindow]]''' <sub><small>(CFuncAreaPortalBase)</small></sub>
*** '''[[CAreaPortal]]''' <sub><small>(CFuncAreaPortalBase)</small></sub>
** '''[[CFuncIllusionary]]''' <sub><small>(CBaseEntity)</small></sub>
|}
|-
| colspan="1" style="padding: 0; margin: 0; width: 100%;" |
{| class="wikitable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; border: none;"
! colspan="1" style="border-bottom: 1px solid black; background-color: #AAAAAA; color: #111111; height: 35px;" | Particles
|-
|
* '''[[CBaseEntity]]'''
** '''[[CEmbers]]''' <sub><small>(CBaseEntity)</small></sub>
** '''[[CFunc_Dust]]''' <sub><small>(CBaseEntity)</small></sub>
*** '''[[CFunc_DustCloud]]''' <small><sub>(CFunc_Dust)</sub></small>
*** '''[[CFunc_DustMotes]]''' <small><sub>(CFunc_Dust)</sub></small>
** '''[[CPrecipitation]]''' <sub><small>(CBaseEntity)</small></sub>
|}
|}
|}
|}



Latest revision as of 13:21, 17 September 2023

Based on Sourcemod netprops.txt and datamaps.txt dump on: 2023 / 03 / 01


Each entity in Source has a collection of variables associated to it that hold data about that entity. With SigMod, these variables can be accessed and manipulated to allow for greater creative freedom when designing missions.


There are two types of entity properties:

  1. SendProps are properties designed to be networked; changes to them are relayed to clients.
  2. DataMaps are properties designed for saving/restoring entities, changes to them may or may not be relayed to clients depending on the property.


Click here for a list of code files that may be useful when browsing the source code.


Below is a list of most relevant C++ entity classes and their parent classes. (If the class is not tied to a game entity or no entity inherits from the class, it is generally not included.)

Click on an entity class to view its properties.


Point Entities
Players / NPCs / Objects
Items (Cosmetics / Weapons)
Projectiles
Logic
Gamemode Logic
Script Logic
Filters
Physics
Particles / Effects
Miscellaneous
Pickups
Props
Resources
Brush Entities
Solids
Non-Solids
Triggers
Bot Navigation
Performance
Particles
Temporary Entities