Commit Graph

755 Commits

Author SHA1 Message Date
SmileyAG
21dab90571
Added spawnflags for keep player angles & velocity in trigger_teleport (#747)
* Added spawnflags for keep player angles & velocity in trigger_teleport
Co-authored-by: etojuice <etojuice@yandex.ru>
2022-04-28 18:33:39 +07:00
Vaqtincha
6c47f96998
Fix player_weaponstrip (#735)
* fix player_weaponstrip
2022-04-16 19:11:13 +07:00
Juice
db76e604df
Clamp moving entities' sounds volume (#751) 2022-04-11 15:32:00 +07:00
Alejo
f050be77db
fix respawn protection icon hiding (#695)
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-03-13 17:35:42 +03:00
s1lentq
972e14a527 Update workflows/build.yml Set windows job container as windows-2019 instead of windows-latest which now run on windows-2022
https://github.com/actions/virtual-environments/issues/4856
Fixes windows build
2022-02-21 06:46:49 +07:00
Vaqtincha
0bbad64944
g3sg1 animation duration fix (#670) 2022-02-19 17:50:59 +07:00
Vaqtincha
bbf4541361
Fixed missing localized string for several weapons WeaponBuyAliasInfo (#729) 2022-02-13 01:48:20 +07:00
UnkwUsr
a54abba88f
README.md: Note about impulse 255 command (#714)
[skip ci]
2022-01-08 14:16:00 +03:00
Nord1cWarr1or
c002edd5b1
player.cpp: UpdateClientData(): fix observer crosshair bug (#672)
hide observer crosshair if we cancel HIDEHUD_CROSSHAIR.
2021-12-28 19:23:17 +03:00
Juice
09a6c61898
Reset m_flNextFollowTime before trying to find next target after previous target death (#712)
* Freelook bug fix

* Update regamedll/dlls/player.cpp

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-12-28 03:07:43 +03:00
Sergey Shorokhov
b979b5e84f
Revert "Add GitHub Action for Remove old artifacts (#701)" (#702)
This reverts commit c872b58bb0.

[skip ci]
2021-11-03 17:19:41 +03:00
Sergey Shorokhov
c872b58bb0
Add GitHub Action for Remove old artifacts (#701)
[skip ci]
2021-11-01 15:08:23 +03:00
Nord1cWarr1or
2ac5bdee15
update score status constants (#674)
* cdll_dll.h: add `SCORE_STATUS_NONE` constant

* player.cpp: SetScoreAttrib: add `SCORE_STATUS_NONE` constant

related to https://github.com/s1lentq/reapi/pull/214
2021-10-28 14:30:21 +03:00
Alejo
112326aa63
New CVar: mp_plant_c4_anywhere (#692)
* Added new CVar `mp_plant_anywhere`

* API member for CVar `m_bCanPlantAnywhere`

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-28 14:10:02 +03:00
StevenKal
53181d3e9b
CItemAirBox: Fix flight to the moon! (#697)
* Update item_airbox.cpp

Also reset the velocity on Touch, just to avoid the "invisible" entity to keep moving.
Let the reset on "Restart" too in case of, despite facultative.

Final version: Reset all the axes of the velocity to make the sure the item spawns with a complete null velocity (I did not do that before more in order to take in consideration the possible custom X/Y speed we could give to them, like via plugin, but I finally decided to clean up all, the plugins could still affect it later if needed).
2021-10-28 03:19:09 +03:00
Alejo
b9cccc691b
New CVars: sv_autobunnyhopping and sv_enablebunnyhopping (#686)
* Add bunnyhopping

* Add missing cvar register. Added cvars to readme and cfg

* API added

* Changed define
2021-10-20 19:18:30 +03:00
Alejo
c6187f3dc7
mp_free_armor small fix (#685) 2021-10-14 16:10:16 +03:00
Juice
dd243eaa0b
Update player counts (#684)
* Update player counts in CheckWinConditions and SwitchTeam

* Add UTIL_SpectatorsInGame and update MaintainBotQuota
2021-10-14 13:54:09 +03:00
Sergey Shorokhov
da24c74c20 player.h: fix ForEachItem() items iteration 2021-09-13 23:51:01 +03:00
Sergey Shorokhov
667242fadd
Fix m_flAccuracy calculation (#677)
* weapons.h: Add `*_ACCURACY_DIVISOR` constants

* fix `m_flAccuracy` spray calculation
2021-09-13 15:28:43 +03:00
jeefo
bb97adefed
Disable thread-safe initialization for static local variables in VS2015+ when XP toolset is used. (#673) 2021-09-07 14:41:12 +03:00
Sergey Shorokhov
9233f852ca CSEntity.h: Move reserve funcs to private 2021-09-02 20:47:36 +03:00
Vaqtincha
5aec8aac7e
Bot fixes (#659)
* Bots only attack breakable objects

* Fix reversing-engineering mistake
2021-08-31 23:17:28 +03:00
Sergey Shorokhov
7e2279f8c5 Implement CBasePlayer::Observer_FindNextPlayer() hook (#667)
* Implement Observer_FindNextPlayer hook

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-08-31 22:04:32 +03:00
FEDERICOMB
983500c9bd Implement CCSEntity::FireBuckshots (#651) 2021-08-31 21:59:28 +03:00
FEDERICOMB
d079f26fc1 Implement CGib::SpawnHeadGib and CGib::SpawnRandomGibs (#650) 2021-08-31 21:57:54 +03:00
Lopol2010
f1b253e5b0
Implement CBasePlayer::Observer_SetMode hook (#663)
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-08-31 15:07:21 +03:00
Vaqtincha
67cc153f5d
Fix "use accuracy from last bullet fired earlier" glitch. (#662)
* Fixes "use accuracy from last bullet fired earlier" glitch.

* fix newline at wapons.h

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-08-31 14:05:25 +03:00
fl0werD
38dda25a84
Implement player Pain, DeathSound and JoiningThink hooks (#607) 2021-08-29 07:12:25 +03:00
Sergey Shorokhov
fbbd6bd083
Add new CVar sv_allchat (#665) 2021-08-28 13:41:49 +03:00
Sergey Shorokhov
d85b03096f Add give cmd to readme (#649) 2021-06-22 18:58:38 +07:00
AlexSwartz
191857d700
Add new CVar mp_free_armor (#609) 2021-06-22 14:48:55 +03:00
Sergey Shorokhov
1ac96b8180
Implement CBasePlayer::HasTimePassedSinceDeath() for m_fDeadTime (#648)
* Implement CBasePlayer::HasTimePassedSinceDied() for m_fDeadTime
2021-06-21 11:59:34 +03:00
Sergey Shorokhov
59c297d26d
Allow observe for dying player with EF_NODRAW effect (#647)
* Observer_IsValidTarget: checks refactoring
2021-06-20 14:44:06 +03:00
Sergey Shorokhov
55b996c30a Allow observe for dying player with EF_NODRAW effect 2021-06-20 11:57:51 +03:00
Sergey Shorokhov
a390cadcd0 Observer_IsValidTarget: checks refactoring 2021-06-20 11:40:25 +03:00
Sergey Shorokhov
a9111f8dda
Add new type sv_alltalk 5 (#644) 2021-06-17 17:52:17 +03:00
Sergey Shorokhov
5b7159e8de Implement sv_alltalk 5 2021-06-15 12:59:58 +03:00
Sergey Shorokhov
8995b9dc77 Add description 2021-06-15 12:58:51 +03:00
ChakkiSkrip
2c52c4f4de
regamedll-cs.fgd (#637)
regamedll-cs.fgd: Added lost spawnflags SF_DOOR_ROTATE_Z, SF_DOOR_ROTATE_X func_rot_button [skip ci]
2021-06-08 19:12:42 +07:00
Vaqtincha
49b2412e9c
func_bomb_target: new feature "strict touch" (#636) 2021-06-07 01:17:18 +07:00
Vaqtincha
ab846f86f4
enhance "player_weaponstrip" entity (#634)
* enhance "player_weaponstrip" entity
* update fgd
2021-06-06 19:17:07 +07:00
Vaqtincha
548cca5e5f
Forcerespawn fix (#623)
* Dead players now respawn after enabling the mp_forcerespawn
* use timer instead of instant spawn
2021-06-06 19:16:09 +07:00
Vaqtincha
517f68af93
[WIP] Fgd updates (#632) [skip ci]
* fgd game_player_equip fixes
* fgd enhance cycler/cycler_sprite
* fgd minor changes
2021-06-06 19:15:34 +07:00
Vaqtincha
3ff0f0cbf9
Bots can switch weapons underwater (#631)
* Bots can switch weapons underwater
2021-06-06 19:13:55 +07:00
Vaqtincha
d80d87366a
game_player_equip fixes/enhancement (#618)
* game_player_equip: Check UseOnly flag
* New flag SF_PLAYEREQUIP_REMOVEWEAPONS
2021-05-22 18:15:28 +07:00
Vaqtincha
8d1f4fb673
Add weapon flag ITEM_FLAG_NOFIREUNDERWATER (#628)
Implement weapon flag ITEM_FLAG_NOFIREUNDERWATER to allow user to changes behavior firing underwater
2021-05-22 18:12:24 +07:00
Vaqtincha
bbc54cd30e
Immunity enhance (#621)
* CVar 'mp_respawn_immunity_force_unset' new value (2)
* Send StatusIcon to player (for visual information) works with mp_respawn_immunity_effects 1
2021-05-22 18:04:43 +07:00
OrangePee1
a27ce74e10
fix crash in UTIL_AreHostagesImprov (#626)
add check g_engfuncs.pfnEngCheckParm is nullptr or not.
2021-05-17 02:55:22 +07:00
Vaqtincha
64059d1026
fix weapon_sg550 (#624)
* fix first shot weapon_sg550
2021-05-16 16:19:02 +07:00