Dod det.fgd

From Valve Developer Community
Revision as of 10:58, 18 July 2006 by PanFrie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a fgd file made for the sole purpose of detonation maps and the spawn protection wall, which were not included in the official Day of Defeat Source fgd.

a download is available here.(right click -> Save Target As)

//============================= Made by PanFrie ===============================
//
// Purpose: Day of Defeat: Source Detonation Game Files
//
//=============================================================================

//-------------------------------------------------------------------------
//
// Point Classes
//
//-------------------------------------------------------------------------

@PointClass studio("models/weapons/w_tnt_grey.mdl") = dod_bomb_target : "Bomb Target"
[
	targetname(target_source) : "Name" : ""
	bombing_team(choices) : "Bombing Team" : 1 =
	[
		1 : "Both"
		2 : "Allies"
		3 : "Axis"
	]
	target_control_point(target_destination) : "Target Control Point" : ""
	StartDisabled(choices) : "Start Disabled" : 0 =
	[
		0 : "No"
		1 : "Yes"
	]
	angles(angle) : "Angles" : 0
	
	output OnBombExploded(void) : "Output sent when bomb explodes"
	output OnBombDefused(void) : "Output sent when bomb is defused"
	output OnBombPlanted(void) : "Output sent when bomb is planted"

	output OnKillPlanter(void) : "Output sent when bomb planter is killed"
	output OnKillDefuser(void) : "Output sent when bomb defuser is killed"

	input Enable(void) : "Input enables the bomb marker"
	input Disable(void) : "Input disables the bomb marker"
]

//-------------------------------------------------------------------------
//
// Solid Classes
//
//-------------------------------------------------------------------------

@SolidClass = dod_bomb_dispenser : "Bomb Dispenser"
[
	targetname(target_source) : "Name" : ""
	dispense_team(choices) : "Give Bombs to team" : 0 = 
	[
		0 : "Both"
		2 : "Allies"
		3 : "Axis"
	]
	StartDisabled(choices) : "Start Disabled" : 0 =
	[
		0 : "No"
		1 : "Yes"
	] 

	output OnTntPickup(void) : "Output sent when TNT is picked up"

	input Enable(void) : "Input enables the dispenser"
	input Disable(void) : "Input disables the dispenser"
]

@SolidClass = func_team_wall : "Spawn Protection Wall"
[
	targetname(target_source) : "Name" : ""
	blockteam(choices) : "Block Team" : 2 =
	[
		2 : "Allies"
		3 : "Axis"
	]

	input Kill(void) : "Removes this entity from the world."
	input KillHierarchy(void) : "Removes this entity and its children from the world."
	input AddOutput(string): "Adds an entity I/O connection to this entity. It can be potentially very dangerous, use with care."
	input FireUser1(void) : "Causes this entity's OnUser1-4 outputs to be fired."
	input FireUser2(void) : "Causes this entity's OnUser1-4 outputs to be fired."
	input FireUser3(void) : "Causes this entity's OnUser1-4 outputs to be fired."
	input FireUser4(void) : "Causes this entity's OnUser1-4 outputs to be fired."
]

See Also

List of DoD:S entities