ItsMods

Full Version: how to turn off map in dedicated server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to turn off this map in menu
[Image: mapa_mw3.jpg]
cg_compass 0
ui_compass 0

^^^^
Try those cvars.
(10-15-2013, 09:30)SailorMoon Wrote: [ -> ]cg_compass 0
ui_compass 0

^^^^
Try those cvars.

i tryed put them in server.cfg but no effect
(10-15-2013, 09:46)pero123 Wrote: [ -> ]
(10-15-2013, 09:30)SailorMoon Wrote: [ -> ]cg_compass 0
ui_compass 0

^^^^
Try those cvars.

i tryed put them in server.cfg but no effect

Try then:
Code:
compass 0
ui_showmap "0"

If it doesn't work, then it is protected. But there should be another way.

You can change it by using plugins. Just do 'SetDvar("ui_mapname", "null");' anywhere. After restart, map image will go away.

If all CVars won't work, then you need to try to make a plugin with them. I am not sure if server.cfg can handle those cmds.
(10-15-2013, 10:02)SailorMoon Wrote: [ -> ]
(10-15-2013, 09:46)pero123 Wrote: [ -> ]
(10-15-2013, 09:30)SailorMoon Wrote: [ -> ]cg_compass 0
ui_compass 0

^^^^
Try those cvars.

i tryed put them in server.cfg but no effect

Try then:
Code:
compass 0
ui_showmap "0"

If it doesn't work, then it is protected. But there should be another way.

You can change it by using plugins. Just do 'SetDvar("ui_mapname", "null");' anywhere. After restart, map image will go away.

If all CVars won't work, then you need to try to make a plugin with them. I am not sure if server.cfg can handle those cmds.

ok i tryed make plugin but i m new in this Tongue
and did not turn off map

Code:
using System;
using InfinityScript;

namespace NoMap
{
    public class NoMap : BaseScript
    {
        public NoMap()
            : base()
        {
            Call("setdvar", "ui_mapname", "null");
            
        }
    }
}
(10-15-2013, 11:32)pero123 Wrote: [ -> ]
(10-15-2013, 10:02)SailorMoon Wrote: [ -> ]
(10-15-2013, 09:46)pero123 Wrote: [ -> ]
(10-15-2013, 09:30)SailorMoon Wrote: [ -> ]cg_compass 0
ui_compass 0

^^^^
Try those cvars.

i tryed put them in server.cfg but no effect

Try then:
Code:
compass 0
ui_showmap "0"

If it doesn't work, then it is protected. But there should be another way.

You can change it by using plugins. Just do 'SetDvar("ui_mapname", "null");' anywhere. After restart, map image will go away.

If all CVars won't work, then you need to try to make a plugin with them. I am not sure if server.cfg can handle those cmds.

ok i tryed make plugin but i m new in this Tongue
and did not turn off map

Code:
using System;
using InfinityScript;

namespace NoMap
{
    public class NoMap : BaseScript
    {
        public NoMap()
            : base()
        {
            Call("setdvar", "ui_mapname", "null");
            
        }
    }
}

Oh sorry, 4d1 is not supported there.
but there must be a way to switched off map in menu
or at least that does not show the players on it
No you can't. Unless someone dumps the menus and has proper expressions then no. Once someone does get the visible when and apply one of the dvars.
(10-15-2013, 15:33)DidUknowiPwn Wrote: [ -> ]No you can't. Unless someone dumps the menus and has proper expressions then no. Once someone does get the visible when and apply one of the dvars.

It is working in modern warfare 3, addon. Just make ui_mapname null. Or ui_hidemap 0.
I remember how I was making hns mod. It is not clientdvar, so it's okay.