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

From Valve Developer Community
< Sven Co-op.fgd
Revision as of 07:54, 8 July 2018 by Ficool2 (talk | contribs) (Added the FGD)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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"
]