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"


this guide is still valid:

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.


  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:28 am]
Doodan -- :shifty:
[04:27 am]
Doodan -- also :wob:
[04:26 am]
Doodan -- This helodieaodns guy sure likes WoW
[03:31 am]
KrayZee -- MTiger156
MTiger156 shouted: Starcraft: Nude War :wob:
Sounds like an ancient Greek battle set in the Starcraft universe.
[02:00 am]
lil-Inferno -- :wob:
[01:58 am]
MTiger156 -- Starcraft: Nude War :wob:
[01:11 am]
Ultraviolet -- :wob:
[12:16 am]
lil-Inferno -- :wob:
[05:13 pm]
MTiger156 -- Nude :bash: Me
[04:52 pm]
NudeRaider -- civil war!
Please log in to shout.

Members Online: Roy, Broflamingo, Nazes5b