I remember the first time I tried changing the minimap, I used the stock values, and I had this same issue, so I then went on to try other values. With that said, trying it again (with your code this time) still didn't fix it. The issue stands exactly the same as it was before.thelegend wrote:I tested it again and surprisingly I had the same issue you had (Pictures you posted). I compared the stock .hud with mine and found the bad guy inside your file: EventDisable("player1.map.disable")
Remove this line completely and only keep EventEnable("player1.map.enable") in! I did do the same and the bug was gone. Here's my .hud file showing the minimap reposition+all of it's stock contents:
Hidden/Spoiler:[code]
Map("player1map")
{
PositionSmall(0.9, 0.9, 0.004111, "Viewport")
PositionLarge(0.308639, 999.556811, -38.133076, "Viewport")
PositionSpawn(0.767984, 999.477156, 0.000000, "Viewport")
EventToggleMapMode("player1.map.modeToggle")
EventChangeMapMode("player1.map.mode")
EventPostHide("player1.map.hideCPs")
EventRefreshTarget("player1.map.refreshTarget")
EventRefreshPost("player1.map.refreshPost")
EventRefreshMarker("player1.map.refreshMarker")
EventPlayerIndex("player1.index")
PropagateAlpha(1)
Position(0.917484, 0.110884, 0.004111, "Viewport")
Scale(0.820000, 0.820000, 0.820000)
ZOrder(127)
Alpha(0.850000)
EventEnable("player1.map.enable")
BackdropSmall("BackdropSmall")
{
Mask("map_mask")
TexCoords(0.248419, 0.564873, 0.470641, 0.787095)
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVSmall("PlayerFOVSmall")
{
Mesh("hud_map_fov")
ZOrder(123)
}
PlayerDirectionSmall("PlayerDirectionSmall")
{
Mesh("hud_map_fov")
ZOrder(124)
Alpha(0.200000)
Color(255, 255, 0)
}
TargetSmall("TargetSmall")
{
BitmapStyle("Shadow")
ZOrder(126)
Color(0, 0, 0)
}
PostSmall("PostSmall")
{
BitmapStyle("Shadow")
}
PostTextSmall("PostTextSmall")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectSmall("PostSelectSmall")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerSmall("MarkerSmall")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthSmall("NorthSmall")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.110000, 0.000000, "Viewport")
Scale(2.000000, 2.000000, 2.000000)
ZOrder(127)
}
BackdropLarge("BackdropLarge")
{
Mask("map_mask")
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVLarge("PlayerFOVLarge")
{
Mesh("hud_large_map_fov")
ZOrder(0)
Alpha(0.500000)
}
PlayerDirectionLarge("PlayerDirectionLarge")
{
Mesh("hud_map_fov")
ZOrder(124)
Alpha(0.200000)
Color(255, 255, 0)
}
TargetLarge("TargetLarge")
{
BitmapStyle("Shadow")
ZOrder(254)
Color(0, 0, 0)
}
PostLarge("PostLarge")
{
BitmapStyle("Shadow")
ZOrder(0)
}
PostTextLarge("PostTextLarge")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectLarge("PostSelectLarge")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerLarge("MarkerLarge")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthLarge("NorthLarge")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.375000, 0.000000, "Viewport")
Scale(5.000000, 5.000000, 5.000000)
ZOrder(127)
}
BackdropSpawn("BackdropSpawn")
{
Mask("map_mask")
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVSpawn("PlayerFOVSpawn")
{
ZOrder(123)
}
PlayerDirectionSpawn("PlayerDirectionSpawn")
{
ZOrder(124)
}
TargetSpawn("TargetSpawn")
{
BitmapStyle("Shadow")
ZOrder(126)
Color(0, 0, 0)
}
PostSpawn("PostSpawn")
{
BitmapStyle("Shadow")
}
PostTextSpawn("PostTextSpawn")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectSpawn("PostSelectSpawn")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerSpawn("MarkerSpawn")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthSpawn("NorthSpawn")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.325000, 0.000000, "Viewport")
Scale(5.000000, 5.000000, 5.000000)
ZOrder(127)
}
}
[/code]
Here's the part of my HUD file for brevity:
Hidden/Spoiler:
[code]Map("player1map")
{
PositionSmall(0.9, 0.9, 0.004111, "Viewport")
PositionLarge(0.308639, 999.556811, -38.133076, "Viewport")
PositionSpawn(0.767984, 999.477156, 0.000000, "Viewport")
EventToggleMapMode("player1.map.modeToggle")
EventChangeMapMode("player1.map.mode")
EventPostHide("player1.map.hideCPs")
EventRefreshTarget("player1.map.refreshTarget")
EventRefreshPost("player1.map.refreshPost")
EventRefreshMarker("player1.map.refreshMarker")
EventPlayerIndex("player1.index")
PropagateAlpha(1)
Position(0.917484, 0.110884, 0.004111, "Viewport")
Scale(0.820000, 0.820000, 0.820000)
ZOrder(127)
Alpha(0.850000)
EventEnable("player1.map.enable")
BackdropSmall("BackdropSmall")
{
Mask("map_mask")
TexCoords(0.248419, 0.564873, 0.470641, 0.787095)
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVSmall("PlayerFOVSmall")
{
Mesh("hud_map_fov")
ZOrder(123)
}
PlayerDirectionSmall("PlayerDirectionSmall")
{
Mesh("hud_map_fov")
ZOrder(124)
Alpha(0.200000)
Color(255, 255, 0)
}
TargetSmall("TargetSmall")
{
BitmapStyle("Shadow")
ZOrder(126)
Color(0, 0, 0)
}
PostSmall("PostSmall")
{
BitmapStyle("Shadow")
}
PostTextSmall("PostTextSmall")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectSmall("PostSelectSmall")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerSmall("MarkerSmall")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthSmall("NorthSmall")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.110000, 0.000000, "Viewport")
Scale(2.000000, 2.000000, 2.000000)
ZOrder(127)
}
BackdropLarge("BackdropLarge")
{
Mask("map_mask")
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVLarge("PlayerFOVLarge")
{
Mesh("hud_large_map_fov")
ZOrder(0)
Alpha(0.500000)
}
PlayerDirectionLarge("PlayerDirectionLarge")
{
Mesh("hud_map_fov")
ZOrder(124)
Alpha(0.200000)
Color(255, 255, 0)
}
TargetLarge("TargetLarge")
{
BitmapStyle("Shadow")
ZOrder(254)
Color(0, 0, 0)
}
PostLarge("PostLarge")
{
BitmapStyle("Shadow")
ZOrder(0)
}
PostTextLarge("PostTextLarge")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectLarge("PostSelectLarge")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerLarge("MarkerLarge")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthLarge("NorthLarge")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.375000, 0.000000, "Viewport")
Scale(5.000000, 5.000000, 5.000000)
ZOrder(127)
}
BackdropSpawn("BackdropSpawn")
{
Mask("map_mask")
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVSpawn("PlayerFOVSpawn")
{
ZOrder(123)
}
PlayerDirectionSpawn("PlayerDirectionSpawn")
{
ZOrder(124)
}
TargetSpawn("TargetSpawn")
{
BitmapStyle("Shadow")
ZOrder(126)
Color(0, 0, 0)
}
PostSpawn("PostSpawn")
{
BitmapStyle("Shadow")
}
PostTextSpawn("PostTextSpawn")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectSpawn("PostSelectSpawn")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerSpawn("MarkerSpawn")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthSpawn("NorthSpawn")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.325000, 0.000000, "Viewport")
Scale(5.000000, 5.000000, 5.000000)
ZOrder(127)
}
}[/code]
{
PositionSmall(0.9, 0.9, 0.004111, "Viewport")
PositionLarge(0.308639, 999.556811, -38.133076, "Viewport")
PositionSpawn(0.767984, 999.477156, 0.000000, "Viewport")
EventToggleMapMode("player1.map.modeToggle")
EventChangeMapMode("player1.map.mode")
EventPostHide("player1.map.hideCPs")
EventRefreshTarget("player1.map.refreshTarget")
EventRefreshPost("player1.map.refreshPost")
EventRefreshMarker("player1.map.refreshMarker")
EventPlayerIndex("player1.index")
PropagateAlpha(1)
Position(0.917484, 0.110884, 0.004111, "Viewport")
Scale(0.820000, 0.820000, 0.820000)
ZOrder(127)
Alpha(0.850000)
EventEnable("player1.map.enable")
BackdropSmall("BackdropSmall")
{
Mask("map_mask")
TexCoords(0.248419, 0.564873, 0.470641, 0.787095)
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVSmall("PlayerFOVSmall")
{
Mesh("hud_map_fov")
ZOrder(123)
}
PlayerDirectionSmall("PlayerDirectionSmall")
{
Mesh("hud_map_fov")
ZOrder(124)
Alpha(0.200000)
Color(255, 255, 0)
}
TargetSmall("TargetSmall")
{
BitmapStyle("Shadow")
ZOrder(126)
Color(0, 0, 0)
}
PostSmall("PostSmall")
{
BitmapStyle("Shadow")
}
PostTextSmall("PostTextSmall")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectSmall("PostSelectSmall")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerSmall("MarkerSmall")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthSmall("NorthSmall")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.110000, 0.000000, "Viewport")
Scale(2.000000, 2.000000, 2.000000)
ZOrder(127)
}
BackdropLarge("BackdropLarge")
{
Mask("map_mask")
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVLarge("PlayerFOVLarge")
{
Mesh("hud_large_map_fov")
ZOrder(0)
Alpha(0.500000)
}
PlayerDirectionLarge("PlayerDirectionLarge")
{
Mesh("hud_map_fov")
ZOrder(124)
Alpha(0.200000)
Color(255, 255, 0)
}
TargetLarge("TargetLarge")
{
BitmapStyle("Shadow")
ZOrder(254)
Color(0, 0, 0)
}
PostLarge("PostLarge")
{
BitmapStyle("Shadow")
ZOrder(0)
}
PostTextLarge("PostTextLarge")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectLarge("PostSelectLarge")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerLarge("MarkerLarge")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthLarge("NorthLarge")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.375000, 0.000000, "Viewport")
Scale(5.000000, 5.000000, 5.000000)
ZOrder(127)
}
BackdropSpawn("BackdropSpawn")
{
Mask("map_mask")
ZOrder(255)
Alpha(0.500000)
}
PlayerFOVSpawn("PlayerFOVSpawn")
{
ZOrder(123)
}
PlayerDirectionSpawn("PlayerDirectionSpawn")
{
ZOrder(124)
}
TargetSpawn("TargetSpawn")
{
BitmapStyle("Shadow")
ZOrder(126)
Color(0, 0, 0)
}
PostSpawn("PostSpawn")
{
BitmapStyle("Shadow")
}
PostTextSpawn("PostTextSpawn")
{
TextBreak("Word")
TextAlignment("Center", "Bottom")
ZOrder(127)
}
PostSelectSpawn("PostSelectSpawn")
{
Bitmap("hud_icon_flash")
BitmapStyle("Shadow")
}
MarkerSpawn("MarkerSpawn")
{
BitmapStyle("Shadow")
ZOrder(0)
}
NorthSpawn("NorthSpawn")
{
Bitmap("hud_map_northpointer")
BitmapStyle("Shadow")
Position(0.000000, -0.325000, 0.000000, "Viewport")
Scale(5.000000, 5.000000, 5.000000)
ZOrder(127)
}
}[/code]