Commit Graph

88 Commits

Author SHA1 Message Date
Francisco Muñoz
b6c2c62e8b
Added mp_vote_flags and mp_votemap_min_time cvars (#990)
* Added mp_vote_flags cvar
* Added mp_votemap_min_time cvar
* Cvars on README
* game.cfg cvars
* Ensure timers check before new restrictions
2024-08-12 13:45:54 +07:00
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
s1lentq
f97c9d9f46 Improve dbg code to work Assertion properly 2023-12-14 02:50:32 +07:00
Francisco Muñoz
193c1ed52a
Fixed grenades disappearing when speed exceeds 2000 fixed units ignoring sv_maxvelocity (#888)
* Fixed grenades disappearing when speed exceeds 2000 fixed units ignoring sv_maxvelocity
* Clamp nades velocity to sv_maxvelocity value when reached
* Make IsInWorld behave like SV_CheckVelocity: less/greater without equal
* Enclose IsInWorld changes with FIXES macro
2023-11-26 11:24:48 +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
Adrian Cirstea
98b387bb68
Add an argument to swapteams command (#739)
* Added an argument to `swapteams` command

* Updated `README.md` `swapteams` description

* Fixed check arguments count

* better arg usage

* better notations for readme

* better desc

Co-authored-by: Sergey Shorokhov <sergeyshorokhov@csgo.com>
2022-09-15 19:52:54 +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
Vaqtincha
fc52871739
Refactoring (#540)
* Rename CMD mp_swapteams
* Remove unused CVar mp_mirrordamage
* Refactoring checks
2021-04-12 19:55:03 +07:00
Shorohov Sergey
3878f46678
Add new CVar's for default weapons (#470) 2020-06-17 23:42:40 +07:00
Vaqtincha
6c80744146
Add new CVar mp_falldamage (#539)
* Add CVar mp_falldamage
2020-05-27 08:26:45 +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
dd6141eae7
Move beta features to release stage. 2019-12-17 21:25:24 +07:00
s1lent
3b612dc857
Move some new features to REGAMEDLL_ADD 2019-12-17 21:19:52 +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
Shorohov Sergey
35277804bf Add new console command: mp_swapteams - Swap the teams and restart the game. (#430) 2019-10-27 21:13:46 +07:00
s1lent
c2f62eb98a
Fix newlines 2019-09-22 21:29:29 +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
Shorohov Sergey
010438918c fix CVar's register (#395) 2019-07-30 22:46:24 +07:00
Shorohov Sergey
b7c710626e Radio enchance cvars (#394)
* Added a new CVar's for Radio messages control.
 "mp_radio_timeout" - Delay between player Radio messages;
 "mp_radio_maxinround" - Maximum Radio messages count for player per round.
2019-07-30 19:30:34 +07:00
Shorohov Sergey
c81d5d24bd [WIP] New CVar mp_buy_anywhere (#381)
* [WIP] Add: new CVar mp_buy_anywhere - When set, players can buy anywhere, not only in buyzones. 0 = default. 1 = both, 2 = Terrorists, 3 = CT.
Closes #386
2019-07-30 19:26:01 +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
05aa615a8b
Removed FCVAR_SERVER for some meaningless cvars 2019-06-06 04:23:27 +07:00
s1lent
d00a937508
Implemented cvars ff_damage_reduction_bullets, ff_damage_reduction_grenade, ff_damage_reduction_grenade_self, ff_damage_reduction_other
Resolves #297
2019-06-06 04:20:19 +07:00
s1lent
3f5448da59
Revert initialize game.cfg into GameDLLInit, now use game_init.cfg instead this. 2019-06-05 19:46:48 +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
8c85aeebbc
Added cvar mp_hullbounds_sets 0/1
1: hull bounds that sets by gamedll, 0: otherwise by engine (as default behavior)
2019-04-17 17:47:52 +07:00
s1lent
a31be1d18e
Added mp_allow_point_servercommand to disable point_servercommand entities.
Due to a high risk of abuse, it is gated by the mp_allow_point_servercommand console variable.
2019-04-09 18:01:33 +07:00
Vaqtincha
30c3586580 Enhance "endround" command (#319) 2018-10-30 15:24:21 +07:00