Info apc missile hint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(-added class hierarchy, cleanup)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{LanguageBar}}
{{CD|CInfoAPCMissileHint|file1=weapon_rpg.cpp}}
{{this is a|brush entity|name=info_apc_missile_hint|game=Half-Life 2 series}} It helps guide rockets ({{ent|apc_missile}} fired by the {{ent|prop_vehicle_apc}}. In short, if the missile can hit a target before that target leaves this volume, the missile will steer towards it.


{{DISPLAYTITLE:}}
{{note|The FGD data lists <code>Enable</code> and <code>Disable</code> inputs, but they do not exist in code.}}
[[Category:Glossary]] [[Category:Console Variables]]


This [[boolean]] [[ConVar]] enables/disables cheats on the server.
== Keyvalues ==
 
{{KV Targetname}}
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.
{{KV|Target|intn=target|target_destination|The entity that the missile will guide towards if the conditions are met.}}
 
{{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.
{{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.

Latest revision as of 13:03, 25 September 2024

English (en)Translate (Translate)
C++ Class hierarchy
CInfoAPCMissileHint
CBaseEntity
C++ weapon_rpg.cpp

info_apc_missile_hint is a brush entity available in Half-Life 2 series Half-Life 2 series. It helps guide rockets (apc_missile fired by the prop_vehicle_apc. In short, if the missile can hit a target before that target leaves this volume, the missile will steer towards it.

Note.pngNote:The FGD data lists Enable and Disable inputs, but they do not exist 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

Target (target) <targetname>
The entity that the missile will guide towards if the conditions are met.