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.
[06:15 am]
RexyRex -- :wob:
[2026-6-16. : 6:18 am]
IskatuMesk -- me when sick af
[2026-6-16. : 5:45 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: unless you're a euro weirdo
seems plausible: [01:55 am] dumbducky -- real dad hours who up
[2026-6-16. : 2:45 am]
Ultraviolet -- unless you're a euro weirdo
[2026-6-16. : 2:45 am]
Ultraviolet -- "[08:55 pm] dumbducky -- real dad hours who up" better question, who's already down at 8:55pm?
[2026-6-16. : 12:55 am]
dumbducky -- real dad hours who up
[2026-6-15. : 7:17 pm]
NudeRaider -- why not both?
[2026-6-15. : 7:09 pm]
Zoan -- sc1 or sc2
[2026-6-15. : 2:06 pm]
lil-Inferno -- hi im new to this site how do i make maps
[2026-6-15. : 9:06 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: NudeRaider, Symmetry, jy2413804