Minimap Texture
by Nathan Bowhay - ESAL · in Torque Game Engine · 06/30/2006 (12:26 pm) · 3 replies
From My understanding the Minimap in the RTS is rendered in real time. It uses whatever the terrain looks like.
Please correct me if I am wrong though.
I am trying to Make it semi-transparent. If it was a texture I could just change the alpha layer.
If anyone can help in anyway that would be great.
Note: I have looked in the .cs, .gui files. I have also searched the entire example folder for the texture. If it is realtime i think I will have to edit the .h or .cc files.
It seem kinda odd to not just make the mapper create a .png that it would use from a location. That way you could edit many aspects of it directly. That is the way it is done in some other games. (UT2004)
Please correct me if I am wrong though.
I am trying to Make it semi-transparent. If it was a texture I could just change the alpha layer.
If anyone can help in anyway that would be great.
Note: I have looked in the .cs, .gui files. I have also searched the entire example folder for the texture. If it is realtime i think I will have to edit the .h or .cc files.
It seem kinda odd to not just make the mapper create a .png that it would use from a location. That way you could edit many aspects of it directly. That is the way it is done in some other games. (UT2004)
#2
I found Commander Map resource. I didn't find any that loaded from a file though. That just zooms from my understanding. I found Ramen-sama was trying to do the same thing. I saw that in a post in the forum.
I feel bad for not finding those 2 resources you are talking about. I take it that they are titled something I didn't search for.
Could you give me a keyword? Are they loading the map from a file?
Note: I am also using TGE not TSE.
07/01/2006 (8:29 am)
I did.I found Commander Map resource. I didn't find any that loaded from a file though. That just zooms from my understanding. I found Ramen-sama was trying to do the same thing. I saw that in a post in the forum.
I feel bad for not finding those 2 resources you are talking about. I take it that they are titled something I didn't search for.
Could you give me a keyword? Are they loading the map from a file?
Note: I am also using TGE not TSE.
#3
Yeah, it has nothing to do with the commander map but I meant to say that it's easily expandable to such, but with a bitmap instead of a rendered scene (which is alot of additional overhead, btw)
Here are some results that might interest you.
Check out how the bitmap is rendered in those controls and you'll have a fairly good idea of how to implement it to behave like the commander map, IMO.
07/01/2006 (9:00 am)
Don't feel bad about it.Yeah, it has nothing to do with the commander map but I meant to say that it's easily expandable to such, but with a bitmap instead of a rendered scene (which is alot of additional overhead, btw)
Here are some results that might interest you.
Check out how the bitmap is rendered in those controls and you'll have a fairly good idea of how to implement it to behave like the commander map, IMO.
Torque Owner Stefan Lundmark
This exact feature has been implemented in 2 resources or more already, and it would be a breeze to add it from there.