Combine ballspawner

From Valve Developer Community
Revision as of 13:44, 14 May 2011 by Pdan4 (talk | contribs)
Jump to: navigation, search

Template:Wrongtitle

A dissected combine_ballspawner prefab.

A prefab located in the Prefabs HL2 folder, containing a huge Combine energy conduit shaft that spawns a constant stream of energy balls, as seen in the Citadel elevator shaft in Half-Life 2.

This prefab includes the following:

  • 4 func_detail brushes, making up the two transmitter bases.
  • An ambient_generic entity playing the d3_citadel.combine_ball_field_loop2 sound.
  • An env_beam paired up with an info_target entity to provide the visual effect of a wide beam of light.
  • A func_combine_ball_spawner brush, with its Combine Power Supply flag cleared, that will spawn a steady stream of balls moving upwards.
  • A trigger_vphysics_motion that applies a downward force, probably used to suck down anything that comes in contact with the conduit stream, with the exception of the energy balls. Doesn't work properly - see below.
  • A trigger_physics_trap used to disintegrate anything that comes into contact with the conduit stream, with the exception of the energy balls. Doesn't work properly - see below.
  • Two logic_relay entities - one that handles its startup if the conduit is turned on, and one handling its shutdown if the conduit is turned off.

The conduit is turned off by default. You will have to add a trigger that will trigger the relay_ballspawner1_on logic_relay to turn it on.

When relay_ballspawner1_on relay is triggered, it will turn on all the effects of the conduit. When the relay_ballspawner1_off relay is triggered, it will turn off the same effects.


Fixing this prefab

As is, this prefab does not work very well due to the non-existant filter referred to as "filter_combine_ball".

What you can do to make it work depends on whether or not you have Half-Life 2: Episode One installed or not.

To do: Anyone with Episode One installed should check to see if the filter is present if Episode One is installed, in which case these modifications will only apply to those not having Episode One installed.

If you don't have Episode 1, you can make a filter_activator_class excluding class prop_combine_ball from being disintegrated.

If you have Episode One installed, you can add a filter_combineball_type filter and name it "filter_combine_ball" that will be used to exclude the energy balls themselves from the downward suction and disintegration of anything that touches the stream.