Game Development Community

Problems with MapHud

by Emil Diego · in RTS Starter Kit · 03/28/2007 (7:58 am) · 1 replies

No matter what mission i view, my MapHud displays nothing but a white. None of the terrain or units are rendered to the maphud anymore. The only things that are rendered properly are the pings and the camera view rectangle.

Other that that it functions fine. When i click on the mini map it jumps the camera to the correct position.

I have also traced through the code and GuiMapHud::rebuildMap function is executing and everything looks good in the code.

When i take the executable and run it against the RTS Starter.FPS project, the mini map displays correctly, but when i run my game mod, it's now working. I copied all of the Starter.FPS script files to use as a base for my game and I have made some changes, but nothing that I recall that should affect the MapHud.

Anyone have any ideas what I could have done wrong.

#1
03/29/2007 (7:18 am)
I believe i found the problem, but I don't know what the solution could be.

I did some file comparisons between my project and the example project from the SDK, and the only major difference that I could find was that my project defaulted to Direct3D, while the SDK example defaulted to OpenGL.

Once I changed the Display Driver from Direct3D to OpenGL the mini map started working again.

Is there a solution to this problem ??
I saw a post from Josh williams stating that this was a known issue and that it was already fixed in gg's internal source repository. That post was in Jan 2005. Has there been any progress with this issue ??