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.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: jun3hong, Roy