Skip to content

New ConVar: mp_defuser_allocation#908

Merged
wopox1337 merged 1 commit intomasterfrom
feature/convar-mp_defuser_allocation
Jan 12, 2024
Merged

New ConVar: mp_defuser_allocation#908
wopox1337 merged 1 commit intomasterfrom
feature/convar-mp_defuser_allocation

Conversation

@wopox1337
Copy link
Member

from: https://totalcsgo.com/commands/mpdefuserallocation

// Give defuser on player spawn
// 0 - No free defusers (default behavior)
// 1 - Random players
// 2 - All players
//
// Default value: "0"
mp_defuser_allocation  "0"

@wopox1337 wopox1337 added Type: 🚀 enhancement Improvement or addition of a new feature. Status: 🚧 in progress Task currently being worked on. Priority: 🕒 low Low priority tasks that can be postponed for the future. labels Dec 13, 2023
@wopox1337 wopox1337 requested a review from s1lentq December 13, 2023 12:17
@wopox1337 wopox1337 self-assigned this Dec 13, 2023
@wopox1337 wopox1337 marked this pull request as draft December 13, 2023 12:17
@wopox1337 wopox1337 force-pushed the feature/convar-mp_defuser_allocation branch from 603d5a5 to d95d76d Compare December 13, 2023 12:43
@wopox1337 wopox1337 changed the title New ConVar: mp_defuser_allocation New ConVar: mp_defuser_allocation Dec 13, 2023
@wopox1337 wopox1337 marked this pull request as ready for review December 13, 2023 13:08
@wopox1337 wopox1337 force-pushed the feature/convar-mp_defuser_allocation branch from 01e64de to 370781b Compare December 15, 2023 03:50
@wopox1337 wopox1337 closed this Jan 12, 2024
@wopox1337 wopox1337 force-pushed the feature/convar-mp_defuser_allocation branch from 1af9535 to 8ed193d Compare January 12, 2024 08:38
@wopox1337 wopox1337 reopened this Jan 12, 2024
@wopox1337 wopox1337 added Status: ✅ done The issue done and closed. and removed Status: 🚧 in progress Task currently being worked on. labels Jan 12, 2024
@wopox1337 wopox1337 merged commit 051dc07 into master Jan 12, 2024
@wopox1337 wopox1337 deleted the feature/convar-mp_defuser_allocation branch January 12, 2024 08:55
aleeperezz16 added a commit to Nostalgia-Gamers/ReGameDLL_CS that referenced this pull request Feb 14, 2024
commit d48fd3e
Merge: 5268e6b 5d2174f
Author: Alejo <[email protected]>
Date:   Wed Feb 14 19:17:25 2024 -0300

    Merge remote-tracking branch 'upstream/master'

commit 5d2174f
Author: s1lentq <[email protected]>
Date:   Mon Feb 5 02:21:49 2024 +0700

    CWeaponBox::Touch: Reworked dropped grenade pickup

commit 4d90a5f
Author: s1lentq <[email protected]>
Date:   Thu Feb 1 18:20:11 2024 +0700

    CWeaponBox::Touch: Fix grenade pickup (Resolves rehlds#923, Closes rehlds#931)

commit f4c4e89
Author: s1lentq <[email protected]>
Date:   Thu Feb 1 16:38:16 2024 +0700

    CBasePlayerWeapon::ExtractAmmo: Fixed reverse-engineering mistake

commit 2489213
Author: s1lentq <[email protected]>
Date:   Thu Feb 1 12:21:23 2024 +0700

    Resetable g_weaponSlotInfo

commit fb9eb0d
Author: Francisco Muñoz <[email protected]>
Date:   Wed Jan 31 09:38:35 2024 -0300

    Fix excessive punchangle when getting shield shot (rehlds#919)

commit 0bc4ff1
Author: Rafflesian <[email protected]>
Date:   Wed Jan 31 09:35:26 2024 -0300

    Support for secondary ammo and extra EF_ flags (rehlds#934)

    Support for secondary ammo and extra EF_ flags

commit 5287f2a
Author: s1lentq <[email protected]>
Date:   Wed Jan 31 19:16:37 2024 +0700

    Do not reduce points for bot suicide due bot_kill command

commit 0bbc4bd
Author: s1lentq <[email protected]>
Date:   Wed Jan 31 18:38:47 2024 +0700

    Do not reduce points for suicide due to a fatal fall

commit aec3ba2
Author: s1lentq <[email protected]>
Date:   Wed Jan 31 18:33:34 2024 +0700

    Fixed m_looseBombArea assertion

commit b34d564
Author: s1lentq <[email protected]>
Date:   Wed Jan 31 17:52:38 2024 +0700

    PM_CheckWater: Fix for uninitialized waterlevel value for dead players (incorrect waterlevel values from another player movements persisting)

commit a1af7ca
Author: s1lentq <[email protected]>
Date:   Wed Jan 31 17:40:47 2024 +0700

    CBasePlayer::WaterMove: No water sound playback occurs when clients emerge from network lag or was using noclip

commit bde6aa0
Author: s1lentq <[email protected]>
Date:   Wed Jan 31 15:51:44 2024 +0700

    Disable door asserts (Resolves rehlds#926)

commit 2d957a7
Author: s1lentq <[email protected]>
Date:   Wed Jan 31 15:10:08 2024 +0700

    utlvector.h fix assert

commit 4b49f63
Author: s1lentq <[email protected]>
Date:   Fri Jan 19 20:33:01 2024 +0700

    Fix mismatched damage glock18 in burst mode 18 against 25 (GLOCK18_DAMAGE)

commit 051dc07
Author: Sergey Shorokhov <[email protected]>
Date:   Fri Jan 12 11:55:00 2024 +0300

    New ConVar: `mp_defuser_allocation` (rehlds#908)

commit 89dda43
Author: s1lentq <[email protected]>
Date:   Fri Jan 12 13:30:01 2024 +0700

    fix test demo

commit 02a0516
Author: s1lentq <[email protected]>
Date:   Fri Jan 12 13:19:01 2024 +0700

    Reset damage stats on Putin Server

commit c0f4794
Author: s1lentq <[email protected]>
Date:   Fri Jan 12 09:27:40 2024 +0700

    PM_CategorizePosition: Do not stick to the ground of an OBSERVER or NOCLIP mode

commit e636cbc
Author: s1lentq <[email protected]>
Date:   Fri Jan 12 09:16:20 2024 +0700

    PlayerRelationship: GR_TEAMMATE on checking itself

commit 5268e6b
Merge: 9f54246 15df1a9
Author: Alejo <[email protected]>
Date:   Tue Jan 2 12:55:47 2024 -0300

    Merge branch 's1lentq:master' into master

void CHalfLifeMultiplay::GiveDefuserToRandomPlayer()
{
int iDefusersToGive = 2;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that number customizable? If not, why? A ratio would have been quite nice.

yohimik pushed a commit to yohimik/ReGameDLL_CS that referenced this pull request Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: 🕒 low Low priority tasks that can be postponed for the future. Status: ✅ done The issue done and closed. Type: 🚀 enhancement Improvement or addition of a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants