This article's documentation is for anything that uses the Source engine. Click here for more information.

Prop vehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Classifying as model entity)
 
(24 intermediate revisions by 18 users not shown)
Line 1: Line 1:
[http://suncom.rabbies.info/ suncom] [http://logodesign.steeker.info/ logo design] [http://guidinglight.squawks.info/ guiding light] [http://boycock.fodosion.info/ boycock] [http://collegescholarship.piceous.info/ college scholarship] [http://unitedstatespostal.pish-pash.info/ united states postal service jobs] [http://youngmodel.rabbies.info/ young model] [http://myspacemusic.steeker.info/ myspace music player code] [http://motorolablue.squawks.info/ motorola blue tooth headset manual] [http://whatisestate.steeker.info/ what is estate management] [http://realestateschools.piceous.info/ real estate schools in orlando florida] [http://lesbianlust.omenta.info/ lesbian lust] [http://coolringtones.omenta.info/ cool ringtones] [http://cabelas.rabbies.info/ cabelas] [http://freepolyphonicringtones.justler.info/ free polyphonic ringtones] [http://benadryl.neustons.info/ benadryl] [http://wendybellissimo.squawks.info/ wendy bellissimo crib bedding] [http://homemadepornvideo.squawks.info/ homemade porn video] [http://cumfacials.neustons.info/ cumfacials] [http://homebusinessstart.steeker.info/ home business start ups] [http://gout.pish-pash.info/ gout] [http://italiancharms.omenta.info/ italian charms] [http://neustons.info/ neustons.info] [http://freephotopersonal.omenta.info/ free photo personal] [http://rowefurniture.pish-pash.info/ rowe furniture] [http://wheretobuyphentermine.piceous.info/ where to buy phentermine] [http://teeniesex.piceous.info/ teenie sex] [http://demimoorenude.pish-pash.info/ demi moore nude] [http://toponlinecasino.pish-pash.info/ top online casino] [http://credit.omenta.info/ credit] [http://fuckme.neustons.info/ fuck me] [http://tifa.rabbies.info/ tifa] [http://nudeshemale.justler.info/ nude shemale pics] [http://gangbangwife.justler.info/ gang bang wife] [http://neustons.info/index2_666.html map] [http://irishferries.piceous.info/ irish ferries] [http://freemonthlyplanners.rabbies.info/ free monthly planners] [http://bornshoes.fodosion.info/ born shoes] [http://swissreplicarolex.fodosion.info/ swiss replica rolex watch] [http://microsoftwindows.menevian.info/ microsoft windows xp] [http://dodgeparts.rabbies.info/ dodge parts] [http://pornclip.omenta.info/ porn clip] [http://freepornamature.menevian.info/ free porn amature] [http://cheapcomputers.justler.info/ cheap computers] [http://buylevitra.fodosion.info/ buy levitra] [http://sectionalsofas.piceous.info/ sectional sofas] [http://influenza.fodosion.info/ influenza] [http://beachbabe.neustons.info/ beach babe] [http://buyvaniqaonline.omenta.info/ buy vaniqa online] [http://shedaquarium.justler.info/ shed aquarium] [http://adultstory.steeker.info/ adult story] [http://hackwindowsxp.omenta.info/ hack windows xp activation] [http://pornovideo.omenta.info/ porno video] [http://kiapicanto.fodosion.info/ kia picanto] [http://chrysler.omenta.info/ chrysler] [http://foreclosureproperty.menevian.info/ foreclosure property] [http://newhondacivic.menevian.info/ new honda civic] [http://rustlerjeans.fodosion.info/ rustler jeans] [http://universityofgeorgia.pish-pash.info/ university of georgia football schedule] [http://mangosteenfor.neustons.info/ mangosteen for sinus problems] [http://adultsextoy.steeker.info/ adult sex toy] [http://fiorinalwithcodeine.justler.info/ fiorinal with codeine] [http://gpssoftwerefree.steeker.info/ gps softwere free download] [http://suncom.steeker.info/ suncom] [http://susanlucci.pish-pash.info/ susan lucci] [http://flowerspictures.steeker.info/ flowers pictures] [http://volvo.rabbies.info/ volvo] [http://adultvideo.fodosion.info/ adultvideo] [http://zithromax.fodosion.info/ zithromax] [http://freepsychicreading.steeker.info/ free psychic reading] [http://justler.info/ justler.info] [http://samsungringtones.omenta.info/ samsung ringtones] [http://funfreeonline.omenta.info/ fun free online game] [http://buyxenicaluk.piceous.info/ buy xenical uk] [http://airforce.steeker.info/ air force] [http://wellsfargo.justler.info/ wells fargo] [http://amoxicillin.menevian.info/ amoxicillin] [http://samsclub.menevian.info/ sams club] [http://demetrioswedding.neustons.info/ demetrios wedding dresses] [http://cncsoftware.menevian.info/ cnc software] [http://funny.menevian.info/ funny] [http://popmusic.steeker.info/ pop music] [http://boostringtones.squawks.info/ boost ringtones] [http://pregnancyteens.steeker.info/ pregnancy teens] [http://steeker.info/index8_666.html index] [http://vaio.steeker.info/ vaio] [http://hotlesbianporn.menevian.info/ hot lesbian porn] [http://householdchores.steeker.info/ household chores] [http://barebonenotebook.squawks.info/ barebone notebook] [http://realtysedona.neustons.info/ realty sedona] [http://videosxxx.rabbies.info/ videos xxx] [http://vwparts.pish-pash.info/ vw parts] [http://insurancequote.pish-pash.info/ insurance quote] [http://calgaryairport.omenta.info/ calgary airport hotel] [http://underwearmens.omenta.info/ underwear mens] [http://hondamopeds.rabbies.info/ honda mopeds] [http://longeveningdresses.squawks.info/ long evening dresses] [http://doughboy.piceous.info/ doughboy] [http://freeenergy.justler.info/ free energy] [http://105batteryt.rabbies.info/ 105 battery t trojan]
{{lang|Prop vehicle}}
{{wrongtitle|title=prop_vehicle}}
{{Ent not in fgd}}
{{CD|CPropVehicle|file1=vehicle_base.cpp}}
{{this is a|model entity|name=prop_vehicle}} It is a [[Vehicles (modeling)|vehicle model]] that can be driven via [[input]]s.
__NOTOC__
== Flags ==
{{fl|1|Always Think (Run physics every frame)|since={{hl2ep1}}}}


==Entity Description==
== Keyvalues ==
[[Vehicles (modeling)|Vehicle model]] that can be driven via inputs.
{{KV Targetname}}
{{KV BaseVehicle}}


==Availability==
== Inputs ==
{{in game|point}} {{game-base}}
{{I|Steer|Steer the vehicle +/-1|param=float}}
{{in code|class=class_c_prop_vehicle.html CPropVehicle|file=vehicle__base_8cpp-source.html vehicle_base.cpp}}
{{I|Throttle|Throttle +/-1|param=float}}
{{I BaseVehicle}}


==Keyvalues==
== See also ==
*{{kv BaseVehicle}}
* {{ent|prop_vehicle_driveable}} — A player-drivable vehicle.
* [[Vehicles (modeling)]] — An article on how to create a vehicle model.


==Flags==
[[Category:Prop entities|vehicle]]
* {{ep1 add|1 : Always Think (Run physics every frame)}}
 
==Inputs==
*{{i BaseVehicle}}
*'''Steer <float>'''
:Steer the vehicle +/-1
*'''Throttle <float>'''
:Throttle +/-1
 
==Outputs==
*{{o BaseVehicle}}
 
==See Also==
* [[prop_vehicle_driveable]] - A player drivable vehicle.
* [[Vehicles (modeling)]] - How to create a vehicle model
[[Category:Entities]]

Latest revision as of 04:34, 19 May 2025

English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the Counter-Strike: SourceDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2 FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CPropVehicle
CBaseProp
CBaseAnimating
CBaseEntity
C++ vehicle_base.cpp

prop_vehicle is a model entity available in all Source Source games. It is a vehicle model that can be driven via inputs.

Flags

Always Think (Run physics every frame) : [1] (in all games since Half-Life 2: Episode One)

Keyvalues

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

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

Steer <floatRedirectInput/float>
Steer the vehicle +/-1
Throttle <floatRedirectInput/float>
Throttle +/-1
BaseVehicle:
Action <floatRedirectInput/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.

See also