Dod det.fgd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
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.
{{modernDeprecated|This file is now useless, as Valve has released an update to the SDK including these entities.}}
[[Category:Custom FGDs]]


a download is available [http://panfrie.zergs.com/Mapping/dod_det.fgd here].(right click -> Save Target As)
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 {{dods|3}} FGD.
 
{{codeblock|style=1|src=dod det.fgd|lang=fgd|<nowiki>
<pre><nowiki>
//============================= Made by PanFrie ===============================
//============================= Made by PanFrie ===============================
//
//
Line 18: Line 18:
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------


@PointClass studio("models/weapons/w_tnt_grey.mdl") = dod_bomb_target : "Bomb Target"
@PointClass studio("models/weapons/w_tnt_grey.mdl") base(Targetname, EnableDisable, Angles) = dod_bomb_target : "Bomb Target"
[
[
targetname(target_source) : "Name" : ""
bombing_team(choices) : "Bombing Team" : 1 =
bombing_team(choices) : "Bombing Team" : 1 =
[
[
Line 27: Line 26:
3 : "Axis"
3 : "Axis"
]
]
target_control_point(target_destination) : "Target Control Point" : ""
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 OnBombExploded(void) : "Output sent when bomb explodes"
Line 41: Line 34:
output OnKillPlanter(void) : "Output sent when bomb planter is killed"
output OnKillPlanter(void) : "Output sent when bomb planter is killed"
output OnKillDefuser(void) : "Output sent when bomb defuser 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"
]
]


Line 52: Line 42:
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------


@SolidClass = dod_bomb_dispenser : "Bomb Dispenser"
@SolidClass base(Targetname, EnableDisable) = dod_bomb_dispenser : "Bomb Dispenser"
[
[
targetname(target_source) : "Name" : ""
dispense_team(choices) : "Give Bombs to team" : 0 =  
dispense_team(choices) : "Give Bombs to team" : 0 =  
[
[
Line 61: Line 50:
3 : "Axis"
3 : "Axis"
]
]
StartDisabled(choices) : "Start Disabled" : 0 =
[
0 : "No"
1 : "Yes"
]


output OnTntPickup(void) : "Output sent when TNT is picked up"
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"
@SolidClass base(Targetname) = func_team_wall : "Spawn Protection Wall"
[
[
targetname(target_source) : "Name" : ""
blockteam(choices) : "Block Team" : 2 =
blockteam(choices) : "Block Team" : 2 =
[
[
Line 81: Line 61:
3 : "Axis"
3 : "Axis"
]
]
]
</nowiki>}}
==See also==
*[[List of DoD:S entities]]


input Kill(void) : "Removes this entity from the world."
[[Category:Day of Defeat]]
input KillHierarchy(void) : "Removes this entity and its children from the world."
[[Category:Source 1 FGDs]]
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."
]
</nowiki></pre>
==See Also==
[[List of DoD:S entities]]
[[Category:Custom FGDs]]
[[Category:Custom FGDs]]

Latest revision as of 01:57, 11 September 2024

Obsolete-notext.pngDeprecated: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.

dod det.fgd
Forge Game Data
//============================= 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