|
Junior Member
|
03-02-2020
, 13:12
Re: [CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
|
#2542
|
Quote:
Originally Posted by DaDeppa
I forked the repository of SHiva's Multi-Cfg:
https://github.com/dadeppa/multicfg-deathmatch
I added an option to choose the config load behaviour:
Code:
"Config"
{
"Loop" "1"
"H3busCompatibility" "1" // 1 : for h3bus DM, 0 : for Max DM.
"CfgChange" "0" // 0: equip, 1: respawn, 2: restart, 3: nextround
}
PHP Code:
if (kvConfig.JumpToKey("Config"))
{
isLoop = view_as<bool>(KvGetNum(kvConfig, "Loop"));
isH3busDM = view_as<bool>(KvGetNum(kvConfig, "H3busCompatibility"));
modeCfgChange = view_as<int>(KvGetNum(kvConfig, "CfgChange"));
}
// (...)
switch (modeCfgChange) // 0: equip, 1: respawn, 2: restart, 3: nextround
{
case 1:
{
sModeCfgChange = "respawn";
}
case 2:
{
sModeCfgChange = "restart";
}
case 3:
{
sModeCfgChange = "nextround";
}
default:
{
sModeCfgChange = "equip";
}
}
if(!isH3busDM)
{
StrCat(sConfigName, sizeof(sConfigName), ".ini");
Format(sCommand, sizeof(sCommand), "dm_load \"%s\" \"%s\"", sConfigName, sModeCfgChange);
}
else
{
Format(sCommand, sizeof(sCommand), "dm_load \"Game Modes\" \"%s\" \"%s\"", sConfigName, sModeCfgChange);
}
I did not find a topic for SHeva's Multi-CFG Plugin... so I posted it here.
|
Is there a way to have pistol only onlyhs for like 5mins and then 10mins of normal deathmatch? What can i add in the config to add the onlyHS for an amount of time?
__________________
|
|
|
|