Info apc missile hint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:info_apc_missile_hint}}
{{hl2 brush|info_apc_missle_hint}}


{{DISPLAYTITLE:}}
==Entity Description==
[[Category:Glossary]] [[Category:Console Variables]]
A [[brush entity]] that helps guide rockets fired by the [[Prop vehicle apc]].


This [[boolean]] [[ConVar]] enables/disables cheats on the server.
If the missile can hit the specified ''target'' entity within the time it takes the ''target'' to enter and leave the apc_missile_hint brush, the missile will steer towards the ''target''.


It also gives you access to commmands that would normally be abused or misused by players. When building maps, you may want this as a startup command.
{{in code|class=class_c_info_a_p_c_missile_hint.html CInfoAPCMissileHint|file=dlls_2hl2__dll_2weapon__rpg_8cpp-source.html hl2_dll\weapon_rpg.cpp}}


{{Syntax|}}<code>sv_cheats <boolean></code>
==Keyvalues==
*{{KV Targetname}}
*{{KV Origin}}
*{{KV Angles}}
*{{KV EnableDisable}}
*'''target'''
:<target_destination> The entity that the missile will guide towards if the conditions are met.


==See Also==
==Flags==
None.


Below are some typical cheats which gamers may find useful. Developers may also find these useful for bug testings and specific testing on in-game worlds.
==Inputs==
*{{i Targetname}}
*{{i EnableDisable}}


(Command parameters are described inside the <code><</code> and <code>></code> characters.)
==Outputs==
*{{o Targetname}}


* [[god]] - "God Mode": Player becomes invincible. Type again to turn off.
[[Category:Entities]][[Category:Brush Entities]]
* [[impulse]] 101 - Equip the player with a full loadout of equipment.
* [[give]] <entity name> - Give the player the item, weapon, entity or asset stated.
* [[noclip]] - Toggle the player collision with the environment and other objects. Allows the player to fly through walls, etc. Type again to turn off.
* [[notarget]] - Toggle NPC detection of the player. The player will still activate [[trigger]] entities, etc. Type again to turn off.
{{DISPLAYTITLE:sv_cheats}}
[[Category:Glossary]] [[Category:Console Variables]]
 
This [[boolean]] [[ConVar]] enables/disables cheats on the server.
 
It also gives you access to commmands that would normally be abused or misused by players. When building maps, you may want this as a startup command.
 
{{Syntax|}}<code>sv_cheats <boolean></code>
 
==See Also==
 
Below are some typical cheats which gamers may find useful. Developers may also find these useful for bug testings and specific testing on in-game worlds.
 
(Command parameters are described inside the <code><</code> and <code>></code> characters.)
 
* [[god]] - "God Mode": Player becomes invincible. Type again to turn off.
* [[impulse]] 101 - Equip the player with a full loadout of equipment.
* [[give]] <entity name> - Give the player the item, weapon, entity or asset stated.
* [[noclip]] - Toggle the player collision with the environment and other objects. Allows the player to fly through walls, etc. Type again to turn off.
* [[notarget]] - Toggle NPC detection of the player. The player will still activate [[trigger]] entities, etc. Type again to turn off.

Revision as of 01:05, 30 November 2011

Template:Hl2 brush

Entity Description

A brush entity that helps guide rockets fired by the Prop vehicle apc.

If the missile can hit the specified target entity within the time it takes the target to enter and leave the apc_missile_hint brush, the missile will steer towards the target.

Template:In code

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • Origin:
Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
  • target
<target_destination> The entity that the missile will guide towards if the conditions are met.

Flags

None.

Inputs

  • EnableDisable:
Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs