Dod det.fgd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link is dead)
m (cat)
Line 1: Line 1:
This file is now useless, as Valve has released an update to the SDK including these entities.
{{warning|This file is now useless, as Valve has released an update to the SDK including these entities.}}
[[Category:Custom FGDs]]


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.
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.

Revision as of 13:50, 19 March 2011

Warning.pngWarning:This file is now useless, as Valve has released an update to the SDK including these entities.

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.

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

@include "dod.fgd"

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

@PointClass studio("models/weapons/w_tnt_grey.mdl") base(Targetname, EnableDisable, Angles) = dod_bomb_target : "Bomb Target"
[
	bombing_team(choices) : "Bombing Team" : 1 =
	[
		1 : "Both"
		2 : "Allies"
		3 : "Axis"
	]
	target_control_point(target_destination) : "Target Control Point"
	
	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"
]

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

@SolidClass base(Targetname, EnableDisable) = dod_bomb_dispenser : "Bomb Dispenser"
[
	dispense_team(choices) : "Give Bombs to team" : 0 = 
	[
		0 : "Both"
		2 : "Allies"
		3 : "Axis"
	]

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

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

See Also

List of DoD:S entities