Jump to content
Sign in to follow this  
jw custom

How to set zoom level on custom map displayed with cutRsc?

Recommended Posts

Okay so i've displayed a map in my lower right corner using cutRsc and now i need to have the map zoomed in a bit, but i can't figure out how to do that with cutRsc.

Adjusting 'scaleDefault' seems to do nothing :confused:

Can someone help me please :)

Share this post


Link to post
Share on other sites

Help you up, want to know the answer to.

I don't know how to use cutRsc yet. :D

Share this post


Link to post
Share on other sites
	_miniMapControl ctrlShow true;
ctrlMapAnimClear _miniMapControl;
_miniMapControl ctrlMapAnimAdd[0,AAS_MapZoomLevel,getPos player];//key part
ctrlMapAnimCommit _miniMapControl;
_miniMapControl ctrlCommit 0;

Share this post


Link to post
Share on other sites
	_miniMapControl ctrlShow true;
ctrlMapAnimClear _miniMapControl;
_miniMapControl ctrlMapAnimAdd[0,AAS_MapZoomLevel,getPos player];//key part
ctrlMapAnimCommit _miniMapControl;
_miniMapControl ctrlCommit 0;

Yeah that works when showing the map as a control, i wanna show it with cutRsc so i can have it displayed while moving.

Anyways i got what i needed from the AAS game mode mod -> http://forums.bistudio.com/showthread.php?t=96871

Share this post


Link to post
Share on other sites
Any chance you can post how you got this working etc.. as would like to also use the map on the bottom right !

Thanks

Okay i'll make an example for you tomorrow.

If you can't wait then just extract one of the AAS missions in the link i posted and you'll find the code needed.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×