From 47cc89fc868b22e58b786fdee954dc6c032b68ef Mon Sep 17 00:00:00 2001 From: Blixibon Date: Fri, 17 May 2019 10:09:23 -0500 Subject: [PATCH 1/2] Some more info --- Base-Entity.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Base-Entity.md b/Base-Entity.md index 63228c0..45f3fa2 100644 --- a/Base-Entity.md +++ b/Base-Entity.md @@ -1,4 +1,6 @@ -Mapbase makes several changes to the base entity class that every single entity in the Source engine derives from. This means every entity in the FGD possesses these changes. +This page lists all changes to `CBaseEntity`, the class that every single entity in the Source engine derives from. This means the all entities in Hammer technically possess these changes (except for internal entities removed on compile), although whether they actually show up depend on how relevant they are. (e.g. "Draw/UndrawEntity" is irrelevant on logic entities) + +Some I/O were ported from other games or were already possible through other, more complicated means (e.g. AddOutput). ### Inputs --- @@ -10,6 +12,22 @@ New User I/O that could pass parameters: * **FireRandomUser** `` - Fires OnUser1, OnUser2, OnUser3, or OnUser4 with a 25% chance of each. * **PassRandomUser** `` - Fires OutUser1, OutUser2, OutUser3, or OutUser4 with a 25% chance of each, passing any parameter. +--- +* **FireOutput** `` - Fires the named output on this entity. Format: `::::` (OnDeath:hl3cardgame:gaben). Everything beyond the output name is optional. +* **RemoveOutput** `` - Removes all instances of the named output on this entity. Wildcards are supported, meaning you could just pass '*' to wipe all outputs from this entity. +* **AcceptInput** `` - Fires the named input on this entity. Format: `::::` (SetTarget:cheese). Everything beyond the input name is optional. Mind the fact this is arranged differently from FireOutput, having the parameter right after the input name. +* **CancelPending** `` - Cancels any events fired by this entity that are currently pending in the I/O event queue. This input originated from logic_relay, but it's been promoted to a base input so anyone could cancel their outputs. +--- +* **FreeChildren** `` - Unparents all entities parented to this entity in a movement hierarchy. +--- +* **SetLocalOrigin** `` - Sets this entity's origin in the map. +* **SetLocalAngles** `` - Set this entity's angles. +* **SetLocalVelocity** `` - Sets this entity's current velocity. +* **SetLocalAngularVelocity** `` - Sets this entity's current angular velocity. +--- +* **AddSpawnFlags** `` - Adds spawnflag(s) to this entity. Many spawnflags have their respective numbers suffixed in Mapbase's FGD. +* **RemoveSpawnFlags** `` - Removes spawnflag(s) to this entity. Many spawnflags have their respective numbers suffixed in Mapbase's FGD. +* **RemoveSpawnFlags** `` - Removes spawnflag(s) to this entity. Many spawnflags have their respective numbers suffixed in Mapbase's FGD. ### Outputs --- From ca726f58ef99a4ff3cb15d8bd7fb7669b485d313 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Fri, 17 May 2019 11:06:43 -0500 Subject: [PATCH 2/2] Added npc_stalker which was somehow missing --- Entity-List.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Entity-List.md b/Entity-List.md index 00c7a4e..f2f0333 100644 --- a/Entity-List.md +++ b/Entity-List.md @@ -394,6 +394,7 @@ There is most likely some information missing or miscellaneous stuff left out, b | npc_rollermine | :twisted_rightwards_arrows: | Added keyvalue for rollermines to start as if they were hacked by Alyx in Episode One. Also fixed rollermines creating static versions of themselves each time the player tries to pick them up with the supercharged gravity gun. | | npc_seagull | :heavy_minus_sign: | | | npc_sniper | :twisted_rightwards_arrows: | Custom model support, custom beam support, response system support, obsolete FGD stuff removed, separate spawnflag for dying on fire. (NOTE: Snipers will no longer die on fire in Episodic and must have this spawnflag enabled!) | +| npc_stalker | :twisted_rightwards_arrows: | Added a "Player Aggression" keyvalue and an option to use blood. | | npc_strider | :twisted_rightwards_arrows: | Added a stomp filter for choosing who the strider is allowed to stomp. Also implemented VDC fix for npc_clawscanner strider scouting. | | npc_template_maker | :heavy_minus_sign: | | | npc_tripmine | :arrow_double_up: | weapon_slam's tripmine with new I/O/KV so it could be placed in Hammer as an entity the mapper sets up. |