Francisco Muñoz
11d6b086b4
Shield constants code cleaning ( #843 )
...
* Change constant name (SHIELDREN -> SHIELDGREN)
* Correct and separate constant names
2023-07-13 01:29:56 +03:00
Hamdi
e1d1c11992
add FTRACE_KNIFE flag ( #817 )
...
* trace flags
* remove unused flags
* add FTRACE_KNIFE flag
2023-07-11 05:57:50 +03:00
Francisco Muñoz
12560c2b87
Make Knife back stab multiplier customizable ( #834 )
...
- Add Backstab multiplier CKnife member with default value
- Adding REGAMEDLL_API macros correctly to extended members of CKnife
- Added inline functions for specific values, considering original and new behaviour
2023-07-01 09:52:11 +07:00
Sergey Shorokhov
8ff30b4c3e
Revert "New entity trigger_bomb_reset
( #796 )"
...
This reverts commit 5dec3bad32
.
2023-03-11 11:23:30 +03:00
Sergey Shorokhov
5dec3bad32
New entity trigger_bomb_reset
( #796 )
...
* Init
* Implementation
* Add `trigger_bomb_reset` to `.fgd`
* Set CC4 position on CC4::AttachToPlayer()
* move to `addons/trigger_bomb_reset`
* rename method & member
* CTriggerBombReset: Add `SetUse()`
2022-12-18 00:17:02 +03:00
RauliTop
7caf748a61
Fix: 'fast fire glitch' at AUG/SG552 ( #734 )
...
* Fix 'fast fire glitch' at AUG/SG552
Bug is caused because of not checking his FOV in some conditions.
* refactoring
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-12-17 23:49:05 +03:00
Vaqtincha
946b5a9db0
Correcting code style and config ( #783 )
...
* cosmetic changes (for perfectionists)
* cosmetic changes (in sdk)
* add quotes for all cvar values
2022-11-24 19:04:42 +03:00
Vaqtincha
0bbad64944
g3sg1 animation duration fix ( #670 )
2022-02-19 17:50:59 +07: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
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
64059d1026
fix weapon_sg550 ( #624 )
...
* fix first shot weapon_sg550
2021-05-16 16:19:02 +07:00
StevenKal
7721348199
API: Add "CBaseEntity::Fire<Bullets[3]|Buckshots>" hooks. ( #587 )
2020-11-28 05:55:14 +07:00
shel
8142303b1b
push ( #553 )
...
Co-authored-by: shel <2@shelru.ru>
2020-06-11 02:20:17 +07:00
s1lent
0ff845620b
USP: Fixed jitter effect when playing an animation of adding a silencer.
2020-01-15 20:28:52 +07:00
Vaqtincha
a7443e9e1e
Fix https://github.com/s1lentq/ReGameDLL_CS/projects/1#card-26740504 ( #477 )
2020-01-15 00:37:28 +07:00
Juice
8c723a635c
Fix hitsounds on vehicles ( #491 )
2020-01-14 15:01:00 +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
Vaqtincha
49965644c3
Refactoring ( #418 )
...
* unused cheat impulses.
* nadedrop fixes
* close equipmenu (VGUIMenus) when the player left the purchase area
* disable flashlight on kill
* don't handle cmd "become_vip" if map not have scenario assassination VIP.
* unreachable code item_thighpack
* remove "gEvilImpulse101"
* remove "giPrecacheGrunt"
* remove unused entitys (from hl)
* weapon HUD fixes
* don't remove level(map) item_thighpack
* hostage "far use" fix
* reset player basevelocity on spawn
* code style fix
2019-10-09 17:18:42 +07:00
s1lent
e199b16463
Introduce end-of-line normalization
2019-09-23 04:09:58 +07:00
Vaqtincha
a386ef41ea
Invisible shield fix ( #422 )
...
* add constants for entvar "gamestate" magic number
* invisible shield (https://github.com/s1lentq/ReGameDLL_CS/projects/1#card-26566008 )
2019-09-22 21:39:06 +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
s1lent
2903630e38
Closes #333
2019-06-06 03:18:30 +07:00
s1lent
e1c8211d6b
Updated latest changes:
...
ValveSoftware/halflife#555
ValveSoftware/halflife#702
ValveSoftware/halflife#2228
ValveSoftware/halflife#1276 (was fixed earlier REGAMEDLL_FIXES)
2019-06-05 18:31:32 +07:00
s1lent
d67492482a
Fixes #305
2019-04-09 21:56:22 +07:00
fant1kua
7398bb7d71
Add base damage for m3 and xm1014. Fix m_flBaseDamageSil ( #335 )
...
* Add base damage for m3 and xm1014. Fix m_flBaseDamageSil
2019-01-13 18:41:14 +07:00
fant1kua
a79775b443
Add m_flBaseDamage member ( #334 )
...
* Features: add m_flBaseDamage
2019-01-07 15:43:10 +07:00
s1lent
0022272244
Cosmetic changes
2018-05-22 16:29:08 +07:00
Alik Aslanyan
bdf2ddc2d1
Fix C4 dissapearance on inclined surfaces with Valve HLDS ( #234 )
2018-04-01 12:50:51 +04:00
In-line
ff3891d98b
Adjust bomb angles for righthanded users ( resolves #218 ) ( #235 )
2018-01-29 19:17:10 +04: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
In-line
f69afc21a7
Remove useless code from CC4::Use ( #209 )
2017-11-12 02:00:22 +07:00
Shorohov Sergey
7184f4ce39
Fix C4 angle. ( #207 )
2017-11-10 14:36:07 +03:00
In-line
acc1dcad6e
Fix #203 ( #204 )
2017-11-08 20:35:49 +03:00
s1lent
0eed08c133
Cleanup code
...
Fixed a bug after killing czbot by headshot, angles turn at 180 degrees.
Fixed some bugs with mp_nadedrops
2017-11-01 18:30:47 +03:00
s1lent
9dcab4bd49
Refactoring minor
...
Refactoring unicode_strtools
2017-11-01 18:30:47 +03:00
s1lent
32df585edc
Remove hookers stuff
...
Refactoring & cleanup code
2017-11-01 18:30:47 +03:00
s1lent
b25e3505d3
Major refactoring & cleanup
2017-11-01 18:30:47 +03:00
justgo97
27f0563936
fix c4 bug ( #182 )
2017-09-23 05:15:38 +07:00
In-line
8b1be212bf
Fix some of C4 related bugs. ( #179 )
...
- Cancel C4 planting bartime on weapon change
- Infinite round, when bomb exploded underwater
- C4 explode after defuse
- Moving while defusing and silent defuse (partially)
- Silent defuse
2017-08-19 18:01:33 +03:00
s1lent
adaddda871
Code cleanup
...
Hookers Refactoring
Removed __MAKE_VHOOK
Fix compilation under linux with ICC 17 (GCC 6.2)
2017-07-02 18:54:33 +07:00
s1lent
90d08ee3a0
Refactoring & fix warnings VS2015.
...
Ignore VS2015 files.
Add ResetSequenceInfo in SetNewPlayerModel.
Interface API CCSPlayer: Added ResetSequenceInfo and reworked RemovePlayerItem
Bump minor version
2017-01-30 23:07:56 +07:00
s1lentq
7238f215e2
Fix: count of time from the start of the round. (Related #77 )
...
Fix: Kicked idle the client's by timeout when mp_roundtime is 0.
Fix: Don't update team score when the round ending by time and game has not started.
Update README.md
2016-12-12 21:33:51 +07:00
s1lentq
c77486dadd
Get rid of spec-crosshair from gameplay. (Useless)
...
Reworked hookchain's: SetClientUserInfoName, GiveNamedItem
Added hookchain's: DropShield, MakeVIP, MakeBomber, GetIntoGame, Disappear, Radio, StartObserver, OnSpawnEquip
Refactoring
2016-12-07 02:28:33 +07:00
s1lentq
b4fec27dc6
ReGameDLL API: Added calls func AddEntityHashValue, RemoveEntityHashValue, GetItemInfo, GetAmmoInfo
...
Fix: mp_refill_bpammo_weapons 2 - was not refill bpammo for shotguns.
2016-08-05 18:35:45 +07:00
s1lentq
baac9cbad4
Bugfix: leak entities from weaponbox when touched grenades. (bug by valve)
...
CZBot: the check cvar bot_deathmath on every time.
2016-07-21 07:25:49 +07:00
s1lentq
183a9f674c
Fix: now nades not drop if throws a grenade player.
...
Rollback: remove virtual destructor in class CBaseEntity
Add: Using info about item from table weaponInfo (yet only for hegrenade, flashbang, smokegrenade)
2016-07-15 20:52:38 +07:00
s1lentq
e6df6ef577
Added cvar mp_refill_bpammo_weapons
...
Added new things for API
Update README.md
2016-06-08 16:20:18 +07:00
s1lentq
06b0c16145
Refactoring API
2016-06-01 05:08:23 +06:00
s1lentq
9b955f2672
Regamedll API WIP: Added new interfaces-objects
...
Removed some useless code in CBasePlayerWeapon::GetNextAttackDelay
Removed the allocation of the entity CSoundEnt, because it is useless for CS 1.6 also removed UpdatePlayerSound
2016-03-17 23:58:24 +06:00