Author Topic: Disable radar on killcam  (Read 1044 times)

Offline willbe

  • Rank: Private
  • *
  • Posts: 50
Disable radar on killcam
« on: November 28, 2011, 09:33:43 pm »
Hi there,

somebody knows how to disable/hide the radar from the killcam?

I dont see this in the config files (only enable/disable killcam & disable killcam objects), but maybe it is possible editing a server's mod file.

Thanks very much in advance.

Offline PatmanSan

  • Administrator
  • Rank: Private
  • *****
  • Posts: 2527
Re: Disable radar on killcam
« Reply #1 on: December 05, 2011, 02:26:42 pm »
Doable I think. Below method is using the "hide objectives on killcam" feature to hide the entire compass when in killcam mode. You will lose the "compass changer" feature in the process. Did not test it.

ui_mp\hud.menu

Make the COMPASS section look like this:

Code: [Select]
// COMPASS
menuDef
{
name "Compass"
fullScreen MENU_FALSE
visible MENU_TRUE
rect -15 -130 COMPASS_SIZE COMPASS_SIZE HORIZONTAL_ALIGN_LEFT VERTICAL_ALIGN_BOTTOM

itemDef
{
name "compassback"
rect 0 0 COMPASS_SIZE COMPASS_SIZE
forecolor 1.0 1.0 1.0 1.0
background "gfx/hud/hud@compassback.tga"
ownerdraw CG_PLAYER_COMPASS_BACK
visible MENU_TRUE
decoration
dvartest "ui_hide_pointers"
hideDvar { "1" }
}
itemDef
{
name "compasshighlight"
rect 0 0 COMPASS_SIZE COMPASS_SIZE
forecolor 1.0 1.0 1.0 1.0
background "gfx/hud/hud@compasshighlight.tga"
ownerdraw CG_PLAYER_COMPASS_BACK
visible MENU_TRUE
decoration
dvartest "ui_hide_pointers"
hideDvar { "1" }
}
itemDef
{
name "compassface"
rect 0 0 COMPASS_SIZE COMPASS_SIZE
forecolor 1.0 1.0 1.0 1.0
background "gfx/hud/hud@compassface.tga"
ownerdraw CG_PLAYER_COMPASS
visible MENU_TRUE
decoration
dvartest "ui_hide_pointers"
hideDvar { "1" }
}
itemDef // Objective pointers
{
name "compasspointers"
decoration
visible MENU_TRUE
rect 0 0 COMPASS_SIZE COMPASS_SIZE
forecolor 1.0 1.0 1.0 1.0
ownerdraw CG_PLAYER_COMPASS_POINTERS
dvartest "ui_hide_pointers"
hideDvar { "1" }
}
itemDef // Friendlies pointers
{
name "compassfriendlies"
visible MENU_TRUE
rect 0 0 COMPASS_SIZE COMPASS_SIZE
forecolor 1.0 1.0 1.0 1.0
ownerdraw CG_PLAYER_COMPASS_FRIENDS
dvartest "ui_hide_pointers"
hideDvar { "1" }
}
}

Make sure you have this setting enabled:

// hide objectives when in killcam mode
// 0 = disable (default)
// 1 = enable
set ex_killcam_hideobj "1"


You could try to add the dvar check to the toplevel menu, instead of all the individual menu items:

Code: [Select]
name "Compass"
fullScreen MENU_FALSE
visible MENU_TRUE
rect -15 -130 COMPASS_SIZE COMPASS_SIZE HORIZONTAL_ALIGN_LEFT VERTICAL_ALIGN_BOTTOM
dvartest "ui_hide_pointers"
hideDvar { "1" }

...

Not sure if that will work properly. Trial and error I guess...

Offline willbe

  • Rank: Private
  • *
  • Posts: 50
Re: Disable radar on killcam
« Reply #2 on: December 06, 2011, 12:59:56 am »
Hi there.

Thanks very much Patman,

The idea is to hide the enemys position on the killcam to make more beter our tournament server mod.

The hide objects is enabled, and its is usefull for this, but the enemy positions are not hided on enemy radar on killcam.

i will try this in the next days and tell here if it works.

Best regards.