Sven Co-op.fgd/func vehicle custom.fgd

From Valve Developer Community
Jump to: navigation, search
Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Dead End - Icon.png
This article has no links to other VDC articles. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024


From: \common\Sven Co-op\svencoop\scripts\maps\fgd\func_vehicle_custom.fgd

@SolidClass base(Targetname, RenderFields, Angles) = func_vehicle_custom : "Drivable Vehicles" 
[
	spawnflags(flags) = 
	[
		1 : "No default controls" : 0
	]
	
	target(target_destination) : "First stop target"
	sounds(choices) : "Sound" : 1 =
	[
		0: "None"
		1: "Car 1"
		2: "Car 2"
		3: "Truck 1"
		4: "Truck 2"
		5: "Boat 1"
		6: "Boat 2"
	]
	length(integer) : "Length of the vehicle" : 256
	width(integer) : "Width of the vehicle" : 128
	height(integer) : "Height above track" : 16
	startspeed(integer) : "Initial speed" : 0
	speed(integer) : "Speed (units per second)" : 64
	acceleration(integer) : "Acceleration (1-10)" : 5
	dmg(integer) : "Damage on crush" : 0
	volume(integer) : "Volume (10 = loudest)" : 10
	bank(string) : "Bank angle on turns" : "0"
	_minlight(string) : "Minimum light level"
]

@SolidClass = func_vehiclecontrols : "Vehicle Controls"
[
	spawnflags(flags) =
	[
		1 : "RC control" : 0
	]
	
	target(target_destination) : "Vehicle Name"
]