Getting Resources to display in Tactical Combat

Has anyone had any success in doing this? I created a custom resource that I'd like to be displayed alongside available mana in the tactical combat screen, but I haven't been able to get it to work through the Type tag. Any thoughts?

3,696 views 4 replies
Reply #1 Top

Doesn't seem like any other resources are read into the tactical engine at all, besides mana and shards.

Maybe that's why spellresourcecost doesn't function in tactical combat when you use it for anything but mana.

Reply #2 Top

Yeah, that's what I was afraid of. I had been able to produce the actual resource through a tactical spell, as it was displayed after combat ended, so I thought that there may have been a workaround.

Anyway, thanks for the reply.

Reply #3 Top

Quoting Heavenfall, reply 1
Doesn't seem like any other resources are read into the tactical engine at all, besides mana and shards.

Maybe that's why spellresourcecost doesn't function in tactical combat when you use it for anything but mana.
End of Heavenfall's quote

I'm sure I got one of my own resources working with spellresourcecost in tactical combat. I had one spell that killed one of your own units and granted you 1 soul, which was a global resource. I had a second "spell" as the basic ranged attack for a staff which cost 0.1 souls to attack with and it worked fine. Left combat, entered new combat and could still use the global resource. Also if the resource ran out the staff would not attack as expected.

I'll post the xml I used when I get home, but like LightofAbraxas I couldn't get it to actually display in tactical combat which is why I shelved the idea for the time being. I think it has something to do with a <Global> tag in for the resource that has to be set if you want it to be used in tactical. That and maybe the tag which makes the resource a store (like materials) rather than a per turn (like shards).

Reply #4 Top

Yeah, the use of resources in tactical combat seems fine, I agree, it seems just to be a display problem. I'm not sure that it's the global tag, because both mana and gold, for example are global resources. I tried switching the tag to make it a non-stored resource, too... it didn't fix the problem and broke the spell. I had thought that it might just clear the resource at the end of a season, but it cleared it instantly.

So... *shrug* I guess we're SOL on this one.