From 10126eced6023273e1fc4358cf2386e9db6d83ee Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 15 Dec 2014 18:59:53 +0000 Subject: [PATCH] Various additions to FGD + Added logic_stripweapons + Added weapon_map_base + Gave prop_nail "angles" keyvalue --- gamemodes/zombiesurvival/zombiesurvival.fgd | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/gamemodes/zombiesurvival/zombiesurvival.fgd b/gamemodes/zombiesurvival/zombiesurvival.fgd index 84cf2ca..ec5cc58 100644 --- a/gamemodes/zombiesurvival/zombiesurvival.fgd +++ b/gamemodes/zombiesurvival/zombiesurvival.fgd @@ -1,5 +1,5 @@ ////////////////////////////////////////////////////////////////////////////////// -// NoXiousNet Zombie Survival FGD - Last Edit by Benjy (9th December 2014) // +// NoXiousNet Zombie Survival FGD - Last Edit by Benjy (15th December 2014) // // If there are any bugs with this file, or any additions that need to be made // // make a post at: http://www.noxiousnet.com/forums/index.php?topic=14910 // ////////////////////////////////////////////////////////////////////////////////// @@ -404,7 +404,7 @@ output OnClassUnlocked(void) : "Called when the class we're watching's class is unlocked by the game. This output isn't called if the class is unlocked by any logic_classunlock entities, only by the game." ] -@PointClass studio("models/crossbow_bolt.mdl") base(Targetname) = prop_nail : "ZS: Allows you to manually place nails." +@PointClass studio("models/crossbow_bolt.mdl") base(Targetname,Angles) = prop_nail : "ZS: Allows you to manually place nails." [ // Keys healthoverride(integer) : "Health Override" : 210 : "Sets the nail's maximum health to a specific number." @@ -604,10 +604,27 @@ output OnDisplayed(void) : "Called when the message has successfully displayed." ] +@PointClass base(Targetname) = logic_stripweapons : "ZS: Allows the map to strip all or specific weapons by classname" +[ + // Keys + keepfists(choices) : "Keep Fists" : 1 : "If yes, the stripallweapons input strips all weapons but fists" = + [ + 0 : "No" + 1 : "Yes" + ] + + // Inputs + input stripweapon(string) : "Strips a single weapon as mentioned in arguments" + input stripallweapons(string) : "Strips all the weapons the activator has, keeps fists if flag is true" + input setkeepfists(integer) : "If 1 the next stripallweapons inputs strip all weapons but fists" +] + /////////////////////////////////////////////////////////////////////////////////// // Gamemode - Worth Weapons + Items /////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////// +@PointClass base(Weapon) = weapon_map_base : "Used for creating parentable map made weapons" [] + @PointClass base(Weapon) studio("models/weapons/w_pistol.mdl") = weapon_zs_owens: "Ammo Type: Pistol.\n"+ "A late starting pistol to be added to the game, has the highest damage potential of a starting pistol. It shoots 2 shots which together deal 16 damage. Its primary downside is that it has a lower accuracy than the peashooter and that crouching and using iron sights doesn't improve its accuracy unlike the battleaxe. Since its addition into the game it has been the favorite starting pistol among players up until the ammo nerf and updates of autumn 2009." []