Ok i have just edited the speed plugin, to add different jump/speed/gravity on each map if you so wished.
Credits @Pozzuh for the original speed plugin code, @pieter & @zxz0O0 for the code to get it to work. (Thanks guys your help is always appreciated)
There is no way to alter this except via C# as i had no idea how to add it in the sv_config.
Anyway the defaults are as follows, with the !jumpheight edited to !jh for easier/faster activation, !gravity is now !grav rest is the same. I have included the .dll so you can get an idea of what you can do with the speed/jumpheight etc.
I was gonna post the whole code for the plugin, but it's just a case of adding this code and setting the speed etc that you want.
Credits @Pozzuh for the original speed plugin code, @pieter & @zxz0O0 for the code to get it to work. (Thanks guys your help is always appreciated)
There is no way to alter this except via C# as i had no idea how to add it in the sv_config.
Anyway the defaults are as follows, with the !jumpheight edited to !jh for easier/faster activation, !gravity is now !grav rest is the same. I have included the .dll so you can get an idea of what you can do with the speed/jumpheight etc.
I was gonna post the whole code for the plugin, but it's just a case of adding this code and setting the speed etc that you want.
Code:
public override void OnMapChange()
{
string currmap = GetDvar("mapname");
if (currmap == "mp_radar")
{
g_speed_var = 265;
jump_height_var = 245;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_village")
{
g_speed_var = 235;
jump_height_var = 250;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_seatown")
{
g_speed_var = 235;
jump_height_var = 260;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_bravo")
{
g_speed_var = 255;
jump_height_var = 305;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_exchange")
{
g_speed_var = 228;
jump_height_var = 130;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_underground")
{
g_speed_var = 255;
jump_height_var = 255;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_dome")
{
g_speed_var = 265;
jump_height_var = 240;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_paris")
{
g_speed_var = 257;
jump_height_var = 265;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_plaza2")
{
g_speed_var = 230;
jump_height_var = 210;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_carbon")
{
g_speed_var = 245;
jump_height_var = 265;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_aground_ss")
{
g_speed_var = 245;
jump_height_var = 310;
fall_damage_var = 0;
gravity_var = 800;
}
else if (currmap == "mp_alpha")
{
g_speed_var = 225;
jump_height_var = 140;
fall_damage_var = 0;
gravity_var = 800;
}
else // if map not defined
{
g_speed_var = 226;
jump_height_var = 245;
fall_damage_var = 0;
gravity_var = 800;
}
set_g_speed(g_speed_var);
set_jump_height(jump_height_var);
set_g_gravity(gravity_var);
if (fall_damage_var == 0)
disableFallDamage();
else
enableFallDamage();
}