Re-using production icon widgets for other purposes

Information and discussion for custom maps and mods.
Post Reply
ephja
Posts: 11
Joined: Mon Dec 21, 2015 8:19 pm

Re-using production icon widgets for other purposes

Post by ephja »

How would I do that? It does seem tricky.
Maybe it's best to define a new widget and then re-use the animation. How do I reference the clock animation for TS?

User avatar
Graion Dilach
Posts: 277
Joined: Fri May 15, 2015 5:57 pm

Post by Graion Dilach »

What is your intention here?
Image
Image
Image
AS Discord server: https://discord.gg/7aM7Hm2

ephja
Posts: 11
Joined: Mon Dec 21, 2015 8:19 pm

Post by ephja »

Graion Dilach wrote: What is your intention here?
I would like to use it for skill bars for example (RPG mechanics), but I do have more experience now so I might be able to figure it out when I get back to this.

User avatar
Graion Dilach
Posts: 277
Joined: Fri May 15, 2015 5:57 pm

Post by Graion Dilach »

Best thing you could do for such (assuming no capability to do a C# hack for your mod) is to use individual (TD-mod style) build queues then add your RPG elements as dummy actor build options but it'll look messy in a way.
Image
Image
Image
AS Discord server: https://discord.gg/7aM7Hm2

ephja
Posts: 11
Joined: Mon Dec 21, 2015 8:19 pm

Post by ephja »

Graion Dilach wrote: Best thing you could do for such (assuming no capability to do a C# hack for your mod) is to use individual (TD-mod style) build queues then add your RPG elements as dummy actor build options but it'll look messy in a way.
I do have a little bit of experience with the engine code, so I'm going to take the C# approach.

Post Reply