This article relates to the game "Postal III". Click here for more information.

p3_vehicle_segway

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

p3_vehicle_segway is a point entity available in Postal III Postal III. It is a drivable segway.

A p3_vehicle_segway (using its default model models/cars/Segway/segway_00.mdl).

Keyvalues

Name (targetname) <string>
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

Start Disabled (StartDisabled) <boolean>
Simply disable (or hide) the segway.
Have Krotchy Box (HaveKrotchyBox) <boolean>
Adds a small box containing some Krotchy toys on the segway.
Have krotchy[sic] toys in the box (HaveKrotchiesInBox) <boolean>
Adds more Krotchy toys in the box.

BaseDriveableVehicle:

Starts locked (VehicleLocked) <boolean>
Players cannot enter vehicle until it is unlocked.

BaseVehicle:

Vehicle Script File (vehiclescript) <string>
The vehicle script files contained in scripts\vehicles\ define the behaviour and handling of a vehicle. It is important to match the right script to the right entity/model:
Scale of action input / framerate (actionScale) <float>
Todo: How fast the vehicle turns/accelerates?


Inputs

AddOutput
Todo: Document this.
FireFSMScriptEvent
Fire Finite State Machine script event.
BaseDriveableVehicle:
HandBrakeOn
HandBrakeOff
Turns the handbrake on/off, preventing the vehicle from driving but not disabling motion from external forces.
BaseVehicle:
Action <float>
Set the speed of the action animation.
Todo: What does this mean?
TurnOn
Start engine and enable throttle.
TurnOff
Stop engine, disable throttle, engage brakes.
Lock
Unlock
Prevent/allow the player from entering or exiting the vehicle.