- Joined
- Jun 5, 2004
- Messages
- 3
I have a problem that I bet has a relatively easy solution, but to which I can't find one.
Here's the deal:
In the map, Dark Deeds, a unit is upgraded by clicking on an icon that each individual unit has, upgrading the individual unit. I have tried to replicate this, but to no avail.
Universal upgrades such as Chaos (Barrage), and Berserker Upgrade won't work, because that would upgrade the entire unit type. Destroyer Form works perfectly, but only as 1 upgrade, since having 2 Destroyer Form abilities on a unit causes one to override the other.
I tried using the ability Charge Gold and Lumber, and then using a trigger that finds the casting unit and adds a version of the Chaos ability to it, and it works fine. However, it does not display the food addition in the ability tooltip. For example. Unit (A) upgrades into Unit (B) using the Charge Gold and Lumber ability with the addition of Chaos, everything works fine, the lumber/gold is subtracted, and the unit replaced, but it doesn't inform the player that the food went up unless you look at the food cap. I want to make it so that the tooltip will display the Food Cost (or Food Addition), instead of just the Gold/Lumber cost.
Changing all units that are upgradeable into buildings would work I'm sure, but I know for a fact that weevilman (The author of Dark Deeds), did not have all the upgradeable units be buildings (he told me so), but he refused to tell me his method of displaying the food cost in the tooltip.
I cannot have the upgradeable unit train another unit since for non-building units there is no cell for training units, and selling units doesn't work either, simply because it displays the number (stock) of each unit left.
Overall, this is a confusing problem for me, and the outcome would be being able to see the food addition. Funny how something as simple as dispalying the food cost should be so hard for someone :/
Here's the deal:
In the map, Dark Deeds, a unit is upgraded by clicking on an icon that each individual unit has, upgrading the individual unit. I have tried to replicate this, but to no avail.
Universal upgrades such as Chaos (Barrage), and Berserker Upgrade won't work, because that would upgrade the entire unit type. Destroyer Form works perfectly, but only as 1 upgrade, since having 2 Destroyer Form abilities on a unit causes one to override the other.
I tried using the ability Charge Gold and Lumber, and then using a trigger that finds the casting unit and adds a version of the Chaos ability to it, and it works fine. However, it does not display the food addition in the ability tooltip. For example. Unit (A) upgrades into Unit (B) using the Charge Gold and Lumber ability with the addition of Chaos, everything works fine, the lumber/gold is subtracted, and the unit replaced, but it doesn't inform the player that the food went up unless you look at the food cap. I want to make it so that the tooltip will display the Food Cost (or Food Addition), instead of just the Gold/Lumber cost.
Changing all units that are upgradeable into buildings would work I'm sure, but I know for a fact that weevilman (The author of Dark Deeds), did not have all the upgradeable units be buildings (he told me so), but he refused to tell me his method of displaying the food cost in the tooltip.
I cannot have the upgradeable unit train another unit since for non-building units there is no cell for training units, and selling units doesn't work either, simply because it displays the number (stock) of each unit left.
Overall, this is a confusing problem for me, and the outcome would be being able to see the food addition. Funny how something as simple as dispalying the food cost should be so hard for someone :/