Combine shieldwall static: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Typo.)
(Added another tip about only allowing Combine soldiers through.)
Line 11: Line 11:
* A [[logic_auto]] that is used to start the ambient_generic playing the idle sound of the field at the spawn of the map. See tip below.
* A [[logic_auto]] that is used to start the ambient_generic playing the idle sound of the field at the spawn of the map. See tip below.
* An enveloping normal brush covered with the [[skip]] tooltexture to facilitate grouping, copying and moving this prefab.
* An enveloping normal brush covered with the [[skip]] tooltexture to facilitate grouping, copying and moving this prefab.


{{tip|The logic_auto entity isn't really needed. The same function can be achieved if the ''Start Silent'' flag of the ''sound_combineshieldwall_idle1'' entity is cleared.}}
{{tip|The logic_auto entity isn't really needed. The same function can be achieved if the ''Start Silent'' flag of the ''sound_combineshieldwall_idle1'' entity is cleared.}}
{{tip|As it is now, rebels and other NPCs can walk right through this forcefield gate. To let only Combine soldiers ([[npc_combine_s]]) through, turn the playerclip brush into a solid [[func_brush]] with its ''NPC class excluded from collisions'' keyvalue set to "npc_combine_s".}}


[[Category:Prefabs]]
[[Category:Prefabs]]

Revision as of 18:42, 29 August 2006

Template:Wrongtitle

A prefab located in the Prefabs HL2 folder, containing a standard Combine forcefield gate, preventing the player from proceeding. This shieldwall prefab (unlike combine_shieldwall) can not be toggled off and on, making its build simpler in nature.

This prefab includes the following:

  • Two prop_static fence post models.
  • A func_illusionary brush with an animated texture, providing a forcefield visual effect.
  • A broader brush covered in the playerclip tooltexture that will still allow NPCs through.
  • Two ambient_generic entities use to play the "idle" and the "touch" sounds.
  • A trigger_multiple brush that will detect if the player is deemed touching the force field, and that will trigger the "touch" sound to play if it does.
  • A logic_auto that is used to start the ambient_generic playing the idle sound of the field at the spawn of the map. See tip below.
  • An enveloping normal brush covered with the skip tooltexture to facilitate grouping, copying and moving this prefab.


Tip.pngTip:The logic_auto entity isn't really needed. The same function can be achieved if the Start Silent flag of the sound_combineshieldwall_idle1 entity is cleared.
Tip.pngTip:As it is now, rebels and other NPCs can walk right through this forcefield gate. To let only Combine soldiers (npc_combine_s) through, turn the playerclip brush into a solid func_brush with its NPC class excluded from collisions keyvalue set to "npc_combine_s".