From 0c8fcf2f01d57e72f9f0328dc0a09f2f00835e9a Mon Sep 17 00:00:00 2001 From: Blixibon Date: Mon, 16 Sep 2019 10:18:38 -0500 Subject: [PATCH] Updated Base Entity (markdown) --- Base-Entity.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Base-Entity.md b/Base-Entity.md index 2cfb5a9..f611434 100644 --- a/Base-Entity.md +++ b/Base-Entity.md @@ -1,4 +1,4 @@ -This page lists all changes to `CBaseEntity`, the class that every single entity in the Source engine derives from. This means every entity in Hammer technically possesses these changes, but whether they actually show up depend on how relevant the changes are to a certain entity. (e.g. "Draw/UndrawEntity" is irrelevant on logic entities) +This page lists changes to `CBaseEntity`, which every single entity in the Source engine derives from. This means every entity in Hammer technically possesses these changes, but whether they actually show up depend on how relevant the changes are to a certain entity. (e.g. "Enable/DisableDraw" is irrelevant on logic entities) Some I/O were ported from other games or were already possible through other, more complicated means (e.g. keyvalues changed with AddOutput). @@ -36,10 +36,11 @@ New User I/O that could pass parameters: * **RemoveSpawnFlags** `` - Removes spawnflag(s) from this entity. Many spawnflags have their respective numbers suffixed in Mapbase's FGD. * **SetRenderMode** `` - Sets this entity's render mode. * **SetRenderFX** `` - Sets this entity's render FX. +* **SetViewHideFlags** `` - Sets view ID hide flags. See [Drawing entities in specific view IDs](Drawing-entities-in-specific-view-IDs) for more information. * **AddEffects** `` - Adds to this entity's effects flags. * **RemoveEffects** `` - Removes from this entity's effects flags. -* **DrawEntity** `` - Draws this entity if it was undrawn before. Equivalent to `RemoveEffects > 32`. -* **UndrawEntity** `` - Undraws this entity if it was drawn before. Equivalent to `AddEffects > 32`. +* **EnableDraw** `` - Draws this entity if it was undrawn before. Equivalent to `RemoveEffects > 32`. This was originally named `DrawEntity`, but it was changed to `EnableDraw` for the input in Portal 2. +* **DisableDraw** `` - Undraws this entity if it was drawn before. Equivalent to `AddEffects > 32`. This was originally named `UndrawEntity`, but it was changed to `DisableDraw` for the input in Portal 2. * **AddEFlags** `` - Adds to this entity's EFlags. * **RemoveEFlags** `` - Removes from this entity's EFlags. * **SetMoveType** `` - Sets this entity's movetype. @@ -66,4 +67,6 @@ New User I/O that could pass parameters: ### KeyValues --- -No new keyvalues have actually been added to CBaseEntity, although the owner entity can now be accessed with the **OwnerEntity** keyvalue and m_fFlags can now be accessed with the aptly named **m_fFlags** keyvalue, but neither are actually used in any base FGD classes to avoid clutter. +* **View ID nodraw** `` - Controls whether an entity shouldn't be drawn in specific parts of the view rendering process. See [Drawing entities in specific view IDs](Drawing-entities-in-specific-view-IDs) for more information. +--- +The owner entity can now be accessed with the **OwnerEntity** keyvalue and m_fFlags can now be accessed with the aptly named **m_fFlags** keyvalue, but neither are actually used in any base FGD classes to avoid clutter. \ No newline at end of file