Hi guys!
I was trying to change creep's minimap color. In ANY way. So... i found it in a shader. :) I know some about shaders (as i created some in GLSL), so i can tell i know what i am trying to do.
Question is, how to override this shader (especially Base.SC2Data/Shaders/MinimapTerrain.fx ) to get it work in my map? Tried to just import it in this location, but it just doesn't work... (just wondering if it is ever used or maybe precompiled somewhere else)
Anyone ever tried to do something similar or maybe want to try? :)
I will love you forever <3 if you help me :D
Btw: it seems there is no other way to change creep color. It IS hardcoded...
edit: yep, shaders are compiled :) but don't really know when. It works when i replaced it in game's MPQ (Base.SC2Data)
I believe this isn't possible anyway. I just imagine possible DoS attacks in custom map's shaders... So, there is no way to recolor creep on minimap (without doing MPQ replacing mod). No one wants to be hacked ;)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi guys!
I was trying to change creep's minimap color. In ANY way. So... i found it in a shader. :) I know some about shaders (as i created some in GLSL), so i can tell i know what i am trying to do.
Question is, how to override this shader (especially Base.SC2Data/Shaders/MinimapTerrain.fx ) to get it work in my map? Tried to just import it in this location, but it just doesn't work... (just wondering if it is ever used or maybe precompiled somewhere else)
Anyone ever tried to do something similar or maybe want to try? :)
I will love you forever <3 if you help me :D
Btw: it seems there is no other way to change creep color. It IS hardcoded...
edit: yep, shaders are compiled :) but don't really know when. It works when i replaced it in game's MPQ (Base.SC2Data)
Quite a lot of the stuff in that MPQ isn't replaceable with maps. You could try using a mod and placing the mod above the standard dependencies.
Don't works :(
If this is the problem then you could try using this trigger action called "engine reset", it might recompile the shaders.
I believe this isn't possible anyway. I just imagine possible DoS attacks in custom map's shaders... So, there is no way to recolor creep on minimap (without doing MPQ replacing mod). No one wants to be hacked ;)