• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Alpha tile is not tranperent in fog of war

Status
Not open for further replies.
Level 9
Joined
Jun 21, 2011
Messages
299
How to make an alpha tile transparent in the fog of war, like in this map Alpha World ?



Edit - My problem is that alpha tile is black in the fog of war, ingame, rather than transparent like in the map that I linked above.
 

Attachments

  • 1.png
    1.png
    980.1 KB · Views: 171
  • 2.png
    2.png
    529.2 KB · Views: 173

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,199
Maybe try importing a modified MiscData.txt file at the path the game expects?

I found these inside the file...
Code:
[FogOfWar]
FoggedTerrain=170,16,16,32
BlackMaskedTerrain=255,0,0,0
DarkMaskedTerrain=230,0,0,0
BoundaryTerrain=230,0,0,0
FoggedBoundaryTerrain=170,16,16,32
FoggedObject=255,64,64,96
BlackMaskedObject=255,0,0,0
DarkMaskedObject=255,32,32,48
BoundaryObject=255,0,0,0
FoggedBoundaryObject=255,64,64,96
ShadowImageColor=170,0,0,0

FogColorPlayer=255,255,255,255
FogColorAlly=255,0,255,210
FogColorEnemy=255,255,0,0
FogColorResource=255,32,128,128
FogColorItem=255,240,240,0
FogColorHero=255,255,255,128
FogColorDestructable=255,0,160,128
FogColorCreepAllied=255,0,0,50
FogColorCreepNormal=255,0,0,50
FogColorBlackMaskAlpha=0
FogColorDarkMaskAlpha=96
FogColorFogMaskAlpha=192
FogColorVisibleAlpha=255
FogColorBlightMask=0,63,63,64
If it replaces the default you might be able to alter the colour of fogged elements such as terrain.
 
It appears black because your sky is black (or you probably did not set a sky in your map), try changing the sky to Generic Sky.

Also, bear in mind the skybox does not have a bottom texture (See attachment below).

Edit: I actually missed the question lol my bad, sorry I can't help. :D
 

Attachments

  • skybox.png
    skybox.png
    263.7 KB · Views: 110
Last edited:
Status
Not open for further replies.
Top