Entity Properties: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
''Based on Sourcemod netprops.txt and datamaps.txt dump on: | ''Based on Sourcemod netprops.txt and datamaps.txt dump on: 2023 / 03 / 01'' | ||
Line 16: | Line 16: | ||
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.) | 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 | 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 26: | 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: # | ! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Players / NPCs / Objects | ||
|- | |- | ||
| | | | ||
Line 62: | 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: # | ! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Items (Cosmetics / Weapons) | ||
|- | |- | ||
| | | | ||
Line 173: | 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: # | ! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Projectiles | ||
|- | |- | ||
| | | | ||
Line 223: | 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: # | ! 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 265: | Line 265: | ||
**** '''[[CLogicEventListener]]''' <sub><small>(CLogicalEntity)</small></sub> | **** '''[[CLogicEventListener]]''' <sub><small>(CLogicalEntity)</small></sub> | ||
***** '''[[CLogicEventListenerItemEquip]]''' <sub><small>(CLogicEventListener)</small></sub> | ***** '''[[CLogicEventListenerItemEquip]]''' <sub><small>(CLogicEventListener)</small></sub> | ||
**** '''[[CPointTemplate]]''' <sub><small>(CLogicalEntity)</small></sub> | |||
***** '''[[CPointScriptTemplate]]''' <sub><small>(CPointTemplate)</small></sub> | |||
|} | |} | ||
* '''[[CBaseEntity]]''' | * '''[[CBaseEntity]]''' | ||
Line 291: | 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: # | ! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Filters | ||
|- | |- | ||
| | | | ||
Line 315: | 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: # | ! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Physics | ||
|- | |- | ||
| | | | ||
Line 347: | 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: # | ! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Particles / Effects | ||
|- | |- | ||
| | | | ||
Line 390: | 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: # | ! 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 719: | Line 721: | ||
**** '''[[CTFIntermission]]''' <sub><small>(CLogicalEntity)</small></sub> | **** '''[[CTFIntermission]]''' <sub><small>(CLogicalEntity)</small></sub> | ||
**** '''[[CPointTemplate]]''' <sub><small>(CLogicalEntity)</small></sub> | **** '''[[CPointTemplate]]''' <sub><small>(CLogicalEntity)</small></sub> | ||
**** '''[[CPathKeyFrame]]''' <sub><small>(CLogicalEntity)</small></sub> | **** '''[[CPathKeyFrame]]''' <sub><small>(CLogicalEntity)</small></sub> | ||
***** '''[[CBaseMoveBehavior]]''' <sub><small>(CPathKeyFrame)</small></sub> | ***** '''[[CBaseMoveBehavior]]''' <sub><small>(CPathKeyFrame)</small></sub> | ||
Line 739: | Line 740: | ||
| 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: # | ! colspan="1" style="border: 1px solid black; background-color: #606060; color: #111111; height: 35px;" | Solids | ||
|- | |- | ||
| | | | ||
Line 784: | Line 785: | ||
| 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: # | ! 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%;" | | | colspan="1" style="padding: 0; margin: 0; width: 100%;" | |
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:
- SendProps are properties designed to be networked; changes to them are relayed to clients.
- 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.
| ||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||
|