5/29/2023 0 Comments Portal turret song remixThe script contents are merged with the script scope of the receiving entity. RunScriptFile (in all games since ) ( also in ) Execute a VScript file from disk, without file extension. DispatchEffect ( removed since ) !FGD Dispatches a special effect from the entity's origin see also List of Client Effects. DispatchResponse !FGD Dispatches a response to the entity. Use !FGD Same as a player invoking +use no effect in most cases. The entity retains its position relative to the attachment at the time of the input being received. SetParentAttachmentMaintainOffset As above, but without teleporting. Entities must be parented before being sent this input. The entity will teleport so that the position of its root bone matches that of the attachment. SetParentAttachment Change this entity to attach to a specific attachment point on its parent. The name should match the key of an existing context. RemoveContext Remove a context from this entity's list. KillHierarchy Functions the same as Kill, although this entity and any entities parented to it are killed on the same frame, being marginally faster than Killinput. Kill Removes this entity and any entities parented to it from the world. FireUser1 to FireUser4 Fires the respective OnUseroutputs see User Inputs and Outputs. ClearParent Removes this entity from the the movement hierarchy, leaving it free to move independently. // Raw text : "OnUser1" "!self,AddOutput,OnUser1:ClearParent::0.0:-1" ClearContext Removes all contexts from this entity's list. Format of changing KeyValues : "AddOutput " //// Raw text : "OnUser1" "!self,AddOutput,targetname new_name" // Format of adding an Output : "AddOutput " //// Raw text : "OnUser1" "!self,AddOutput,OnUser1:SetParent:!activator:0.0:-1" // Arguments can be left blank, but the empty blank should still be contained. Enable Disable Toggle Active/deactivate the turret's mechanisms. The turret will act as if it was hit with a Laser, unless its Used As Actor keyvalue is enabled, then it'll just burn normally. SetAsBouncePainted (in all games since ) Force this turret to be painted with bounce paint. SelfDestructImmediately (in all games since ) Cause the turret to explode immediately. DisablePickup (in all games since ) Disables player pickup of the turret. EnablePickup (in all games since ) Enables player pickup of the turret. DisableGagging (in all games since ) Allows the turret to speak again. EnableGagging (in all games since ) Prevents the turret to speak. Inputs FireBullet Causes the turret to instantly fire at the specified entity. This turret will be allied with the player and use a special skin : Citizen modified (Friendly) (in all games since ).Makes this turret unable to shoot at acquired targets Makes this turret return to its dormant state faster after losing a target Name (targetname) The targetname that other entities refer to this entity by. Skin Number Which skin to use for this turret. 3 : Backwards ("Load Defective Models" must be activated).Defaults to "models/combine_turrets/floor_turret.mdl" Model (in all games since ) Which model the turret uses. Only useful on the normal model, to choose a 'broken' skin. SkinNumber (in all games since ) !FGD Set the skin set to use for the model. Collision Type (in all games since ) Allow collision with the player to be turned off for very special cases. Use Super Damage (in all games since ) Setting this to true will scale the turret's damage by a very large amount. Load Defective Models (in all games since ) Should this turret precache the defective models? Needed for late switching. Maximum Range (in all games since ) How far the turret will be able to see targets. Allow Shooting through portals (in all games since ) Turrets will not try to shoot through portals unless this is set. Disable Motion (in all games since ) Set for turrets that can't move in the world. Turret can be picked up by player (in all games since ) Disables pickup by player. Used As Actor (in all games since ) Turret will not run the standard floor turret code so it can be used as an actor. Turret is Gagged (in all games since ) Turret will not speak any lines. Damage pushes player (DamageForce) Being hit by this turret will push the player back. Aperture Science floor turret as seen in Portal.
0 Comments
Leave a Reply. |