Info vehicle spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (TODO)
(Started using Template:Synergy point)
Line 1: Line 1:
{{DISPLAYTITLE:info_vehicle_spawn}}
{{DISPLAYTITLE:info_vehicle_spawn}}
{{Synergy}} '''info_vehicle_spawn''' is a [[point entity]] available in [[Synergy]].
{{Synergy point|info_vehicle_spawn}} 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.
It spawns a vehicle for each player.{{todo|Make [[Template:Synergy point]]}}
{{bug|Multiple instances of this entity may causes crashes under Linux. {{confirm}}}}
{{bug|Multiple instances of this entity may causes crashes under Linux. {{confirm}}}}
==Entity Description==
This entity spawns vehicles entities at its [[origin]]. 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.


==Keyvalues==
==Keyvalues==

Revision as of 16:34, 4 May 2020

Template:Synergy point 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.

Icon-Bug.pngBug: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>[ 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

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.

Inputs

Enable
Starts spawning new vehicles.
Disable
Stops spawning new vehicles.
MoveSpawn <stringRedirectInput/string> !FGD
Sets the origin and angles with the specified info_target


Outputs

OnSpawnVehicle
Fired when a vehicle is spawned.


See also