Entity Properties: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
# '''SendProps''' are properties designed to be networked; changes to them are relayed to clients.
# '''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.
# '''DataMaps''' are properties designed for saving/restoring entities, changes to them may or may not be relayed to clients depending on the property.
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.





Revision as of 18:38, 12 November 2022

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 C++ entity classes and their parent classes. Click on an entity class to view its entity properties.


Point Entities
Players / NPCs / Objects
Items (Cosmetics / Weapons)
Projectiles
Logic
Gamemode Logic
Filters
Physics
Particles / Effects
Miscellaneous
Pickups
Props
Resources
Brush Entities
Temporary Entities