Commit Graph

92 Commits

Author SHA1 Message Date
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
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
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
Sergey Shorokhov
051dc0751a
New ConVar: mp_defuser_allocation (#908) 2024-01-12 11:55:00 +03:00
Sergey Shorokhov
71606f8f36
game.cfg: Add forgotten double quotation marks
[skip ci]
2024-01-02 01:45:55 +03:00
s1lentq
a63bcf0a10 delta.lst adjust premultiply for clientdata_t::origin 2023-12-08 00:49:16 +07:00
s1lentq
59362ec8d5 delta.lst maximum entity_state_player_t::effects value raised 2023-12-07 03:52:47 +07:00
s1lentq
4f0818b7bf delta.lst maximum entity_state_t::body value raised 2023-12-07 03:52:47 +07:00
s1lentq
7c9582f44b delta.lst increased float-point accuracy for fields entity_state_player_t::origin 2023-12-07 03:52:46 +07:00
s1lentq
5e2aadceac delta.lst maximum health value raised to 131072 from 512 transmitted over network 2023-12-07 03:52:44 +07:00
s1lentq
7ea9beffdf delta.lst increased float-point accuracy for fields clientdata_t::origin, clientdata_t::punchangle 2023-12-07 03:52:39 +07:00
s1lentq
e5f546c453 Added delta.lst file 2023-12-07 03:14:12 +07:00
Federico Matías
e3d70d2b14
New CVars: mp_freezetime_duck and mp_freezetime_jump (#886)
* new cvars: prevent duck/jump during freezetime
* use CSGameRules() instead of g_pGameRules
* changed name of cvars and default value
* improved cvars description
2023-11-26 11:13:29 +07:00
s1lentq
2857986cc7 Reworked cvar mp_deathmsg_flags (use flags instead of bitsums) 2023-11-08 21:11:27 +07:00
Dmitry Novikov
108db28143
Add an extended player's DeathMsg message (#858)
* Implemented rarity of kill and assist for extended user message DeathMsg
* Add hookchain CGameRules::SendDeathMessage
* Add domination and revenge
2023-09-28 16:18:15 +07:00
Alejo
ee34b06605
New CVar: mp_team_flash (#693)
* Added new CVar `mp_team_flash`
2023-09-05 11:10:38 +07:00
Sergey Shorokhov
8a18969be1
New CVar: mp_dying_time (#483)
* Add new CVar: mp_dying_time < 0 .. 999>

* Add description

* magic numbers to named const

* magic numbers to named const (№2)

* cvar value handling

* update description

* a better description

* resolve conflicts

* lil order fixes & indent

* remove death animation skip

* DYING_TIME -> DEATH_ANIMATION_TIME

* Fix death animation when mp_dying_time < 3.0 depending on animation

* change desc

* change cvar desc

---------

Co-authored-by: dystopm <fjmunozpena@gmail.com>
2023-07-12 20:43:37 +03:00
Francisco Muñoz
8ddda261fe
New CVars: mp_weapondrop and mp_ammodrop and fixes (#840)
* First implementation

* Update player.cpp

* Apply suggestions from code review

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>

* Improve readability

* Improve readability x2

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>

* Tabulation tip

* Compile error resolved

* Add mp_weapondrop 3: drop all weapons

---------

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2023-07-10 15:45:24 +03:00
Unreal Karaulov
cf8deb9cac
Update func_vehicle for multiplayer (#792)
* Update func_vehicle for multiplayer. Added mp_legacy_vehicle_block cvar.

* Update dist/game.cfg

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>

* Update regamedll/dlls/game.cpp

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>

* Fix default behavior

* Optimization

Thanks to https://github.com/s1lentq/ReGameDLL_CS/pull/737#issuecomment-1068038171 help!

* Update README.md

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-12-07 02:11:25 +07:00
fl0werD
84f1f5e4c6
New CVar: mp_hostages_rescued_ratio (#786)
* Add mp_hostages_rescued_ratio cvar

* Add restriction of the CVar value

Co-authored-by: Sergey Shorokhov <sergeyshorokhov@csgo.com>
2022-11-24 20:16:37 +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
666JuL
83151aaf0b
New CVar: mp_give_c4_frags (#776)
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-10-08 20:32:30 +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
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
fbbd6bd083
Add new CVar sv_allchat (#665) 2021-08-28 13:41:49 +03:00
AlexSwartz
191857d700
Add new CVar mp_free_armor (#609) 2021-06-22 14:48:55 +03:00
Sergey Shorokhov
8995b9dc77 Add description 2021-06-15 12:58:51 +03: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
s1lentq
4983a2d38d Update game.cfg 2021-04-14 19:13:05 +07:00
Vaqtincha
913bfc6609
enhance CVar "mp_roundover" (#595)
enhance CVar "mp_roundover"
2021-04-12 19:45:49 +07:00
Juice
4918e1fb5e
Update README.md (#612)
Update description about cvar mp_roundrespawn_time README.md / game.cfg
2021-04-12 19:28:12 +07:00
Juice
a8802e6276
Update mp_nadedrops description (#575) 2020-11-12 05:33:35 +07:00
s1lentq
b0d0ffedff Revert mp_refill_bpammo_weapons 3 2020-10-27 01:01:28 +07:00
Shorohov Sergey
3878f46678
Add new CVar's for default weapons (#470) 2020-06-17 23:42:40 +07:00
shel
532c1326b4
Add more flags for round time expired to CVar mp_round_infinite.
Co-authored-by: shel <2@shelru.ru>
2020-06-13 16:39:41 +07:00
Vaqtincha
6c80744146
Add new CVar mp_falldamage (#539)
* Add CVar mp_falldamage
2020-05-27 08:26:45 +07:00
Shorohov Sergey
2eba3b1186 CVar mp_fadetoblack enhancement (close #463) (#471)
CVar  mp_fadetoblack enhancement
2020-01-15 23:49:45 +07:00
s1lent
3498422bb9 Update README.md 2020-01-15 22:29:01 +07:00
s1lent
46f697fb46 Implemented CVar mp_respawn_immunity_force_unset Closed #462 2020-01-15 22:23:43 +07:00
s1lent
6ff75da41c Implemented CVar mp_scoreboard_showdefkit Closed #472 2020-01-15 22:11:46 +07:00
s1lent
80069a1f1e ZBot: Implemented cvar bot_freeze 2020-01-15 20:05:13 +07:00
s1lent
dd6141eae7
Move beta features to release stage. 2019-12-17 21:25:24 +07:00
Shorohov Sergey
ded6b32e85 New CVar mp_give_player_c4 (#428)
* Add new CVar: mp_give_player_c4. - Whether this map should spawn a C4 bomb for a player or not.
2019-12-17 05:13:33 +07:00
Shorohov Sergey
aeea713a19 New CVar mp_weapons_allow_map_placed (#429)
* Add new CVar: mp_weapons_allow_map_placed - When set, map weapons (located on the floor) will be shown.
2019-10-27 21:15:45 +07:00
Vaqtincha
bed4180d03 Add CVar mp_show_scenarioicon (#416)
* Add CVar mp_show_scenarioicon (Condition-Zero style scenario icon near round timer)
2019-09-18 15:04:32 +07:00
s1lent
8ec88f804d
Implemented cvar mp_unduck_method for prevent unduck if ducking isn't finished yet (also affects double duck) 2019-09-05 00:33:24 +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
a7f20dc2e8 Implemented command param -beta to enables latest things from official. 2019-08-26 04:26:55 +07:00
s1lent
95550dcd86
Added cvar respawn_immunity_effects for turn off spawn protection effects also removes spawn protection at player move. Closes #318 2019-08-13 20:11:27 +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