Game Development Community

Resize MiniMap

by Arjan Gelderblom · in RTS Starter Kit · 04/16/2007 (6:27 am) · 0 replies

Hi all,

For an interface I'm trying to implement right now I want to resize the Minimap from 200x200 to 175x175. I can resize mapDisplay to 175x175 in the GUI-editor, but the actual map stays 200x200!

I then started to search for an solution in the code. I found something I thought could be the solution to my problem, but isn't the map still stays 200x200. This is what I changed: In engine/game/RTS/guiMapHud.cc
mTextureSize = 200;
mLeftMouseDown = false;
mPingHead = NULL;
mLastRenderTime = 0;
To:
mTextureSize = 175;
mLeftMouseDown = false;
mPingHead = NULL;
mLastRenderTime = 0;

But this still gives me an miniMap of 200x200. And because I'm still a newbie when it comes to Torque I don't know what to change to give me the right output! Is there anyone who can help me with this, probably minor, problem?

Edit: I'm running TGE 1.5 with the RTS Starter Kit included.

Thanks in advance,

Arjan Gelderblom