• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Hide Terrain

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
That 'unexplored dark' is called 'Fog Of War' or 'Black Mask' (i don't know which one of those... i think it's the Fog Of War) :)

It should be something like this, i believe.
  • Visibility - Create an initially 'Disabled' visibility modifier for 'A_Player' emitting Visibility from 'Point' to a radius of 'Value'
You can do that with a region, instead of a circle from point to radius aswell.
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
You might be looking for the Mighty Alpha Tile?

It's a tile that removes terrain completely so that you can see through it.

EDIT: Nevermind I didn't really read the thread, you're trying to create a black mask on a specific location, CoLd Bon3 already gave you an example.
Have you tested it yet?

Fog of war = The fog that displays parts of the map that you have already discovered in which you can see terrain and doodads but no units.
Black mask = The black mask underneath the fog which displays parts of the map that have not been discovered yet.
Visibility = Both Fog of war and Black mask.
 
Level 3
Joined
Jan 10, 2012
Messages
43
You might be looking for the Mighty Alpha Tile?

It's a tile that removes terrain completely so that you can see through it.

EDIT: Nevermind I didn't really read the thread, you're trying to create a black mask on a specific location, CoLd Bon3 already gave you an example.
Have you tested it yet?

Fog of war = The fog that displays parts of the map that you have already discovered in which you can see terrain and doodads but no units.
Black mask = The black mask underneath the fog which displays parts of the map that have not been discovered yet.
Visibility = Both Fog of war and Black mask.
^This
 
Level 3
Joined
Jan 10, 2012
Messages
43
Fog of war = The fog that displays parts of the map that you have already discovered in which you can see terrain and doodads but no units.
Black mask = The black mask underneath the fog which displays parts of the map that have not been discovered yet.
Visibility = Both Fog of war and Black mask.
^This
 
Level 10
Joined
May 28, 2011
Messages
455
Oh. teach me for black mask please :))) what should i do??

I did like above replacing fog of war to black mask. but nothing happen. :(

after this statement? (i put it in initialization)
JASS:
native CreateFogModifierRadiusLoc takes player forWhichPlayer, fogstate whichState, location center, real radius, boolean useSharedVision, boolean afterUnits returns fogmodifier

ok solved. all set at map option -.-" thanks guys!!!!
 
Last edited:
Status
Not open for further replies.
Top