Prop vehicle apc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Cleared spam)
m (Linked to info_apc_missile_hint.)
Line 1: Line 1:
{{wrongtitle|title=prop_vehicle_apc}}
{{wrongtitle|title=prop_vehicle_apc}}
==Entity Description==
==Entity Description==
APC with mounted guns, can only be driven by a vehicle driver or a [[npc_apcdriver]].
APC with mounted guns, can only be driven by a vehicle driver or a [[npc_apcdriver]].
Line 6: Line 7:
* {{kv basedriveablevehicle}}
* {{kv basedriveablevehicle}}
* '''missilehint'''
* '''missilehint'''
: <target_destination> Name of one or more info_apc_missile_hint entities to use to determine what to hit.
: <target_destination> Name of one or more [[info_apc_missile_hint]] entities to use to determine what to hit.
 
==Inputs==
==Inputs==
* {{i basedriveablevehicle}}
* {{i basedriveablevehicle}}
Line 13: Line 15:
* '''Destroy'''
* '''Destroy'''
: Causes the APC to blow up.
: Causes the APC to blow up.
==Outputs==
==Outputs==
* {{o basedriveablevehicle}}
* {{o basedriveablevehicle}}

Revision as of 08:09, 13 March 2006

Template:Wrongtitle

Entity Description

APC with mounted guns, can only be driven by a vehicle driver or a npc_apcdriver.

Keyvalues

<target_destination> Name of one or more info_apc_missile_hint entities to use to determine what to hit.

Inputs

A target to fire a missile at
  • Destroy
Causes the APC to blow up.

Outputs

Fired when the APC shoots a missile.
  • OnDeath
Fired when the APC is killed.

Usage

The APC should generally be given the models/combine_apc.mdl world model and the scripts/vehicles/apc_npc.txt vehicle script file. The APC is not drivable by the player, even with a different vehicle script file. To have the APC drive and/or shoot, create an npc_apcdriver and assign the APC to its "Vehicle to drive" property.