Skip to content

Commit

Permalink
Tweaked custom FGD
Browse files Browse the repository at this point in the history
  • Loading branch information
noodlecollie committed Jul 2, 2024
1 parent fbf003b commit 64e50ec
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions left4dead2_updated.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@
1 : "Yes"
]
]

@SolidClass base(Targetname, NavBlocker) = func_nav_blocker : "A brush entity that can block nav areas touching its AABB."
[
]
Expand Down Expand Up @@ -824,7 +825,7 @@
item17(integer) : "Grenade Launcher" : 0
item18(integer) : "M60 Machinegun" : 0

melee_weapon(string) : "Melee Weapon" : "" : "Options: 'Any' or a comma-delimited string of melee weapon script names. Leave blank for none. Weapons are: golfclub, fireaxe, frying_pan, machete, baseball_bat, crowbar, cricket_bat, tonfa, katana, electric_guitar."
melee_weapon(string) : "Melee Weapon" : "" : "Options: 'Any' or a comma-delimited string of melee weapon script names. Leave blank for none."

spawnflags(Flags) =
[
Expand Down Expand Up @@ -903,9 +904,10 @@
@PointClass base(WeaponSpawnSingle) studioprop("models/w_models/weapons/w_grenade_launcher.mdl") = weapon_grenade_launcher : "Grenade Launcher - This entity is intended to be used in scripted events where a single item needs to spawned with physics active." []

// Melee --------------------
@PointClass base(WeaponSpawn) studioprop("models/weapons/melee/w_fireaxe.mdl") = weapon_melee_spawn : "Melee Weapon"
@PointClass base(WeaponSpawn) studioprop() = weapon_melee_spawn : "Melee Weapon"
[
melee_weapon(string) : "Melee Weapon" : "any" : "Options: 'Any' or a comma-delimited string of melee weapon script names. Leave blank for none. Weapons are: golfclub, fireaxe, frying_pan, machete, baseball_bat, crowbar, cricket_bat, tonfa, katana, electric_guitar."
melee_weapon(string) : "Melee Weapon" : "any" : "Options: 'Any' or a comma-delimited string of melee weapon script names. Leave blank for none."
model(studio) : "Model" : "models/weapons/melee/w_fireaxe.mdl" : "Helper Model"
]

// Scavenge Mode --------------------
Expand Down

0 comments on commit 64e50ec

Please sign in to comment.