Commit Graph

900 Commits

Author SHA1 Message Date
197eb861bd Improve custom knockback API 2019-09-28 16:12:17 +02:00
bb37965670 Cleanup duplicated code, and a big wtf?
offsActiveWeapon was never declared, guess we never found out because the functions where unused. WeaponsGetActiveWeaponSlot is still unused, leaving in might be usefull somewhen in the future.
2019-09-28 13:19:56 +02:00
78993cbc70 Add support for DamageProxy plugin. 2019-09-27 22:02:12 +02:00
e83239e053 Read offset from gamedata instead of hardcoded. 2019-09-27 17:23:39 +02:00
dfc024b3d8 change KnockbackOnClientHurt to KnockbackOnTakeDamageAlivePost 2019-09-27 16:40:58 +02:00
d75e123e35 fix warning caused by compiler update 2019-09-27 13:17:30 +02:00
76ffbe7e13 Update spcomp and includes to latest 1.10-fork
disable warning 241: Array-based enum structs will be removed in 1.11
2019-09-27 13:16:54 +02:00
f073789ef3 use new OnEntitySpawned forward 2019-09-27 13:04:30 +02:00
e4b208a27a ZSpawn: Fix slight bug?
This shouldve probably been here from the start, just fixing this cause its my oversight.
2019-09-20 12:18:42 +02:00
Dogan
d4ae0358e5 ZR roundend: hide fakes 2019-09-01 13:42:40 +02:00
ba9e676114 General: Clean up the weaponslot management. 2019-08-23 15:25:00 +02:00
5f6caefe72 fix sourcetvmanager to actually be optional 2019-08-19 15:26:37 +02:00
435b6fe472 Merge branch 'master' of https://git.unloze.com/UNLOZE/sm-zombiereloaded-3 2019-08-19 15:24:26 +02:00
2a2d676626 General: Fix auto zspawn ignoring zspawn disables. 2019-08-19 15:24:17 +02:00
neon
b7d142d3bd SourceTv 2019-08-19 15:12:15 +02:00
neon
1316fa2a18 fuck ZR? 2019-07-14 20:25:30 +02:00
neon
8339dd6e5f ZR: oops 2019-07-14 20:14:50 +02:00
neon
d46bc97bd1 ZR: adding forwards for Napalm 2019-07-14 20:07:25 +02:00
ca0d766afb Update weapons.txt 2019-04-12 01:59:27 +02:00
96fec3705b Update weapons.txt 2019-04-12 01:36:48 +02:00
e85d8cd92e Update weapons.txt 2019-04-12 01:28:15 +02:00
b824095b82 ZSpawn: Exclude SourceTV client from auto zspawn. 2019-03-25 00:54:28 +01:00
35d7190ba2 ZSpawn: Hopefully fix the random deaths.
Seems it all happening together with the game logic caused some random death issues. Hopefully thats fixed now.
2019-03-10 21:39:27 +01:00
6334246ced ZSpawn: Add auto zspawn. 2019-03-10 19:59:20 +01:00
177d9217b8 ZMarket: Yet another location. 2019-03-10 19:59:04 +01:00
4a4ae4dc1e General: Make fire grenades also ignite zombies. 2019-03-09 14:39:09 +01:00
431b444e1f ZMarket: Only grab 'zmarket' name on CSGO.
CSS doesnt fuck up capitalization, unlike CSGO...
2019-03-09 13:54:06 +01:00
10461e8ba4 ZMarket: Rework display name system, it applies to all menus now. 2019-03-09 13:44:42 +01:00
96c640b58d General: Fix random csgo extra slots not being stripped propperly.
Yeah this couldve been written cleaner, this way its atleast slightly future proof. Since slot 13 is currently the last slot.
2019-03-09 12:40:29 +01:00
c5bcfa65a8 Misc: Add CSGO content.
Fuckin had to recreate the weapons.txt. Yikers (Still gotta do `ammotype`.)
2019-03-09 12:39:25 +01:00
e3e06792c5 General: Add include update. 2019-01-23 18:53:59 +01:00
a251f6b755 General: Add in a API call to hide infection timer. 2019-01-23 18:48:00 +01:00
0c6b863c00 General: Doh, 'player_spawn' fires for spectators.
Who knew? I totally didn't.
2018-09-08 16:03:32 +02:00
811c5ccb72 General: Move some code around.
Move the 'human' code back to its original location, and call the
infection function instead when they should be infected, instead of
doing it forcefully. That caused issues whenever there was a situation
of a warmup round ect. blocking infections.
2018-09-06 13:50:30 +02:00
c8f7964a0c General: Hande another case, and change some stuff.
Forgot to change these when i copied it, and didnt think about the case
what would happen w/e zspawn is blocked.
2018-08-29 16:21:27 +02:00
c32cda3fc9 General: Apply ZSpawn logic on late spawners.
Improvement on `a45be16399`
2018-08-28 14:54:42 +02:00
9f157e14e9 General: Clean up some stupid stuff. 2018-08-28 13:25:24 +02:00
252392c433 Revert "General: Allow auto infection on 'late' spawners."
This reverts commit a45be16399.
2018-08-28 13:22:54 +02:00
a45be16399 General: Allow auto infection on 'late' spawners.
Catch people that automatically spawn after motherzombie infection, and
make them spawn as zombies. On CSS for example you automatically spawn
if you spawn between round start and 20 seconds after, thus avoiding the
need of zspawn.
2018-08-23 20:07:40 +02:00
ced7d3c352 General: Dont apply model if not precached. 2018-08-13 16:07:04 +02:00
dc8ea3be56 General: Fix regen issue introduced in 870ef51197
Woops, didnt think about players that have more then the limit, when the
regen would kick in.
2018-07-31 23:53:57 +02:00
9676fb9852 General: Convert TABs to spaces.
Some files appeared to not follow their own rules, check codestyle.txt
2018-07-30 21:53:45 +02:00
651dd9921a CSGO: Add 'zmarketname' to fix keyvalues case bug.
https://forums.alliedmods.net/showpost.php?p=2220583&postcount=5, for
explanation.
2018-07-30 14:50:58 +02:00
fa758698c6 General: Woops, forgot this one. xP 2018-07-29 15:14:22 +02:00
f5245b0920 General: Clear knife slot entirely instead of once.
Since the taser would remain, and would break shit. :P
2018-07-29 15:13:31 +02:00
870ef51197 General: Clamp health regen to max instead.
Cause before it wouldnt apply if the health + regen > max health regen.
Now it clamps instead :>
2018-07-29 15:05:33 +02:00
neon
9b2dc6f721 'src/zr/roundend.inc' ändern 2018-07-23 02:10:30 +02:00
997f2d2071 General: Fix neon's indents. (╯°□°)╯︵( .o.) 2018-07-22 16:25:36 +02:00
neon
2753ac3da7 ZR is dumb 2018-07-22 16:16:55 +02:00
neon
908766a551 added cvar to determine winning team when time runs out 2018-07-22 16:14:39 +02:00