Sven Co-op.fgd/func vehicle custom.fgd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added the FGD)
 
m (→‎top: clean up, added orphan, deadend tags)
 
Line 1: Line 1:
{{Multiple issues|
{{Dead end|date=January 2024}}
{{Orphan|date=January 2024}}
}}
From: <code>\common\Sven Co-op\svencoop\scripts\maps\fgd\func_vehicle_custom.fgd</code>
From: <code>\common\Sven Co-op\svencoop\scripts\maps\fgd\func_vehicle_custom.fgd</code>
<pre>
<pre>
Line 30: Line 35:
_minlight(string) : "Minimum light level"
_minlight(string) : "Minimum light level"
]
]


@SolidClass = func_vehiclecontrols : "Vehicle Controls"
@SolidClass = func_vehiclecontrols : "Vehicle Controls"

Latest revision as of 10:16, 21 January 2024

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 Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon 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"
]