Rocket turret projectile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Remove entity description header and other updates)
(placing this directly in maps is not really recommended anymore)
Line 1: Line 1:
{{ent not in fgd}}
{{ent not in fgd|nolink=1|because=it is fired automatically by rocket turrets and can only be configured through code}}
<br>
<br>
{{portal series point|rocket_turret_projectile}} It is the rocket fired by [[npc_rocket_turret]]. In {{portal}}[[Portal]], this entity will rarely need to be placed directly into maps. However, in {{portal2}}[[Portal 2]], placing it is sometimes necessary as part of a system to fix the bugs that rocket turrets have.
{{entity|type=e0|series=Portal|rocket_turret_projectile}} It is the rocket fired by [[npc_rocket_turret]].


==Keyvalues==
==Keyvalues==

Revision as of 19:38, 16 February 2023

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it is fired automatically by rocket turrets and can only be configured through code.


Template:Entity It is the rocket fired by npc_rocket_turret.

Keyvalues

RenderFields:


Render Mode (rendermode) <byte choices>
Set a non-standard rendering mode on this entity.
Render Modes
  • 0: Normal
  • 1: Color
  • 2: Texture
  • 3: Glow
  • 4: Solid/Alphatest Obsolete
  • 5: Additive
  • 6: Removed, does nothing Obsolete
  • 7: Additive Fractional Frame
  • 8: Alpha Add
  • 9: World Space Glow
  • 10: Don't Render
Render FX (renderfx) <byte choices>
Various somewhat legacy alpha effects. See render effects.
Render Amount / Transparency (renderamt) <byte>
Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
Render Color (R G B) (rendercolor) <color255>
Color tint.
Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history

Inputs

RenderFields:

Alpha <integer 0–255>
Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its rendermode set to a number other than 0.
Color <color255RedirectInput/color32>
Sets an RGB color for the entity.


See Also