Staredit Network

Staredit Network -> Modding Assistance -> Canceling a Morph?
Report, edit, etc...Posted by Corbo(MM) on 2006-07-07 at 17:27:04
Ok here's the deal, in my mod, Yes CorboboCraft every can morph to their respective here now, im using cocoon "representing" they are mophing ok i realized that for example you click on Marine's morphing button you get a cancel button, if you press it it will indeed cancel the morph But the unit will not turn back as a marine, it will turn back as a Mutalisk.
I erased the Button group Zerg Egg/Cocoon so you don't have the button to cancel, which you don't.
Now what's the problem then?
You can still click the icon right next to where it shows the morphing progress, and boom it cancels and you get a ugly mutalisk.
I was thinking of possible solutions.
if i change what's displayed on the cocoon.....but i won't like it because you wouldn't get the progress bar
Or either make it uber fast so they cannot cancel it whichi don' want either...now...
Can i stop the player from canceling the morph Or either can i stop the marine from turning into mutalisk when morph is cancelled?

Sorry about the long post tongue.gif
Report, edit, etc...Posted by DiscipleOfAdun on 2006-07-07 at 17:59:48
I don't remember what happens when you try the stat-bar combo that the Archon has, but that'd be my first trial. Other than that, you'll probably just have to change it to one that doesn't show the progress bar.

You won't be able to change the ID of the unit returned, unfortunately. Hey, at least you are getting the morph.
Report, edit, etc...Posted by Corbo(MM) on 2006-07-07 at 19:47:54
Exactly what i feared....but anyways wouldn't it changing to Archon make an two templars? i mean...it will say "Cancel Merge" wouldn't it?
Report, edit, etc...Posted by DiscipleOfAdun on 2006-07-07 at 22:17:44
QUOTE(Corbo(MM) @ Jul 7 2006, 05:47 PM)
Exactly what i feared....but anyways wouldn't it changing to Archon make an two templars? i mean...it will say "Cancel Merge" wouldn't it?
[right][snapback]519715[/snapback][/right]


Nope. That's the beauty of the Merge being so hard coded. The stat bar functions won't do that. It might show the progress bar, but I'm not to sure anymore....
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-08 at 00:04:31
1. In memgraft, go to the "Stat Bar" tab and go to the "Cocoon" unit
2. change the "Popup FN" to "Unk2"
3. change the "Display FN" to "Unk1"

there you have it, the unit should no longer be cancel-able and should have the display of a regular unit
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-07-08 at 11:24:47
Wow, this'll be really helpful for my mod... Thanks for figuring this out before I do, Corbo biggrin.gif
Report, edit, etc...Posted by Corbo(MM) on 2006-07-08 at 13:40:58
QUOTE(TERRAINFIGHTER @ Jul 7 2006, 10:04 PM)
there you have it, the unit should no longer be cancel-able and should have the display of a regular unit
[right][snapback]519824[/snapback][/right]

I don't want the regular unit i want to show the progress bar...don't you think i would know how to make it look as a normal unit?

QUOTE
Wow, this'll be really helpful for my mod... Thanks for figuring this out before I do, Corbo

if you are not going to post a solution then don't post bleh.gif
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-08 at 14:48:47
What I meant was, it will have the display of a regular unit showing health and armor and such


and sorry, that's the only way to go about doing it (unless you edit a .bin file, but I don't think there's one for that)
Next Page (1)