Point apc controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(bot-assisted cleanup)
 
Line 9: Line 9:


==Keyvalues==
==Keyvalues==
*{{kv Targetname}}
*{{kv targetname}}
*{{kv Angles}}
*{{kv angles}}
*'''yawrate'''
*'''yawrate'''
:<string> Yaw rate.  Default: 30
:<float>
*'''yawtolerance'''
*'''yawtolerance'''
:<string> Yaw tolerance.  Default: 15
:<float>
*'''pitchrate'''
*'''pitchrate'''
:<string> Pitch rate.  Default: 0
:<float>
*'''pitchtolerance'''
*'''pitchtolerance'''
:<string> Pitch tolerance.  Default: 20
:<float>
*'''rotatestartsound'''
*'''rotatestartsound'''
:<sound> Rotate Start Sound.
:<sound>
*'''rotatesound'''
*'''rotatesound'''
:<sound> Rotate Loop Sound.
:<sound>
*'''rotatestopsound'''
*'''rotatestopsound'''
:<sound> Rotate Stop Sound.
:<sound>
*'''minRange'''
*'''minRange'''
:<string> Minmum target range. Default: 0
:<float> Minmum target range.
*'''maxRange'''
*'''maxRange'''
:<string> Maximum target range. Default: 0
:<float> Maximum target range.
*'''targetentityname'''
*'''targetentityname'''
:<string> Name of entity I should follow/attack.  
:<target_destination> Name of entity I should follow/attack.


==Flags==
==Flags==

Revision as of 12:58, 8 October 2005

Template:Wrongtitle

Entity Description

APC Controller

Availability

Template:In game Template:Game Template:In code

Keyvalues

<float>
  • yawtolerance
<float>
  • pitchrate
<float>
  • pitchtolerance
<float>
  • rotatestartsound
<sound>
  • rotatesound
<sound>
  • rotatestopsound
<sound>
  • minRange
<float> Minmum target range.
  • maxRange
<float> Maximum target range.
  • targetentityname
<target_destination> Name of entity I should follow/attack.

Flags

  • 1 : Active

Inputs

  • Activate
Turn the APC rockets on
  • Deactivate
Turn the APC rockets off (go dormant)

Outputs

  • OnFireAtTarget
Fires when a valid target is found and the APC should shoot rockets