饥荒联机版

饥荒联机版

Global Positions
thasmo 2015 年 1 月 28 日 下午 12:49
Show player names on the map when hovering with the cusor
It would be awesome to have the player name displayed somewhere, when hovering the player icons on the map. At the moment it's not possible to differentiate between players which play the same character.

Additionally it woul be also very nice to use the new color rings on the map so it will be even clearer who is who.
< >
正在显示第 1 - 3 条,共 3 条留言
LxG_Pyro 2015 年 1 月 29 日 上午 8:00 
Yeah good idea its cool !
rezecib  [开发者] 2015 年 1 月 31 日 下午 7:52 
I would love to do this, but unfortunately it's not nicely possible as far as I know. The only things that the map displays on its own are textures, and there is no way I know of to generate textures on the fly (e.g. with names in them).

Another approach would be to find a way to know where on the screen the icon is and do an overlay of text, but this is also very difficult because the map is an object in the C++ code over which you have very little control, so it would take a lot of experimentation and fine-tuning to be able to figure out from the zoom level, panning of the map, etc, where the icons actually are on the screen.

That being said, I may try something like the latter eventually.

Edit: Coloring player icons I might be able to do, though... I could just make a color circle texture for each of the colors, and display that below the normal icon, I think. Still a bit hacky, but it seems doable.
最后由 rezecib 编辑于; 2015 年 1 月 31 日 下午 7:53
rezecib  [开发者] 2016 年 5 月 29 日 下午 4:14 
I realized there were some completely different ways of approaching this than I had thought of initially, and managed to put this in. Yay!
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50