Commit Graph

112 Commits

Author SHA1 Message Date
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
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
Sergey Shorokhov
9233f852ca CSEntity.h: Move reserve funcs to private 2021-09-02 20:47:36 +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
fl0werD
38dda25a84
Implement player Pain, DeathSound and JoiningThink hooks (#607) 2021-08-29 07:12:25 +03:00
s1lentq
15328fd764 API: Implemented PlantBomb Closes #589
API: Bump minor version
2021-01-04 22:22:45 +07:00
s1lentq
9c6c880644 Delete utlbuffer.cpp 2020-12-25 19:35:37 +07:00
StevenKal
7721348199
API: Add "CBaseEntity::Fire<Bullets[3]|Buckshots>" hooks. (#587) 2020-11-28 05:55:14 +07:00
jeefo
519b7db38d
Fixed memory leak with hintmessage. (#581)
Fixed memory leak with hintmessage.
2020-11-22 02:19:50 +07:00
shel
8142303b1b
push (#553)
Co-authored-by: shel <2@shelru.ru>
2020-06-11 02:20:17 +07:00
fl0werD
bffb373539
implement CGib (#536)
* implement CGib
Move code part from basemonster.cpp to gib.cpp
3-rd party:
Link entity to class (can hookable by HamSandwich amxx module)
Add hooks for ReAPI
2020-05-27 09:56:24 +07:00
fl0werD
a20362389e
Remove respawn dependency on forcerespawn cvar (#537)
* Remove respawn dependency on forcerespawn cvar
Able to set custom respawn time for m_flRespawnPending without mp_forcerespawn enabled
* workaround when disabling forcerespawn must stop works immediately
* just block respawn then cvar disabled without reset for correct cvar logic
2020-05-27 08:20:59 +07:00
fl0werD
4f7252525e
Add m_bCanShootOverride member (#527)
Add m_bCanShootOverride member
Allow to override m_bCanShoot, for example able to fire at freeze time
2020-05-02 17:11:49 +07:00
s1lent
5bbba22218 CreateWeaponBox: Remove constantly vector arguments 2020-04-02 18:28:46 +07:00
fant1kua
73f5d6d473
Create weaponbox hook (#521)
* Add SpawnWeaponBox hook
2020-03-27 09:17:41 +07:00
s1lent
8c82c6236e
Bump minor API version 2020-02-14 17:17:31 +07:00
s1lent
593d1e1450
Enhanced CCSPlayerItem::GetItemInfo 2020-02-12 18:34:40 +07:00
s1lent
d8208f0884
Added support building using cmake
Added support clang compiler
Fixed some compiler warnings
Update README.md
2020-02-06 04:32:20 +07:00
fant1kua
27b2a8c8c9 Add API to set if player can hear another player (#467)
* Add API to set if player can hear another player
2019-12-14 17:24:40 +07:00
Dmitry
fd06d655ec Implement RG_CBasePlayer_DropIdlePlayer hook (#444) 2019-11-02 15:48:23 +07:00
fant1kua
dbf08416fd Implement RG_CBasePlayerWeapon_CanDeploy & CBasePlayerWeapon_DefaultDeploy hooks (#420)
* Implement CBasePlayerWeapon_CanDeploy & CBasePlayerWeapon_DefaultDeploy hooks
* Implement CBasePlayerWeapon_DefaultReload hook
* Fix CBasePlayerWeapon_CanDeploy hook for grenades
* Fix CBasePlayer::CanDeploy
* ImplementRG_ CBasePlayerWeapon_DefaultShotgunReload hook
2019-10-27 21:17:12 +07:00
s1lent
0b517e036f
Don't respawn if m_flRespawnPending isn't set
Minor refactoring
2019-09-23 04:31:23 +07:00
s1lent
e199b16463
Introduce end-of-line normalization 2019-09-23 04:09:58 +07:00
s1lent
8c3cd4fc54 CCSPlayer::RemoveShield: Enhanced
CCSPlayer::GiveNamedItemEx: Drop weapon_elite when get weapon_shield
2019-09-17 19:42:17 +07:00
s1lent
96938aec55
ReGameDLL API: Implement BGetICSEntity/BGetIGameRules for check safe version interface. 2019-08-29 23:08:24 +07:00
fant1kua
77305688a9 Implement RG_CBasePlayer_UseEmpty hook (#405)
* Implement to RG_CBasePlayer_UseEmpty
2019-08-29 20:34:22 +07:00
s1lent
371ac897bb Missing initialize for member m_iWeaponInfiniteIds 2019-08-26 15:29:22 +07:00
s1lent
69e5c854e2 Implemented cvar mp_infinite_grenades.
Reworked cvar mp_infinite_ammo, not include grenades
2019-08-26 05:45:27 +07:00
s1lent
7420ba158a
Fix potential leak memory for CRenderFxManager, CPointBaseCommand
CUtlVector::RemoveAll() doesn't free allocated memory
2019-08-13 22:52:00 +07:00
s1lent
2568d9a2fa
Added new cvar mp_infinite_ammo also implemented API things for this.
Moved behavior cvar mp_refill_bpammo_weapons 3 into mp_infinite_ammo 2 as it was implemented in the official.
CM3/CXM1014 implemented override func PlayEmptySound.
2019-08-13 19:02:04 +07:00
Shorohov Sergey
823eb10f2f Add CVar: mp_afk_bomb_drop_time. (#369)
* Add CVar: mp_afk_bomb_drop_time.
 Player that have never moved sience they last move will drop the bomb after this amount of time. (in seconds)
2019-06-08 01:07:12 +07:00
s1lent
1745de6aca
Added API hook CBasePlayer::HintMessageEx
Bump minor version API
2019-06-06 02:57:40 +07:00
s1lent
e9c41c33d2
Fix for range loop in CUtlVector (Sync from dreamstalker/rehlds#697) 2019-06-06 00:34:40 +07:00
s1lent
9b4def6e3f
bot chatter: use filesystem to check exists filename instead of _access, cuz filesystem uses search paths such as cstrike_downloads, cstrike_german, cstrike_russian etc 2019-06-05 21:06:02 +07:00
s1lent
eed7b19798
Implemented point entities: point_clientcommand, point_servercommand 2019-04-07 23:13:41 +07:00
fant1kua
a79775b443 Add m_flBaseDamage member (#334)
* Features: add m_flBaseDamage
2019-01-07 15:43:10 +07:00
s1lent
26db32e884
Enhance mp_respawn_immunitytime
Minor refactoring
2018-05-31 14:53:34 +07:00
s1lent
f1e9d2b346
Add new point-entity trigger_random 2018-05-22 18:17:30 +07:00
Asmodai
fe0ea9a1bc Crash fix 2018-04-09 03:28:14 +03:00
fl0wer
c30c77cc05 add hook check penetration 2018-04-09 00:14:39 +04:00
Alik Aslanyan
aa329db276
Update API minor version 2018-02-19 19:10:22 +04:00
Shorohov Sergey
bc2c3176e4 Spawn protection API and cvar (mp_respawn_immunitytime). (#266) 2018-02-18 15:31:24 +04:00
s1lent
cbbda5ef21
CSInterface Update: Add RemovePlayerItemEx 2018-02-16 17:55:29 +07:00
s1lent
4e89da4628
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb 2018-01-27 23:31:30 +07:00
s1lent
7f9cf53c49
Refactoring 2017-11-23 00:43:30 +07:00
s1lent
10ee63d807
Fix nade drops
Move m_bHasSecondaryAttack to CCSPlayerWeapon
2017-11-03 23:33:17 +07:00
s1lent
026a55eba0
Closes #176 2017-11-01 23:46:37 +07:00