Staredit Network

Staredit Network -> Modding Assistance -> __40/warpoverlay opcode
Report, edit, etc...Posted by Voyager7456(MM) on 2006-12-11 at 21:58:58
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!)
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-12-11 at 22:07:59
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?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-12-11 at 22:24:47
Hmm, I just tried it with the Stargate and the same thing happened.
Report, edit, etc...Posted by Kookster on 2006-12-12 at 01:04:44
I had a simular proplem with looping stuff with a pylon for some reason it would get rid of the shadow!
Report, edit, etc...Posted by BSTRhino on 2006-12-12 at 15:42:36
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).
Report, edit, etc...Posted by Voyager7456(MM) on 2006-12-12 at 15:51:42
Nope, I had the __40 commands in the overlay iscript and the imgol08 commands in the parent overlay.
Report, edit, etc...Posted by BSTRhino on 2006-12-12 at 17:29:36
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.
Next Page (1)