Has anyone gotten the __40 (IceCC)/warpoverlay (IceCC 1.3) opcode to work properly? According to SC:U, it "plays the image overlay clipped to the parent overlay's outline". Unfortunately, it doesn't seem to do that when I try. (Although it does with the Warp Texture.)
What I'm trying to do is display the Warp Texture overlay looped over a unit. I simply created a new iscript that looped the overlay and had it display over a unit, but the overlay:
a) Doesn't loop...
and b) Doesn't clip to parent overlay. (I can understand if SC:U's theory was wrong, but the frustrating part is that it works perfectly fine when you warp in Protoss buildings!)
That it does...I tried what you said independently, and it stops at the first frame. I'd actually just copy-pasted the script, but it doesn't have the correct effect. Maybe it only works with a specific iscript ID?
Hmm, I just tried it with the Stargate and the same thing happened.
I had a simular proplem with looping stuff with a pylon for some reason it would get rid of the shadow!
That SC:U description was just me hypothesising so lol... there's no reason why it'd be right. If you copy-pasted the code just like the original then I don't know, that's just how it is I guess.
The way I understood it worked was you'd have to do imgol08 <warp texture overlay ID> and that'd work fine since the __40 commands are already in the warp texture overlay iscript. If you have __40 in the actual iscript for the Stargate I don't see how that would work, I wouldn't be surprised if that crashed the game because the Stargate doesn't have a parent overlay (or underlay).
Nope, I had the __40 commands in the overlay iscript and the imgol08 commands in the parent overlay.
Maybe the warp texture overlay has a special palette in images.dat. I'm checking it out now...
Edit: nope, that's not it. I don't know then, must be an order thing.