Seems I have somehow turned off the resource cost's display in tooltips for the build ability I am using. Only a single unit shows it's cost on the tooltip and all of the data for that unit is set in the same manner as the rest. Found that units have a flag "Show Resources" that should be toggling this on/off (it's on), and there is another in the "Ability: Info +" of the build ability itself which toggles the cost display text tag (which does work). The tooltip also does not display supply cost or build time either.
So what did I mess up? It used to work ... No idea what I changed
Where are you applying the costs for the unit? You should be setting the cost of the unit under the Units data type. There is also a field called Ability - Info - Cost Display. Does your unit have the Buildable ability?
Ability type called Buildable if they all do then that is not your problem.
Somtimes the editor just gives shit and you need to delete that ability/actor/validator and redo it. The Morph ability is well known for this problem where exact same fields give tow completely different results. Try saving and reopening the map because that occasionally fixes the issue.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Little feedback for any others who find this in a search. Thus far it appears that the issue was indeed the build ability, recreating from scratch seems to have resolved the issue, but does not answer the question why one of the units built from the old ability did display properly ... it was also the only unit that used terrazine as a resource, so maybe that? I also found that one of the seven units that share this build ability had an entire submenu of correctly displayed costs of minerals/supply, but the other submenu was not displaying either, like the rest of the units. It was also the only unit of the seven that had any more that the one unit (the one that cost terrazine) to display costs... Very, very strange bug...
Strange stuff... We should document the difference between working XML code and broken XML code. It might be a weird question of statement order, which the editor doesn't care about but the game does.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Seems I have somehow turned off the resource cost's display in tooltips for the build ability I am using. Only a single unit shows it's cost on the tooltip and all of the data for that unit is set in the same manner as the rest. Found that units have a flag "Show Resources" that should be toggling this on/off (it's on), and there is another in the "Ability: Info +" of the build ability itself which toggles the cost display text tag (which does work). The tooltip also does not display supply cost or build time either.
So what did I mess up? It used to work ... No idea what I changed
Where are you applying the costs for the unit? You should be setting the cost of the unit under the Units data type. There is also a field called Ability - Info - Cost Display. Does your unit have the Buildable ability?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
About that "Buildable" ability ... none of the units I am using have that ... did you mean "Build in Progress" because they DO all have that one.
Ability type called Buildable if they all do then that is not your problem.
Somtimes the editor just gives shit and you need to delete that ability/actor/validator and redo it. The Morph ability is well known for this problem where exact same fields give tow completely different results. Try saving and reopening the map because that occasionally fixes the issue.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
To clarify, redo the "Build in Progress" ability, the build ability itself, or was "ability" just an example and I need to redo the actual unit?
The Build ability might be the culprit.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Little feedback for any others who find this in a search. Thus far it appears that the issue was indeed the build ability, recreating from scratch seems to have resolved the issue, but does not answer the question why one of the units built from the old ability did display properly ... it was also the only unit that used terrazine as a resource, so maybe that? I also found that one of the seven units that share this build ability had an entire submenu of correctly displayed costs of minerals/supply, but the other submenu was not displaying either, like the rest of the units. It was also the only unit of the seven that had any more that the one unit (the one that cost terrazine) to display costs... Very, very strange bug...
I have the same problem with my map, but it's a morph ability instead.
Strange stuff... We should document the difference between working XML code and broken XML code. It might be a weird question of statement order, which the editor doesn't care about but the game does.