The minimap.

The minimap.

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

The minimap.

Post by smoth »

So like if I wanted to replace the minimap image can I do it without replacing the whole thing in lua? As in what if I wanted to use an image to represent the map in a more abstracted form?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: The minimap.

Post by Silentwings »

I think you'd have to re-implement the image and the other minimap stuff; but it might not be too bad since (at least for me) most of event indication on the minimap is already lua-ed. Slightly worried that turning off the engines minimap might also turn off the callins that relate to the minimap, but I haven't tested it.

Personally I've always wanted to be able to flip the minimap to match a flipped (overhead, etc) camera but never got around to coding it.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: The minimap.

Post by zwzsg »

There's no way to change the minimap background image. And I wish there was: http://springrts.com/phpbb/viewtopic.php?f=23&t=24763

I was told to replace the minimap by Lua, but that is silly imo: between unit icon, marker notification, start pos box, DrawInMinimap callin, there'd be too much stuff to replicate.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: The minimap.

Post by smoth »

yeah it becomes a monumental task. it would be neat if we could get some calls to get the data we need to replace the minimap but as it stands with little api support, the minimap is one of the many rigid areas of spring. Feature request?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: The minimap.

Post by Jools »

+1.

I would like to have the option to make the minimap black and white, like it is in original TA (actually it's B&W outside LOS there).
Post Reply

Return to “Game Development”