Jump to content

Photo

MiniMap - HUD Element


  • Please log in to reply
321 replies to this topic

#21
Greyfur46

Greyfur46

    Newbie

  • Members
  • Pip
  • 10 posts
Well, one problem solved. I had updated _grid_size to _grid_size_x and _grid_size_y in minimap_main.xml as you suggested - works great. But I did not make the change in minimap_icon_template.xml so some garbage value was loaded instead of what was intended. Fixed that and the game ran for quite a while before crashing again. Probably some other mis-match between variable names in calling and called functions. Will look for more.

Also, any idea why it takes so LOOOOOONNNNNGGGGG to load when switching maps - like going into a cave or through a cave door?

#22
KyoParadox

KyoParadox

    Enthusiast

  • Members
  • PipPip
  • 241 posts
Greyfur46: I appreciate you trying things out, but there are a lot of places which use the _grid_size, either directly or in combination with something else.

Crashes, it is something I am looking into. I suspect it is not entirely to blame on having a widescreen resolution, more likely a CTD due to something unexpected in the scripts.

As for while it takes long to switch maps, do you mean the Loading Menu itself or that there is a delay before the MiniMap is adjusted/set to the cell? If it's the latter then I know what's causing it, a slight oversight on my end.

#23
Greyfur46

Greyfur46

    Newbie

  • Members
  • Pip
  • 10 posts
Kyo: Screen freezes completely until map gets updated. Looks like the context switch gets completed OK and then the interface hangs until the mini-map sorts itself out.

#24
Greyfur46

Greyfur46

    Newbie

  • Members
  • Pip
  • 10 posts
Kyo:

In minimap_main.xml, you refer to traits "width" and "height" for _zoom_value and _zoom_pct but don't define these traits in the definitions of _zoom_value and _zoom_pct that I can see.

#25
KyoParadox

KyoParadox

    Enthusiast

  • Members
  • PipPip
  • 241 posts
Greyfur46: Those two elements are of the <text> type, it always has a width trait (and height) that can be accessed without it being defined in the XML itself. Basically it's used to determine how wide and how high a text element is.

Freezes,as in, freezes completely? Have you tried setting MiniMapDebug to -1 in the ini? It will disable all script processing.

#26
Greyfur46

Greyfur46

    Newbie

  • Members
  • Pip
  • 10 posts
Kyo: MiniMapDebug=-1 did help load speed . but still crash when changing maps (going through named door in a cave). Oh, well.

#27
madestro

madestro

    Journeyman

  • Members
  • Pip
  • 45 posts
Nice little concept but there are some problems on mine, first the player marker was going one way and the map was somewhere else so it seemed always that I was walking on black land, second sometimes the door icons would not show at all and third it gave my console a black "shadow" that wouldn't go away even if the map was off.
Anyhow nice concept maybe I'll try next version but keep up the good work.

#28
forli

forli

    Old hand

  • Members
  • PipPipPip
  • 834 posts
My minimap goes crazy!
[attachment=8538:ScreenShot0.jpg] [attachment=8539:ScreenShot1.jpg]
(The screenshots are visibles in the forum)

My game crash after few minutes. I play with 1280x1024, no widescreen.

#29
ricksamik

ricksamik

    Old hand

  • Banned
  • PipPipPip
  • 661 posts
This is a good idea thanks !!!!

#30
LenaMarie

LenaMarie

    Old hand

  • Supporter
  • PipPipPip
  • 901 posts
any help on what my IMiniMapWidth and IMiniMapHeight should be? my Screen size is 2048x1152 Widescreen.

Thanks! I've always wanted a mod like this but I just cant figure out how to configure it, i tried and it either fills the entire screen or just makes my game crash.




Page loaded in: 1.110 seconds