Reveal Map Button?

Kasdar

Warlord
Joined
Jul 29, 2006
Messages
268
Location
Minnesota
I found a mod called "XiDragon's Reveal Map Button (v 1)" but couldnt find any info on it here, I was wondering if it is possible to get this mod to reveal resources along with the map.

The Code is below for anyone who wants to tell me what I need to do to have it reveal resources also.

Also would be nice to be able to get it to be able to turn off hiding the map and resources I cant see again.


Code:
-- Lua Script1
-- Author: XiDragon
-- DateCreated: 29-Sep-10 23:12:30
-------------------------------------------------

-------------------------------------------------
-- RevealMapButton Handler
-------------------------------------------------
function RevealMap()
    FOW_SetAll(0); -- corresponds to gameplay FOGOFWARMODE_OFF
    Game.UpdateFOW(false);
end
Controls.RevealMap_Button:RegisterCallback( Mouse.eLClick, RevealMap );

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created using ModBuddy on 29-Sep-10 23:07:58 -->
<!-- Created by XiDragon -->
<Context ColorSet="Beige_Black_Alpha" FontStyle="Shadow" Font="TwCenMT16" >
	<Stack Offset="320,30" Padding="0" Anchor="R,T" StackGrowth="Bottom" >
		<Button ConsumeMouse="1" ID="RevealMap_Button" Hidden="0" Anchor="R,T" Size="45.45"  Offset="0,0" Texture="RevealMapOff.dds"  ToolTip="Reveal Map">
			<ShowOnMouseOver>
				<Image Anchor="R,T" Offset="0,0" Size="45.45" Texture="RevealMapHL.dds" ID="RevealMapOn" />
			</ShowOnMouseOver>
		</Button>
	</Stack>
</Context>
 
My system isnt the greatest right now, doesnt Firetuner add a drain on the resources?
 
Well, it doesn't for me, but the best way to find out may be to try it and see.
 
Back
Top Bottom