Game Development Community

Mission Area

by James Dunlap · in RTS Starter Kit · 02/15/2006 (8:36 am) · 7 replies

Is there a problem with expanding the Mission Area to include the entire map? It was the only way I could think of to make the minimap include the entire map.

#1
02/15/2006 (1:36 pm)
Great idea James, I was wondering how to do this, didn't ven think of trying that...
#2
02/15/2006 (1:50 pm)
"The entire map" is a misleading concept--Torque terrain (in the RTS-SK as well) tiles infinitely. The Mission area can be set to whatever you like, and most people will either use the onLeaveMissionArea callback, or terrain/building geometry to limit player movement outside those bounds.
#3
02/15/2006 (2:06 pm)
It was the issue of getting more terrain to show up inside the minimap without making the actual minimap larger that I was thinking about. It was neat to find out about the tiling terrain, some engines go through a lot of pain to do this ;)
#4
02/15/2006 (7:57 pm)
I guess I don't really understand the question then...the mini-map renders based on the mission area size, and that size is a sub-set of all the possible renderable terrain positions (since it's infinite to the point where you lose floating point precision)...so what exactly are you wanting to do? If you want your mission area bigger, make it bigger in the mission editor or the .mis file :)
#5
02/16/2006 (3:47 am)
Yes, there's no real question, sorry about the confusion. It was a simple concept, but one I missed until James' post.
#6
02/16/2006 (5:27 am)
When I said, "the entire map" I meant I was expanding the mission area to include as much terrain as possible, without having it tiled. My question, which I seem to have asked poorly, was whether or not there is a performance dissavantage to doing this.
#7
02/16/2006 (9:08 am)
As far as I am aware, the RTS-SK example map is exactly that--however, the squaresize is set to 5, so it does appear as if the total map area is "smaller" than one made with a squaresize of 8.

No, there shouldn't be any -large- performance hit on this, but anything at all you do is some kind of performance hit, so...