Commit Graph

586 Commits

Author SHA1 Message Date
Vaqtincha
9b7b1695a9
escape feature for bots (#1012) 2024-09-17 16:35:21 +07:00
s1lentq
3f628ea970 DeathSound: Don't interrupt pain sounds with death sound, use any available channel instead 2024-09-17 02:49:27 +07:00
s1lentq
19714af6e6 get rid of unsafe string functions
minor refactor
2024-09-13 06:43:27 +07:00
Vaqtincha
3cf66de905
fix mp_kill_filled_spawn (#1011) 2024-09-13 04:22:08 +07:00
s1lentq
dc16b12d79 [skip ci] VisualStudio: Add auto visualizer for some structures/classes 2024-08-25 05:45:09 +07:00
s1lentq
8b6d659077 Implemented simple player movement version control to avoid desync
Bump minor API version
2024-08-16 09:53:11 +07:00
Vaqtincha
4e1cb1091f fix Deagle animation (#985) 2024-08-14 12:35:00 +03:00
Francisco Muñoz
b6c2c62e8b
Added mp_vote_flags and mp_votemap_min_time cvars (#990)
* Added mp_vote_flags cvar
* Added mp_votemap_min_time cvar
* Cvars on README
* game.cfg cvars
* Ensure timers check before new restrictions
2024-08-12 13:45:54 +07:00
Francisco Muñoz
c7bd4af9b6
Cache ObjectCaps call inside PlayerUse (#991)
Not really useful, discovered while testing on 3rd party plugins that ObjectCaps was being called unnecessarily more than once per entity
2024-08-12 13:45:21 +07:00
Francisco Muñoz
fee10d8ba8
Fix Shotguns reload flag not getting reset on weapon changing (#993) 2024-08-12 13:40:09 +07:00
Francisco Muñoz
c48be87474
Extend KickBack functionalities (#980) 2024-08-06 08:11:59 +07:00
s1lentq
77a3f2b25b try fix a crash due to the deletion of an item in an unusual way
related #870, #752, #924, #957
2024-08-06 07:19:58 +07:00
s1lentq
279799bff9 Add support IN_RUN key for +speed button in spectator/noclip and walk moves
Add cheat impulse for enable Noclip with air accelerate
2024-08-06 05:03:10 +07:00
s1lentq
a47d55823f Fix compiler warnings 2024-08-06 03:26:10 +07:00
Sergey Shorokhov
9d9c2de1ff
Feature: ConVars for weapon/item/ammo respawn time (#983)
* `CBasePlayerAmmo`: check spawnflags on `Spawn()`

* `CBasePlayerItem`: check spawnflags on `Materialize()`

* `CBasePlayerItem`: Add `Respawn()` item when hasn't specific spawnflags

* `CBasePlayerItem`: remove `SF_NORESPAWN` flag on `Respawn()`

* Use forgotten `AMMO_RESPAWN_TIME`

* new ConVars: `mp_item_respawn_time`, `mp_weapon_respawn_time`, `mp_ammo_respawn_time`
2024-08-03 20:17:52 +03:00
Sergey Shorokhov
a202425dd7
Fix: ammo/weapons respawn behavior (#982)
* `CBasePlayerAmmo`: check spawnflags on `Spawn()`

* `CBasePlayerItem`: check spawnflags on `Materialize()`

* `CBasePlayerItem`: Add `Respawn()` item when hasn't specific spawnflags

* `CBasePlayerItem`: remove `SF_NORESPAWN` flag on `Respawn()`

* Use forgotten `AMMO_RESPAWN_TIME`
2024-08-03 20:11:08 +03:00
Vaqtincha
8005dd9ca3
Fix bot_kill command (killed already dead bots) (#974) 2024-07-09 00:53:21 +07:00
s1lentq
ad1c58cef5 Add bot_mimic 2024-06-03 01:57:21 +07:00
s1lentq
fef9bf3a87 mp_defuser_allocation: Send a message with a hint instead of the text in the center 2024-06-03 00:29:00 +07:00
s1lentq
bdc96d26d9 Minor rework bot_quota_mode fill 2024-06-03 00:28:57 +07:00
s1lentq
c7be8bfe7c MULTIDAMAGE: make check entity safe
ApplyMultiDamage: Fixed potential crash when in TakeDamage hook causes another additional damage
2024-05-31 23:21:37 +07:00
s1lentq
7372573c89 Add UTIL_IsValidPlayer
Ignore dormant players
Minor refactoring
2024-05-29 00:23:28 +07:00
s1lentq
9f66264562 KillOfRarity: Add feature in-air kill 2024-05-09 02:38:12 +07:00
s1lentq
8706cc5a10 KillRarity Domination: Don't consider suicides to be unanswered killing 2024-05-09 00:30:57 +07:00
s1lentq
8ff1bf1232 Fix typo 2024-05-08 23:01:02 +07:00
Federico Matías
8ec5b6cd0f
Fix SendDeathMessage kill rarity flags and transform to VFUNC (#943)
* implement VFUNC to `SendDeathMessage`
* fix use KILLRARITY_HEADSHOT flag instead of member
* fix rare crash when pAssister is nullptr
* fix KILLRARITY_DOMINATION_BEGAN flag
This flag was never valid in "SendDeathMessage" hook
* set iDeathMessageFlags before call function
2024-05-08 22:59:40 +07:00
Francisco Muñoz
4ecf42799d
Fix ApplyMultiDamage duplicated call on MultiDamage routine (#946) 2024-05-08 22:18:36 +07:00
肯定龙
d7f22ae3ec
Restart trigger_multiple (#935) 2024-05-08 22:18:24 +07:00
Lê Hàn Minh Khang
75f142e18a
Add trigger_teleport landmark (#952)
* Add trigger_teleport landmark
2024-05-08 21:52:41 +07:00
肯定龙
8cd9086937
Implement game_round_end and game_round_freeze_end triggers (#949)
* Implement `game_round_end` and `game_round_freeze_end` triggers
2024-05-08 20:59:27 +07:00
Javekson
0626800fbb
Implement RemoveAllItems hook (#960) 2024-05-08 14:50:53 +07:00
Vaqtincha
d5eb9c34d2
don't send radio message to teammate (if freeforall 1) (#958)
* don't send radio message to teammate (if freeforall 1)
* don't send message zero length
2024-04-15 15:49:44 +07:00
s1lentq
f24cccfe73 Fix linux build 2024-04-08 16:47:02 +07:00
s1lentq
5117374a27 Separate mp_location_area_info from chat and radar
Add fallback location message for chat
2024-04-08 16:42:08 +07:00
s1lentq
279bd6421b Fix crash 2024-04-08 12:41:22 +07:00
s1lentq
8c14d05168 Add fallback place names if BotChatter.db is missing 2024-04-07 18:49:08 +07:00
s1lentq
1ae0091947 Added CVar mp_location_area_info for display location area info in HUDs radio chat and below radar 2024-04-07 16:41:56 +07:00
s1lentq
f711276d8a ignore kill assist when victim killed himself while changing team 2024-04-04 19:31:27 +07:00
s1lentq
a546997723 CWeaponBox::Touch: Fixed a hang when touching a weaponbox if multiple items are packed in a slot 2024-03-31 22:46:06 +07:00
s1lentq
5d2174fbbf CWeaponBox::Touch: Reworked dropped grenade pickup 2024-02-05 02:21:49 +07:00
s1lentq
4d90a5f4fa CWeaponBox::Touch: Fix grenade pickup (Resolves #923, Closes #931) 2024-02-01 18:20:11 +07:00
s1lentq
f4c4e891ac CBasePlayerWeapon::ExtractAmmo: Fixed reverse-engineering mistake 2024-02-01 16:38:16 +07:00
s1lentq
2489213127 Resetable g_weaponSlotInfo 2024-02-01 12:21:23 +07:00
Francisco Muñoz
fb9eb0db55
Fix excessive punchangle when getting shield shot (#919) 2024-01-31 19:38:35 +07:00
Rafflesian
0bc4ff1d40
Support for secondary ammo and extra EF_ flags (#934)
Support for secondary ammo and extra EF_ flags
2024-01-31 19:35:26 +07:00
s1lentq
5287f2a415 Do not reduce points for bot suicide due bot_kill command 2024-01-31 19:16:37 +07:00
s1lentq
0bbc4bd55d Do not reduce points for suicide due to a fatal fall 2024-01-31 19:14:04 +07:00
s1lentq
aec3ba2579 Fixed m_looseBombArea assertion 2024-01-31 18:33:34 +07:00
s1lentq
a1af7ca426 CBasePlayer::WaterMove: No water sound playback occurs when clients emerge from network lag or was using noclip 2024-01-31 17:40:47 +07:00
s1lentq
bde6aa07bc Disable door asserts (Resolves #926) 2024-01-31 15:51:44 +07:00