Prop vehicle jeep: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 2: Line 2:


== Entity description ==
== Entity description ==
A jeep/buggy (drivable model) or {{ep2 add|a jalopy}}.
A jeep/buggy (drivable model) or {{EP2 add|a jalopy}}.


[[Image:Buggy.jpg|thumb|right|300px|A <code>prop_vehicle_jeep</code> using the ''models/buggy.mdl'' model.]]
[[Image:Buggy.jpg|thumb|right|300px|A <code>prop_vehicle_jeep</code> using the ''models/buggy.mdl'' model.]]
Line 26: Line 26:
* '''{{EP1 add|UnlockExit}}'''
* '''{{EP1 add|UnlockExit}}'''
: Allows NPC's to exit the vehicle.
: Allows NPC's to exit the vehicle.
* '''{{ep2 add|SetCargoHopperVisibility <[[boolean]]>}}'''
* '''{{EP2 add|SetCargoHopperVisibility <[[boolean]]>}}'''
: Set the visibility of the Magnusson device tray.
: Set the visibility of the Magnusson device tray.
* '''{{ep2 add|AddBusterToCargo}}'''
* '''{{EP2 add|AddBusterToCargo}}'''
: Adds a Magnusson device to jalopy's cargo.
: Adds a Magnusson device to jalopy's cargo.
* '''{{ep2 add|EnableRadar}}'''
* '''{{EP2 add|EnableRadar}}'''
: Adds a radar to the jalopy.
: Adds a radar to the jalopy.
* '''{{ep2 add|EnableRadarDetectEnemies}}'''
* '''{{EP2 add|EnableRadarDetectEnemies}}'''
: Same as EnableRadar, but now detects enemies as well as cargo beacons.
: Same as EnableRadar, but now detects enemies as well as cargo beacons.
* '''{{ep2 add|DisableRadar}}'''
* '''{{EP2 add|DisableRadar}}'''
: Removes the radar from the jalopy.
: Removes the radar from the jalopy.
* '''{{ep2 add|EnablePhysGun}}'''
* '''{{EP2 add|EnablePhysGun}}'''
: Allow physgun to punt jalopy.
: Allow physgun to punt jalopy.
* '''{{ep2 add|DisablePhysGun}}'''
* '''{{EP2 add|DisablePhysGun}}'''
: Do not allow physgun to punt jalopy.
: Do not allow physgun to punt jalopy.



Revision as of 19:20, 19 January 2009

Template:Wrongtitle

Entity description

A jeep/buggy (drivable model) or Template:EP2 add.

A prop_vehicle_jeep using the models/buggy.mdl model.
A prop_vehicle_jeep using the models/vehicle.mdl model.

Keyvalues

<boolean> Whether the jeep gun is enabled or disabled.

Inputs

Start the tau removal sequence.
  • FinishRemoveTauCannon
Finish the tau removal sequence.
  • LockEntrance (in all games since Half-Life 2: Episode One)
Stops NPC's from entering the vehicle until unlocked.
  • UnlockEntrance (in all games since Half-Life 2: Episode One)
Allows NPC's to enter the vehicle.
  • LockExit (in all games since Half-Life 2: Episode One)
Stops NPC's from exiting the vehicle until unlocked.
  • UnlockExit (in all games since Half-Life 2: Episode One)
Allows NPC's to exit the vehicle.
Set the visibility of the Magnusson device tray.
Adds a Magnusson device to jalopy's cargo.
Adds a radar to the jalopy.
Same as EnableRadar, but now detects enemies as well as cargo beacons.
Removes the radar from the jalopy.
Allow physgun to punt jalopy.
Do not allow physgun to punt jalopy.

Outputs

Companion has entered the vehicle.
  • OnCompanionExitedVehicle (in all games since Half-Life 2: Episode One)
Companion has exited the vehicle.
  • OnHostileEnteredVehicle (in all games since Half-Life 2: Episode One)
Hostile has entered the vehicle.
  • OnHostileExitedVehicle (in all games since Half-Life 2: Episode One)
Hostile has exited the vehicle.