Commit graph

172 commits

Author SHA1 Message Date
JetBoom
463c1ace11 Fix colors not updating on some text items due to gmod update
Add start of a main / splash menu
2015-03-09 20:14:53 -04:00
JetBoom
33b18089e5 Maximum of 7 turrets active at once
Blaster ammo capacity 6 -> 5
2015-03-09 14:26:27 -04:00
JetBoom
bd937c290e Large backend update
Players are no longer implicitly zombies if they're not humans. Players
are no longer implicitly humans if they're not zombies. This is
preparation for a third, optional spectator team.
A few small optimizations and fixes.
2015-03-09 13:45:47 -04:00
Ben
40034ab490 Fixed boss text appearing when all players become invalid 2015-02-09 00:32:22 +00:00
Ben
99f8ccf38e Zombies now have same transparency effects as humans
+Also fixed boss text appearing when all players stop being valid
2015-02-09 00:31:13 +00:00
Ben
9250e144a7 ZVision now uses human aura colours in options menu. 2015-02-08 23:41:42 +00:00
Ben
74a9be8ea6 Reduced pp effects on ZombieVision, making it clearer.
-Light no longer looks like it's source is far from the player.
-The visible distance is greatly increased.
-The sound effect has been changed from reverb to a minor deadening one.
2015-02-08 22:38:21 +00:00
Ben
9c13ad1eeb Prevented being able to crouch jump through barricades
The player stops moving on the first instance of ghosting.
2015-02-08 21:20:49 +00:00
Ben
355680edf8 Added class name notification of the next boss 2015-02-05 21:44:39 +00:00
Ben
d52b9f8b1f Added case for telling the user that they will be boss 2015-02-04 03:07:46 +00:00
Ben
69a4e5a03d Added HUD display to show who will become a boss.
Shows to any Zombie as they are waiting for a new wave to start.

(Need new translations for this)
2015-02-04 01:50:25 +00:00
Ben
0c263ccea5 Added option to prevent being picked as a boss zombie.
Accessible by option menu checkbox or "zs_nobosspick 1"
2015-02-03 04:13:48 +00:00
Ben
08e90a1d8a Fixed base gun display on scrolling to a map slot weapon. 2015-01-30 23:56:38 +00:00
Ben
f6034b5296 Added a system to chain arguments through source and gamemode entities. 2015-01-30 23:55:12 +00:00
Ben Clark
411b1c668b Prevented base gamemode call for vehicles. 2015-01-23 14:54:50 +00:00
JetBoom
dd4bbc5f70 License clarifications
No terms updates. Only clarifications.
2015-01-19 16:40:27 -05:00
Ben Clark
4b98a961dd Fixed typo in FGD for weapon_zs_arsenalcrate
weapon_zs_acrate -> weapon_zs_arsenalcrate
2015-01-12 22:25:29 +00:00
Ben
c15a087698 Added Failed/Passed Outputs when picking up items
Added OnPickupFailed and OnPicupPassed to both prop_weapon and
prop_weapon
2015-01-11 21:50:35 +00:00
JetBoom
57cbcc0b1e Fix possible IsValid error in PlayerSelectSpawn
Addresses https://github.com/JetBoom/zombiesurvival/issues/97
2015-01-10 00:23:32 -05:00
JetBoom
13125a7ce2 Fix assuming valid players on PlayerCanHearPlayersVoice
Addresses https://github.com/JetBoom/zombiesurvival/issues/99
2015-01-10 00:19:48 -05:00
JetBoom
77fea51273 Fix multiple nails stopping constraints being removed on dead prop.
Addresses https://github.com/JetBoom/zombiesurvival/issues/100
2015-01-10 00:15:00 -05:00
Ben
02c0808e4c Added color and position modifiers to point_zsmessage
New keyvalues: textcolor and position
New inputs: settextcolour and setdisplaytime

Color is any "R G B" string
Position is either "Center" or "Top Right" ("top" if not using
smartedit)"
2015-01-09 03:10:57 +00:00
Ben
65534fbadf Added "Display Time" functions to ZS notifications
Mappers can now specify how long a HUD message lasts on screen in
seconds.
2015-01-08 23:26:19 +00:00
JetBoom
81820d6e8b Fix Lua error involving GetProp
Addresses https://github.com/JetBoom/zombiesurvival/issues/91
2015-01-01 18:48:31 -05:00
JetBoom
63849dcaa4 Fix rare Lua error about LifeHumanDamage being nil
Addresses https://github.com/JetBoom/zombiesurvival/issues/93
2015-01-01 18:26:36 -05:00
Ben
1baf4af3e4 Fixed/Included changes in previous commit
+Added Empty keyvalue for giving ammo-less weapons
2015-01-01 16:38:11 +00:00
Ben
2dd3f322e1 Added forcepickup functions to ammo
+cloned new functions added in prop_weapon to prop_ammo

+added "ignoreuse" and ability to change what type of ammo or weapon the
entity is
2014-12-31 18:53:13 +00:00
Ben
53e454fe1b Added forcepickup functions to weapons
+Added givetoactivator input so mappers can give weapons to a specific
person.

+Also added neverremove and ignorepickupcounters so that the weapons can
be picked up (or forced) on multiple people.
2014-12-31 03:21:29 +00:00
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
JetBoom
0c3d50dfad Fix client side error with z9000 shots. 2014-12-23 18:24:31 -05: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
JetBoom
8dffa52522 Fix boss zombies spawning at boss spawns after death.
PlayerSelectSpawn is called before PlayerSpawn...
2014-12-21 07:34:48 -05:00
JetBoom
358fa13ab3 Fix client side error when shooting player legs. 2014-12-20 12:20:04 -05: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
11c4a73414 First noxapi implementation. No functionality yet.
This is a test to see if the cache feature is working and the API calls
are within reasonable amounts.
2014-12-19 08:08:12 -05:00
JetBoom
8cbfdaf59f Fix errors from last commit. Better anti bhop.
Players no longer get leg damage unless they take damage from the fall.
Anti bunny hopping script remade and now applies to all players
regardless of leg damage, team, or zombie class.
2014-12-19 01:50:23 -05: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
William Moodhe / JetBoom
2678e83ef9 Merge pull request #65 from BClark09/patch-1
Fixed gamemode ignoring MaxAmmoPickups
2014-12-17 20:46:58 -05:00
Ben Clark
25270d9a60 Fixed gamemode ignoring MaxAmmoPickups
GAMEMODE.MaxAmmoBoxPickups -> GAMEMODE.MaxAmmoPickups
2014-12-18 00:08:15 +00:00
Ben Clark
6105ae4298 Added Parentname to several entities in FGD
point_worldhint (Can be parented to objects or players)
prop_ammo
prop_playergib
prop_weapon
2014-12-16 11:01:13 +00:00
Ben
10126eced6 Various additions to FGD
+ Added logic_stripweapons
+ Added weapon_map_base
+ Gave prop_nail "angles" keyvalue
2014-12-15 18:59:53 +00:00
Ben
1f401dba4e enabled use of weapon_map_base in default ZS
Prevented weapon_map_base from being deleted so that people could use it
as a tool for creating map made custom weapons in non-ze game types.
2014-12-15 18:58:10 +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
e85738f7d2 Added keys and new inputs to logic_winlose in FGD 2014-12-10 01:58:20 +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
18a98a6110 Added cleanupfilter for spawns in Zombie Escape
Some maps move the spawns for each level.
2014-12-10 01:53:32 +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
JetBoom
6467ed8dbd Fix typo causing errors when Spanish users switch class. 2014-12-07 14:58:07 -05:00
Ben Clark
3d64d99e2a Increased general movement speed in Zombie Escape
Increased speed for bot Zombies and Humans with both weapons by a flat 30 so that more ZE maps with jumps and timed retreats can be included.
2014-12-03 23:57:12 +00:00
JetBoom
301d0606ab Fix 2 pulse ammo costing same as 5 pulse ammo.
Pistol ammo from store price 6 -> 7.
2014-12-03 12:20:27 -05:00
Ben
5556520f31 Added two entities to the FGD
+info_custommessage
+weapon_zs_butcherknife
2014-11-30 17:04:17 +00: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
William Moodhe / JetBoom
5b96000830 Merge pull request #45 from BClark09/master
Added cases for func_physbox_multiplayer
2014-11-27 10:52:56 -05:00
JetBoom
e9cf988143 Fix dropped weapons + ammo counting towards logic_pickups. 2014-11-26 09:27:17 -05:00
JetBoom
64bd994e0f Fix redeem brain convar not syncing.
The convar is replicated so this shouldn't be needed, but whatever.
2014-11-24 10:53:21 -05:00
JetBoom
9100fd7295 Fix pendboard error while loading in. 2014-11-23 14:56:59 -05:00
JetBoom
2a5f127fd1 Fix hammer error. 2014-11-23 05:20:41 -05:00
Ben
cc7bb76139 Added cases for func_physbox_multiplayer
Used in a few counter-strike maps
2014-11-22 18:41:04 +00:00
JetBoom
6d5ed28bbf Fix medical aura persisting when it shouldn't. 2014-11-21 02:28:59 -05:00
JetBoom
f9c12c63b3 Fix typo in GetNailOwner 2014-11-21 02:24:24 -05:00
JetBoom
de057a7fc6 Fix zs_noredeem convar not working. 2014-11-19 09:16:46 -05:00
JetBoom
050489f281 Disable message beacon about force fields.
They aren't available so no point to have this.
2014-11-19 09:14:17 -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
74035790dc Moved CSSWEAPONS from global to local
There's no reason to have it in globals if it's only used in one place
2014-11-16 04:54:53 +00:00
Ben
b83b5c56d5 Added support for hammer made weapons in ZE
- Restricted each player to using only one of these special weapons per
round.
2014-11-16 02:42:34 +00: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
Ben Clark
9dd3c5d071 weapon_zs_manhack -> weapon_zs_manhack_saw 2014-11-12 23:33:06 +00:00
Ben Clark
2ccd686c57 Added newer crafting weapons to the FGD
+weapon_zs_manhack
+weapon_zs_waraxe
2014-11-12 18:13:26 +00:00
JetBoom
94beb0f792 Correction to controls_ghoul 2014-11-11 22:21:59 -05:00
JetBoom
9c7c9b5339 Fixed nail health lower if nailed while holding. 2014-11-11 20:25:52 -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
745b69bffc Fix a stupid moment. 2014-11-09 23:38:53 -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
2cef7419fe Fixed typo. 2014-11-09 17:38:40 -05:00
JetBoom
a5188d9f68 Zombie gas spawns on zm_ maps.
Altered zombie gas creation logic.
2014-11-09 17:36: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
aad1c56f47 Fix mistake in last commit. 2014-11-09 05:12:44 -05:00
JetBoom
dcaaf991d9 Shade can be damaged through glass. 2014-11-09 05:11:22 -05:00
JetBoom
ae4c103a42 Remove windows slashes + caps in $basetexture 2014-11-09 03:50:21 -05:00