info_vehicle_spawn
Jump to navigation
Jump to search
info_vehicle_spawn
is a point entity available in Synergy. It spawns a vehicle for each player. Using an 'ownership' method, players will 'own' the first vehicle they enter, thus preventing other players from using it if the player were to exit it later on. Unoccupied vehicles will appear translucent to players who do not 'own' it.
Bug:Multiple instances of this entity may causes crashes under Linux. [confirm] [todo tested in?]
Keyvalues
- StartEnabled ([todo internal name (i)]) <choices>
- Initial state of the vehicle spawn.
- VehicleType ([todo internal name (i)]) <choices>
- Type of vehicle this spawn will use.
- 0 : Jeep
- 1 : Airboat
- 2 : Jalopy
- 3 : MP
- RespawnVehicle ([todo internal name (i)]) <choices>
- Deletes the player's vehicle when they die, and respawns it at this entity's origin once the player respawns.
- VehicleScript ([todo internal name (i)]) <string>
- Vehicle Script File. (ex. scripts/vehicles/jeep_test.txt)
- VehicleSize ([todo internal name (i)]) <integer>
- Radius at which active vehicle must exit before spawning the next vehicle.
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Pitch Yaw Roll (Y Z X) (angles) <angle>
- 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.
Inputs
- Enable
- Starts spawning new vehicles.
- Disable
- Stops spawning new vehicles.
- MoveSpawn <string> !FGD
- Sets the origin and angles with the specified info_target
Outputs
- OnSpawnVehicle
- Fired when a vehicle is spawned.