prop_vehicle_sin
prop_vehicle_sin
is a point entity available in SiN Episodes. Called the Poseidon Interceptor Vehicle, aftermarket additions make the V8 Poseidon the vehicle of choice for SecForces across the globe. With a top speed to rival most consumer level vehicles, the Poseidon puts a quick end to most pursuits, and the unique chassis and frame design allow for the easy installation of ablative armor. The armor segmentation system allows body segments to absorb the impact of high yield explosives, allowing the car to keep running even when under heavy fire.
It is a driveable sedan type of vehicle with two front doors, compartment door, openable hood, radio, gears, useable windows and sunroof etc. for the player to use. It is possible for scripted NPC's to drive the vehicle but for the player as well, except it is not used in any sequence in the final version of game and was probably planned for use in upcoming episodes. All of the outer components such as the doors are all fully detachable from the main vehicle once they individually have received enough damage, but the vehicle's body is not in contrast to the variable available for health which seems to have no effect no matter the amount of damage applied to it.
The player is able to interact with the vehicle by opening and closing the windows, drive, leaning and shooting out, toggle the radio, using the passenger compartment, change gears, toggle the front window wipers etc. It also has a built in monitor that can be attached to a camera placed somewhere in the world, activated and changed upon its usage for the scene currently playing out.
Keyvalues
- EnableUse
([todo internal name (i)])
<integer> - Enable vehicle use system (0: Disable, 1: Enable).
- ViewsLocked
([todo internal name (i)])
<integer> - Lock passenger views (0: Disable, 1: Enable).
- InfiniteAmmo
([todo internal name (i)])
<integer> - Give infinite ammo to the passengers (0: Disable, 1: Enable).
- Invunerable
([todo internal name (i)])
<integer> - Cannot be destroyed if invunerable.
- DamageTolerance
([todo internal name (i)])
<float> - Damage Tolerance.
- MonitorActive
([todo internal name (i)])
<integer> - Vehicle Monitor Active.
- MonitorName
([todo internal name (i)])
<string> - Monitor Camera Name.
- HintsEnable
([todo internal name (i)])
<integer> - Enable Hints.
- DriverDoorLocked
([todo internal name (i)])
<integer> - Driver's door is locked (0: Disable, 1: Enable).
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:prop_vehicle_airboat
:airboat.txt
prop_vehicle_apc
:apc.txt
/apc_npc.txt
prop_vehicle_crane
:crane.txt
prop_vehicle_prisoner_pod
:prisoner_pod.txt
prop_vehicle_jeep
:jalopy.txt
(only in ) /jeep_test.txt
prop_vehicle_choreo_generic
:- Half-Life 2: Episode One only:
choreo_vehicle.txt
choreo_vehicle_ep1_dogintro.txt
- Half-Life 2: Episode Two only:
choreo_vehicle_ep2_barn1.txt
choreo_vehicle_ep2_hangar.txt
choreo_vehicle_ep2_intro.txt
choreo_vehicle_ep2_Outland_02.txt
choreo_vehicle_ep2_playertrapped.txt
- There is also
reference_vehicle.txt
, which you can modify to make your own vehicle or use as-is. prop_vehicle_sin
:sincar.txt
/sincar_pit.txt
(only in )p3_vehicle_segway
:segway.txt
(only in )
- Scale of action input / framerate
(actionScale)
<float> - Todo: How fast the vehicle turns/accelerates?
Inputs
SetView
<integer>- Set the activators view inside the vehicle.
LockView
<integer>- Lock all passenger views.
SetRadioStation
<integer>- Set the radio station.
SetCamera
<string>- Set Monitor Camera.
EnableUse
<boolean>- Enable or disable use function inside vehicle (0: Disable, 1: Enable).
EnableHints
<integer>- Enable or disable hints (0: Disable, 1: Enable).
EnableAmmo
<integer>- Enable or disable ammo. Will provide the player with full ammunition once the reserve is depleted, including special types (0: Disable, 1: Enable).
EnterVehicle
ExitVehicle
<integer>- Forces passenger into/out of the vehicle role (0: Driver, 1: Passenger, 2: Gunner).
OpenDoor
CloseDoor
<integer>- Opens/closes a specific door (0: Driver, 1: Passenger, 2: Compartment, 3: Bonnet).
OpenWindow
CloseWindow
<integer>- Open/close a specific window (0: Driver, 1: Passenger, 2: Behind Passenger, 3: Behind Driver).
RadioOn
RadioOff
- Turn radio on/off.
OpenDoors
CloseDoors
- Open/close all doors.
OpenWindows
CloseWindows
- Open/close all windows.
HeadlightOn
HeadlightOff
- Turn on/off headlights.
WipersOn
WipersOff
- Turn on/off wipers.
MonitorOn
MonitorOff
- Turn monitor on/off.
HandBrakeOn
HandBrakeOff
- Turns the handbrake on/off, preventing the vehicle from driving but not disabling motion from external forces.
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.
SetVehicleVolume
<float>- Set the volume for vehicle sounds (0.0 - 1.0).
Outputs
DoorOpen
- Door opened event.
DoorClosed
- Door closed event.
WindowOpen
- Window opened event.
WindowClosed
- Window closed event.
UseBox
- This output is triggered when a vehicle use box is used, the activator is the user of the use box.
ViewChanged
- This output is triggered when a passenger in the vehicle changes views.
BaseDriveableVehicle:
PlayerOn
PlayerOff
- Player entered/exited the vehicle. (
!activator
is the player.)
PressedAttack
PressedAttack2
- Player pressed the
+attack
/+attack2
key.
AttackAxis
<boolean>
Attack2Axis
<boolean>- State of the
attack
/attack2
buttons. Also called when the player exits the vehicle.