HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Upgrade Prerequisites?

01-21-2003, 04:54 AM#1
PieTaster
How do I change them?

At the moment, I want Stone Form to be researchable in a human building (for a custom unit... I've changed everything around etc.) which I got fine... but it still requires a Black Citadel and something else... is there any way to change that?

Also, when I deactivate Stone Form will my unit turn back into a Gargoyle? If so, any way to change that too?

Thanks... and Hi :D
01-21-2003, 05:24 PM#2
Krakou
Quote:
Originally posted by PieTaster
How do I change them?

At the moment, I want Stone Form to be researchable in a human building (for a custom unit... I've changed everything around etc.) which I got fine... but it still requires a Black Citadel and something else... is there any way to change that?

Also, when I deactivate Stone Form will my unit turn back into a Gargoyle? If so, any way to change that too?

Thanks... and Hi :D


The prereqs are in the <race>AbilityFunc.txt files.

Open UndeadAbilityFunc.txt and search for Stone. You will see this :
Requires=Rusf

Rusf is the code of the requirement. Delete this entry.

Look also at AbilityData.slk he contains the normal unitID and the Alternate unitID
01-21-2003, 05:27 PM#3
BlacKDicK
You will need to open Units\UndeadUpgradeFunc.txt and edit the Stone form Upgrade:

[Rusf]
Art=ReplaceableTextures\CommandButtons\BTNStoneForm.blp
Buttonpos=2,2
Requires=ugrv,unp2

See the "Requires" Line? ugrv = Undead Graveyard , unp2 = Black Citadel . This means STone Form Requires both Graveyard and Black Citadel.

To change the unit that it returns to after a stone form, you will have to edit Units\AbilityData.slk.
Find the Stone Form (line 270) and change the Normal unit id (COL V) and Alternate unit id (COL W) properly to whatever you want.