Staredit Network > Forums > Modding Assistance > Topic: Need to replace the Map Revealer
Need to replace the Map Revealer
Mar 3 2009, 5:21 pm
By: Yawgmoth  

Mar 5 2009, 10:06 pm ForTheSwarm Post #21



I've used blank grps before... try copy+pasting the bluish-black color that surrounds a normal unit grp over the unit.



None.

Mar 6 2009, 12:19 am ShadowFlare Post #22



Hmm, were those crashing fully transparent images created in RetroGRP? Just asking, because from my experience, SC will accept anything, as long as it is a valid GRP.

BTW, unless you are dealing with the interface graphics, color #0 is not transparent. Transparent pixels actually do not have a palette index in the regular compressed grp format. You can actually have non-transparent color #0 if you have the converter use a different color to decide whether to make something transparent.

For the most part, color #0 is just black. However, in space you can see the stars background wherever a unit has color #0.

What I've mentioned above is precisely the reason I allow you to pick which color to make transparent with my converter.



None.

Mar 6 2009, 1:14 am Yawgmoth Post #23



Quote from name:James Buchanan
Use tmprmgraphicstart like FTS suggested?

Yep, I've already used it....

I've even tried removing all the imgol/imgul/playfram from the script as you suggested....

Problem: The unit is selectable.

Tried to change the images.dat, quitting the "Clickable" option.
Then changed the units.dat the "Advanced" Tab, seleting the "Single Entity" option.

It works, but the rare truth is that the unit is still selectable in the game. The "Single Entity" option avoid to select more than one unit with the drag&click, but if you select just one unit, it's still selectable. You didn't click it and you didn't selected more than one.

So I guess the code of the Map Revealer is really unique.

Even I changed the Firegraft to the "Unselectable" option (I didn't mean it to work, but.....), and it doesn't work....

Of course, the #000000 stuff, doesn't mean that black is transparent. The palette is based in indexes, not in colors....so the transparent color is the index 0. But in my Starcraft (maybe it is malfunctioning or something...., never mind...), the transparent frames doesn't work.

@ ShadowFlare: The converter I use is: GRP Edit to view the GRP's, GRP Converter to convert units, weapons and colored stuff and the GRP Editor from the Stardraft plugin to make the wireframs. I've never used Retro GRP..... but i'm gonna try it soon.



None.

Mar 6 2009, 1:18 am ShadowFlare Post #24



As I was saying, it is the converter that decides what to make transparent. Which color or palette index it is has nothing to do with it. You only have to conform to what the converter uses.

lol, if you've been using another converter already, don't even try RetroGRP. It is a buggy program.



None.

Mar 15 2009, 10:09 pm Yawgmoth Post #25



The unit is still selectable.....even by enemy players!!

What can i do? Apparently Map Revealer is very hard-coded.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Zycorax, Dem0n