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.
[09:09 pm]
Sie_Sayoka -- im cooked
[07:53 pm]
NudeRaider -- Sie is COCKING ... his mapping revolver. Next BANGer is on the way!
[06:55 pm]
l)ark_ssj9kevin -- Sie is COOKING
[01:55 pm]
UndeadStar -- https://staredit.net/381160/ I've seen games with less realistic fishes
[10:44 am]
Moose -- time travel
[2025-7-01. : 4:18 am]
NudeRaider -- were you able to install your SSD?
[2025-7-01. : 4:16 am]
NudeRaider -- dumbducky
dumbducky shouted: Are the Intel dedicated GPUs any good?
Yes. Best price/performance, but weakest top model and not quite as mature drivers
[2025-7-01. : 3:48 am]
dumbducky -- Are the Intel dedicated GPUs any good?
[2025-7-01. : 3:46 am]
Sie_Sayoka -- thank u moose
[2025-6-30. : 10:01 pm]
lil-Inferno -- :megaya:
Please log in to shout.


Members Online: O)FaRTy1billion[MM]