Game Development Community

commander map (tribes 2 like)

by Tom Vogt · in Technical Issues · 12/24/2002 (3:26 am) · 4 replies

I'm looking for a way to create a (static) overhead-map from a given mission. If you've played T2, you know what I mean.

Has anyone done this? I'd be interested in finding a way to do it, automatically. Maybe it can be done through scripting (putting a camera up in the sky with high visibility and taking a snapshot?), or it can be derived more elegantly from the terrain data?

#1
12/24/2002 (7:02 am)
Search for Frank Bignone's guiMapCtrl resource.

This does what you need... I believe. It's similar to the view you get when you edit a mission area... I believe he derived some code from this feature.

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2453
#2
12/24/2002 (5:23 pm)
I've seen that one before, but it creates a small grey-scale mini-map. And it only includes terrain. I need something that gives a larger view, includes terrain textures and shows buildings.
#3
12/24/2002 (6:32 pm)
At a guess, isn't it just a top-down camera with a long range?

--Eric Forhan MRT
#4
12/25/2002 (3:24 am)
Yes, I tried that. Unfortunately, you can't do it in one go. As soon as you set visible distance to something like 5000 and fog distance to something like 5000, Torque crashes with an assertion error, something about memory allocation too large. Not that it surprises me, I had just hoped that the limit would be "out there" far enough to allow me this one stunt. :-(