Day of Defeat: Source.fgd: Difference between revisions
Jump to navigation
Jump to search
Tip:Select the beginning of the line (usually the "//" comment) by clicking it, scroll down then hold ⇧ Shift, and click at the end of the line to select all.
(Added the FGD) |
SirYodaJedi (talk | contribs) No edit summary |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
The latest official [[FGD]] for {{dods|4}}. Located in {{Code|...\common\Day of Defeat Source\bin}} | |||
//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======= | For an updated FGD, see [[Day of Defeat: Source (custom).fgd]]. | ||
== FGD == | |||
{{textfile|FGD}} | |||
{{codeblock|lang=fgd|src=dod.fgd|1=<nowiki>//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======= | |||
// | // | ||
// Purpose: Day of Defeat: Source game definition file (.fgd) | // Purpose: Day of Defeat: Source game definition file (.fgd) | ||
Line 14: | Line 17: | ||
// | // | ||
//------------------------------------------------------------------------- | //------------------------------------------------------------------------- | ||
@BaseClass = Target | @BaseClass = Target | ||
Line 101: | Line 103: | ||
0 : "No" | 0 : "No" | ||
1 : "Yes" | 1 : "Yes" | ||
] | ] | ||
cpm_timer_length(integer) : "Round timer length in seconds" : 300 | cpm_timer_length(integer) : "Round timer length in seconds" : 300 | ||
Line 109: | Line 111: | ||
2 : "Allies" | 2 : "Allies" | ||
3 : "Axis" | 3 : "Axis" | ||
] | ] | ||
output OnAlliesWin(void) : "Output sent when Allies win the round" | output OnAlliesWin(void) : "Output sent when Allies win the round" | ||
Line 213: | Line 215: | ||
area_allies_numcap(integer) : "Number of Allies to cap" : 1 | area_allies_numcap(integer) : "Number of Allies to cap" : 1 | ||
area_axis_numcap(integer) : "Number of Axis to cap" : 1 | area_axis_numcap(integer) : "Number of Axis to cap" : 1 | ||
area_time_to_cap(integer) : "Time to cap (sec)" : 5 | area_time_to_cap(integer) : "Time to cap (sec)" : 5 | ||
output OnAlliesStartCap(void) : "Sent when Allies start capture" | output OnAlliesStartCap(void) : "Sent when Allies start capture" | ||
Line 279: | Line 281: | ||
] | ] | ||
] | ] | ||
</ | </nowiki>}} | ||
[[Category: | {{dods topicon}} | ||
[[Category:Source 1 FGDs]] | |||
[[Category:Valve FGDs]] |
Latest revision as of 08:07, 24 March 2025
The latest official FGD for Day of Defeat: Source. Located in ...\common\Day of Defeat Source\bin
For an updated FGD, see Day of Defeat: Source (custom).fgd.
FGD
- This is a FGD (Forge Game Data) file used to define all of the entities of a game for a map editor (such as Hammer).
To add a FGD file to the map editor, copy the following text into a text editor such as Windows Notepad,Notepad++ or
Visual Studio Code, and save it with "save as type" being "all files" and .fgd appended to the file name. Then open your map editor and add the FGD to your game configuration (Example for HL:S).
