Rocket turret projectile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


==Entity Info==
==Entity Info==
This is the rocket entity that [[npc_rocket_turret]] shoots. When spawned directly with hammer editor or the console, it will have Half-Life 2's rocket model.
This is the rocket entity that [[npc_rocket_turret]] shoots. When spawned directly with hammer editor or the console, it will use Half-Life 2's rocket model.


==Keyvalues==
==Keyvalues==

Revision as of 22:52, 13 November 2019

Template:Portal series point

Entity Info

This is the rocket entity that npc_rocket_turret shoots. When spawned directly with hammer editor or the console, it will use Half-Life 2's rocket model.

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