Staredit Network > Forums > Modding Assistance > Topic: [solved] morphing zerg into another unit
[solved] morphing zerg into another unit
Aug 24 2019, 8:21 am
By: Lagi  

Aug 24 2019, 8:21 am Lagi Post #1



using the framework

add in initialize.cpp
#include "unhooked/unit_morph.h"


in the same place where is:

#include "hooks/recv_commands/train_cmd_receive.h"
#include "hooks/orders/unit_making/unit_morph.h"
#include "unhooked/unit_morph.h"
#include "hooks/orders/unit_making/unit_train.h"
#include "hooks/utils/utils.h"


uncomment:
/*hooks::injectUnitMorphHooks2();*/
hooks::injectUnitMorphHooks();
/*hooks::injectWireframeHook();*/


this guide is still valid:
https://www.moddb.com/tutorials/unit-morph-for-all-units

the unit_morph.cpp that you want (there are 2) is the one in subfolder, in Solution explorer


in Firegraft add in [unit ; Dat requirement] "is not burrowed". Morphing while burrow is buggy and not working (f.ex. click spam will remove the icons)

Post has been edited 2 time(s), last time on Aug 26 2019, 7:31 am by Lagi.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:01 am]
Moose -- :megaya:
[12:28 am]
KrayZee -- The fishes make me think of Animal Crossing
[11:59 pm]
Vrael -- excellent
[07:04 pm]
Sie_Sayoka -- blown out of the water
[06:50 pm]
NudeRaider -- https://staredit.net/381160/ fucking mind blown :drool:
[2025-6-29. : 1:46 am]
Vrael -- I was there Aslan, 3000 years ago when the deep magic of the One Ring was forged on the Battleship Enterprise, and Voldemort stole it
[2025-6-29. : 1:39 am]
KrayZee -- Vrael
Vrael shouted: NUDERAIDER - What the fuck did you just fucking say about me, you little bitch? I'll have you know I graduated top of my class in the Navy Seals, and I've been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I'm the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USAGermanyland and your IP is being traced right now so you better prepare for the storm, maggot.
I wonder when this was written.
[2025-6-29. : 12:46 am]
Vrael -- NudeRaider has not been on Battle.net for 311 days and 8 hours - I propose we Ban this Inactive Person for ever
[2025-6-27. : 3:48 pm]
NudeRaider -- a M.2 drive would fit here https://snipboard.io/waGiXl.jpg
[2025-6-27. : 3:46 pm]
NudeRaider -- dumbducky
dumbducky shouted: I opened my box up this morning and the M2 drive doesn't fit anything in there. Ten years worth of dust is impressive though
this drive dumbducky
dumbducky shouted: If I'm reading this right M2 keys are either 5 or 6 pins wide but mine looks like maybe 8? Wtf? http://www.supertalent.com/datasheets/6_100485.pdf
fits here: https://snipboard.io/tC7oVv.jpg because it's PCIe, not M.2
Please log in to shout.


Members Online: City, l)ark_ssj9kevin, Moose