Commit Graph

56 Commits

Author SHA1 Message Date
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
s1lentq
3d252fe527 Refactoring and cleanup.
Fixed some critical bugs and typos (carrer_task, tutor, zbot and other)
Added command line option `-bots` to run bots in CS 1.6
Removed the tests demo record/player from myself the project and also dependency of the steam library.
Fixed the progress bar when generating a nav file.
2016-02-23 05:23:45 +06:00
s1lentq
25f425801a Refactoring and cleanup project.
Removed project bzip2.
CZero: Fix crashing of HostageEscapeState.
2016-02-04 22:45:37 +06:00
s1lentq
6f51a65ae9 WIP CZ: Reversed some functions of bots.
Cleanup.
2016-01-19 18:05:41 +06:00
s1lentq
70dc948091 Added EXT_FUNC for virtual functions 2015-12-11 02:30:31 +06:00
dreamstalker
14df9039eb Optimized compilation time on linux 2015-12-07 01:18:51 +04:00
s1lentq
fd665a9764 Cleanup. Added define CSTRIKE in build gradle 2015-12-06 03:20:34 +06:00
s1lentq
48ec89893a Reverse Hostages cs 1.6, SV_StudioSetupBones
Added project build mp.dll/cs.so
work final the reverse-engineering for CS 1.6
2015-12-06 01:58:53 +06:00
s1lentq
dc557b37f2 WIP: Reversed functions all weapons 2015-11-24 03:01:09 +06:00
s1lentq
0fc3351cb8 Cleanup.
Reversed functions: CBasePlayer::PickPrimaryCareerTaskWeapon, CBasePlayer::PickSecondaryCareerTaskWeapon.
Added comments to some parts of the code.
Fixed some bugs in CZ:Career.
2015-11-06 20:58:48 +06:00