Entity Properties: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 254: Line 254:
| 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-bottom: 1px solid black; background-color: #AAAAAA; color: #111111; height: 35px;" | Gamemode Logic
! 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>
*** '''[[CLogicScript]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CLogicEventListener]]''' <sub><small>(CPointEntity)</small></sub>
*** '''[[CLogicEventListener]]''' <sub><small>(CPointEntity)</small></sub>

Revision as of 09:04, 8 March 2023

Based on Sourcemod netprops.txt and datamaps.txt dump on: 11/27/2021


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 entity 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
Temporary Entities