This is a copy of a thread from the general section. I didnt get any answers there, so I hope more people will see it here.
Dont look at the code, I only need to understand actual CVARs and map variables meanings
What do these variables mean? I am trying to understand logic behing this plugin's code:
https://github.com/MatthewClair/sour...d_tankifier.sp
It uses a few main variables to calculate boss flow (And I am not sure what exactly does boss flow mean xD)
CVARS:
g_hVsBossBuffer = FindConVar("versus_boss_buffer");
g_hVsBossFlowMax = FindConVar("versus_boss_flow_max");
g_hVsBossFlowMin = FindConVar("versus_boss_flow_min");
Map vars:
new Float:fMinBanFlow = L4D2_GetMapValueInt("tank_ban_flow_min", -1) / 100.0;
new Float:fMaxBanFlow = L4D2_GetMapValueInt("tank_ban_flow_max", -1) / 100.0;
new iMinWitchFlow = L4D2_GetMapValueInt("witch_flow_min", -1);
new iMaxWitchFlow = L4D2_GetMapValueInt("witch_flow_max", -1);
So my question is what do these variables mean. To me it looks like versus_boss_flow_min/max define map segment (from 0.0 to 1.0) where any type of boss can spawn, while tank_ban_flow_min/max define a map segment where tanl cannot be spawned.
But I am not sure if this is true, also I am confused about witch_flow_min/max (why is there no 'ban' here?) and I didnt understand what does versus_boss_buffer do
__________________