Quote
by Sand Wraith
tested for StarCraft Brood War 1.16.1.
I wanted to make the Unclean One cloak.
The Unclean One does not originally have cloaking capabilities.
I will add this capability such that it correctly mimics other examples of cloaking.
I will use Cloaking Field (instead of Personal Cloaking) in this example.
I am logging all changes I perform to provide insight into giving a unit the capability of cloaking.
The arbitrary unit in question does not originally have cloaking capabilities.
I have included "1161.fgd." It is necessary to provide Firegraft the memory locations to alter to apply the Exe edits.
tested for StarCraft Brood War 1.16.1.
I wanted to make the Unclean One cloak.
The Unclean One does not originally have cloaking capabilities.
I will add this capability such that it correctly mimics other examples of cloaking.
I will use Cloaking Field (instead of Personal Cloaking) in this example.
I am logging all changes I perform to provide insight into giving a unit the capability of cloaking.
The arbitrary unit in question does not originally have cloaking capabilities.
I have included "1161.fgd." It is necessary to provide Firegraft the memory locations to alter to apply the Exe edits.
logOfChanges.txt
Quote
units.dat ** ** marked Unclean One as "Cloakable." Ensured it was a "Spellcaster."
firegraft ** ** gave defiler + heroes button set "Cloak" and "Decloak" buttons from the Wraith, set to position 3 (for ease of use in this case).
firegraft ** ** Use Tech: Cloaking Field. Added "Or, Current unit is..., Unclean One"
firegraft ** ** Exe Edits: Cloak. All variables regarding "Use Cloaking Field" are set to "Enabled"
starcraft ** ** testing.
Results:
Unclean One cloaks and decloaks on command as desired.
Unclean One decloaks upon burrowing (stops draining energy). Decloak button remains, but resets to Cloak button upon unburrowing.
Upon unburrowing after burrowing while cloaked, Unclean One remains uncloaked.
Unclean One decloaks when running out of energy as desired.
firegraft ** ** gave defiler + heroes button set "Cloak" and "Decloak" buttons from the Wraith, set to position 3 (for ease of use in this case).
firegraft ** ** Use Tech: Cloaking Field. Added "Or, Current unit is..., Unclean One"
firegraft ** ** Exe Edits: Cloak. All variables regarding "Use Cloaking Field" are set to "Enabled"
starcraft ** ** testing.
Results:
Unclean One cloaks and decloaks on command as desired.
Unclean One decloaks upon burrowing (stops draining energy). Decloak button remains, but resets to Cloak button upon unburrowing.
Upon unburrowing after burrowing while cloaked, Unclean One remains uncloaked.
Unclean One decloaks when running out of energy as desired.
Included is a binary with the changes listed for easy testing and verification.
Attachments:
Post has been edited 1 time(s), last time on Feb 28 2015, 12:44 am by Sand Wraith.