Commit graph

48 commits

Author SHA1 Message Date
Ben
82c66bbd90 Fixed class switching bug in trigger_zombieclass
The entity no longer gets stuck in a loop when changing to "large"
class.
2014-12-30 16:32:48 +00:00
Ben
3df834895c Filter in trigger_zombieclass now takes lists
Seperate multiple classes with commas in the onlywhenclass keyvalue.
2014-12-27 20:50:43 +00:00
JetBoom
7c67ef1fdc Remove points from refilling turrets.
Fixes an infinite points exploit.
2014-12-26 22:50:43 -05:00
Ben
d5c00a6496 Added trigger_zombieclass class filtering
The trigger_zombieclass entity now has a control which can enable the
class change only when the correct zombie class has entered the brush.
2014-12-24 03:16:15 +00:00
William Moodhe / JetBoom
87bc493492 Merge pull request #75 from BClark09/patch-2
Fixed error model when weapon_map_base is forced to drop.
2014-12-23 11:29:29 -05:00
JetBoom
714f3e88a6 Fix noxapi thinking all are supporters.
Changed zombiegasses effects.
2014-12-23 11:26:08 -05:00
Ben Clark
a944dfdd2c Fixed error model when weapon_map_base is forced to drop. 2014-12-22 14:40:04 +00:00
Ben Clark
3f1e80110a Fixed nails not being created
Gave defaults as initialize doesn't seem to be working as it should do.
2014-12-20 02:42:55 +00:00
JetBoom
c7ca128f3f Gun turret ammo fix.
Gun turrets no longer store their ammo in a separate table. Instead, the
user gets 250 SMG ammo when they buy it. The turret then removed 250 (or
less) from the player when it is placed.
2014-12-19 00:52:29 -05:00
Ben
3e40769454 Added nail functions previously described in FGD
+NailUnremovable
+SetHealth
+HealthOveride
+HealthMultiplier
2014-12-18 02:00:45 +00:00
Ben Clark
25270d9a60 Fixed gamemode ignoring MaxAmmoPickups
GAMEMODE.MaxAmmoBoxPickups -> GAMEMODE.MaxAmmoPickups
2014-12-18 00:08:15 +00:00
Ben
3e23a89326 Added logic_stripweapons entity
Specific entity to remove a weapon that targets a player activator
holds:

--keys--
keepfists: If yes, the stripallweapons input strips all weapons but
fists

--Inputs--
stripweapon: Strips a single weapon as mentioned in arguments
stripallweapons: Strips all weapons the activator has
setkeepfists: If 1 the stripallweapons inputs strip all weapons but
fists
2014-12-15 18:55:23 +00:00
Ben
e0604b8fb8 Fixed fists returning to an incorrect move speed
Also fixed fists not having a faster speed for Zombie Escape and not
switching to that speed when initially switching to that weapon.
2014-12-10 01:56:00 +00:00
Ben
35513c24d0 Fixed typo in logic_winlose for endcamerapos
setendcamerapos -> endcamerapos
2014-12-10 01:52:14 +00:00
JetBoom
db061a1ec3 Remove useless SetTeamID functions. 2014-12-07 15:02:40 -05:00
Ben
ffe67db5e4 Added new entity info_custommessage
Allows map editors to concatenate a sequence of strings and then
displays it using one of the pre-existing messaging entities, useful for
A = B/C messages.

Keys:
displayentity(targetname) : The entity used to display the message, can
be a targetname of a class game_text, point_worldhint or point_zsmessage
zsmessagemode(choices) : If using a point_zsmessage, select the method
of display with this key
"0"  : "Centred HUD Message"
"1"  : "Corner Human HUD Message"
"2"  : "Corner Zombie HUD Message"
string01(string) : Part 01 of the full string
string##(string) : Part ## of the full string, there can be up to 99 of
these.

Inputs:
displaystrings(string): Concatenates and displays the full string using
the attached entity
setstring##(string) : Sets part ## of the full string, there can be up
to 99 of these.

Outputs:
OnDisplayed : Called when the message has successfully displayed.
2014-11-30 17:01:58 +00:00
JetBoom
e9cf988143 Fix dropped weapons + ammo counting towards logic_pickups. 2014-11-26 09:27:17 -05:00
JetBoom
2a5f127fd1 Fix hammer error. 2014-11-23 05:20:41 -05:00
JetBoom
6d5ed28bbf Fix medical aura persisting when it shouldn't. 2014-11-21 02:28:59 -05:00
JetBoom
b9e182385f Fixed rare errors.
Consider possibility of nil or NULL being a value in the tables returned
from util.FindInSphere, util.FindInBox, and ents.GetAll.
2014-11-19 09:07:50 -05:00
JetBoom
15d3347371 Fix IsNailedToWorldHierarchy + prop_playergib errors. 2014-11-16 19:02:13 -05:00
William Moodhe / JetBoom
07743641a6 Merge pull request #26 from BClark09/master
Added support for hammer made weapons and enabled them on ZE
2014-11-16 05:25:24 -05:00
JetBoom
b3fb23f63e Fast Zombie pounce reach 32 -> 26 2014-11-16 05:23:27 -05:00
JetBoom
20b510af8a Fix up fast zombie pounce behavior.
Pounces no longer hit the floor.
Pouncing facing down will no longer pounce upwards.
Reduced pounce hit box size 32 -> 24
2014-11-16 05:21:55 -05:00
JetBoom
e76f3779d8 Fix breath instantly filling when leaving func_noair. 2014-11-16 04:54:11 -05:00
JetBoom
1ad5554c16 Fix func_noair not working. 2014-11-16 04:47:35 -05:00
Ben
1d538e1c90 Created inert weapon base for hammer made weapons
Weapons using this base:
- Cannot be selected from the player's HUD
- Cannot be dropped or seen in-game
- Switch to "weapon_zs_fists" if switched to forcefully
2014-11-16 02:41:28 +00:00
JetBoom
d49bd320d8 Fix slug rifle always showing 9999 damage. 2014-11-14 03:20:18 -05:00
JetBoom
4ece4c30ea SetHoldType -> SetWeaponHoldType
No idea who coded the new weapon hold type setting but it's horrible and
broken.
2014-11-11 19:15:49 -05:00
William Moodhe / JetBoom
8920bd2cf1 Merge pull request #15 from BClark09/patch-1
fixed being able to pickup pistol ammo anytime
2014-11-11 00:06:18 -05:00
Ben
de2f478e85 Revert to 66fead7 2014-11-11 02:13:22 +00:00
Ben Clark
29a42549f1 fixed being able to pickup pistol ammo anytime
Gave fists an ammo type so that the check made GAMEMODE.weaponrequiredforammo can function as intended.
2014-11-11 01:09:01 +00:00
Ben Clark
46aedb2990 Changed function call from KeyValue to SetKeyValue 2014-11-11 00:31:56 +00:00
Ben
66fead7e96 Added ability to disable bosses using logic_classunlock
-Added Key "bossesenabled"
-added input "setbossesenabled"
-Updated FGD with above changed
-Cleaned up FGD
2014-11-10 13:28:36 +00:00
JetBoom
6af66c30a5 SetWeaponHoldType -> SetHoldType 2014-11-10 00:26:49 -05:00
JetBoom
0bbff7e4dd Added fists.
Added fists.
Fixed insane knockback on melee.
Ragdolls on zombies now knocked back by melee/stone deaths.
2014-11-09 22:51:43 -05:00
JetBoom
8e1e8f6d8f Added point floaters to healing other players.
Added point floaters to healing other players.
Fixed medic aura interfering with transparency radius.
2014-11-09 18:28:31 -05:00
JetBoom
983d9ce87e Fixed GAMEMODE.NoRedeeming being ignored.
Fixed GAMEMODE.NoRedeeming being ignored by the gamemode.
For maps which are not objective maps, but only have one wave, redeeming
is now enabled if there are 5 or more minutes remaining in the wave.
Previously it was disabled completely.
2014-11-09 17:30:30 -05:00
JetBoom
dcaaf991d9 Shade can be damaged through glass. 2014-11-09 05:11:22 -05:00
JetBoom
45b5b7e952 Slug Rifle headshot damage now displays 9999.
Slug Rifle headshots now display 9999 as their damage value (this is
only display damage, the actual damage isn't even relevant).
Slug Rifle passive no longer works on bosses.
2014-11-08 23:14:15 -05:00
JetBoom
1d517c5375 Fixed fast zombie being crippled if interrupted pre-pounce. 2014-11-08 23:01:54 -05:00
JetBoom
53743b1aee Merge with current nox changes.
Random starting loadouts now include things that aren't weapons (ammo,
traits, etc.).
Added an option to disable the automatic suicide when changing zombie
classes.
Zombies will no longer receive damage resistance when only one human
remains.
Players can no longer claim the arsenal crate that gets spawned in the
human spawn when nobody has one. Any player can pack it up though.
The Ghoul's ghoul touch special ability has been changed. It will no
longer slow targets but will debuff them for the next 10 seconds. They
will take 40% more damage (the extra damage is attributed to the person
who ghoul touched them last) for the next 10 seconds as well as slightly
disorienting them.
The Ghoul movement speed has been reduced from 185 to 170.
Added crafting recipe: 'Waraxe' Handgun. Combine two 'Battleaxe'
Handguns to craft this. Slightly better version of the Owens.
The Flesh Creeper model has been changed to one that doesn't have
severely awkward hitboxes.
The Flesh Creeper can no longer jump and attack at the same time.
The Lead Pipe special trait has been changed from a disorientation to a
severe view punch/snap on a global cooldown of 1.5 seconds.
The Regenerative trait is now 1 health every 6 seconds under 50% health
instead of 1 health every 5 seconds under 50% health.
Fast Zombie Legs have been changed to be a slightly faster but slightly
weaker version of Zombie Legs.
Zombies that have just spawned or enter zombie gas will now have a
temporary buff which gives 25% extra speed and 40% damage resistance.
This buff lasts for 3 seconds and is refreshed by entering the gas. Gas
will no longer heal. Zombies with this buff on will strobe dark green.
Added crafting recipe: Bladehack. Combine a saw blade with a manhack to
get this. Slower but has more health, does more damage, and has less of
a knockback when hitting something.
Resupply Boxes now award the owner a point for every 2 people who use
their box instead of every single person (so half as many points).
Fixed Fast Zombie Legs spawning much more abundantly than intended.
Fixed Flesh Creepers not being able to jump over obstacles due to their
insanely low jump height.
Fixed zombies taking themselves in to account when calculating horde
damage resistance (bosses always had full resistance because of this).
Fixed allowing people to use worth menu after redeeming.
2014-11-07 00:03:40 -05:00
JetBoom
442f46a3f7 Fixed logic_pickups not restarting on round change.
Fixed logic_pickups not restarting on round change.
Fixed rare heal dart Lua error.
Fixed zombie class unlock messages being wrong on some maps (moved
messages to server side).
2014-11-04 15:41:30 -05:00
Ben
a187cc1c09 Added "spawnboss" input in trigger_bossclass
Uses the gamemode sort function to turn the highest scoring zombie into
a boss.
2014-10-31 16:34:49 +00:00
Ben
f2bb74219a Replaced GetAngles() with EyeAngles() 2014-10-30 13:39:01 +00:00
Ben
e42753beae Fixed angles-snap to (0,0,0) on forced classchange
Edited trigger_zombieclass so that it saves the original view angle of
the player
2014-10-29 21:50:21 +00:00
Ben
cb1818b86f Added trigger_bossclass
A new brush entity which turns the zombie who enters the volume into
their chosen preferred boss:

Keyvalues:
enabled - Enable the brush entity.
silent - If yes then then the server does not announce that a player has
become the new boss.
instantchange - If yes then anyone who gets swapped will instantly be
changed right on the spot.

Inputs:
enable(void) : Enable the entity.
disable(void) : Disable the entity.
seton(integer)  : Set Enabled keyvalue.
setsilent(integer) : Set Silent keyvalue.
setinstantchange(integer) : Set Change Instantly keyvalue.

Outputs:
OnBossTouched  : Set when a boss starts touching the brush. Is not fired
when a zombie becomes a boss in this volume.
2014-10-29 21:45:33 +00:00
JetBoom
6d9042e93d Imported from SVN. 2014-10-01 20:49:54 -04:00