SC2Mapster Forums

Development > UI Development

how to create and display custom resources in UI

  • 2 posts
    #1 Jan 26, 2013 at 01:26 UTC - 0 likes

    Hello. I'm new to sc2 map creation and I have a few questions for my first map.

    I'm looking to implement some custom resources. As everyone knows SC2 by default has food, crystal and vespene gas; I'd like to add a few more resources as well as change how most of them function.

    Does anyone have any tips on how to A) add them to the UI B) I need buildings to function similar to the automated refinery both generating some resources over time and costing others, units to cost but not generate resources over time - think the secret is in the autoharvest vespene effect

    Any assistance shoving me in the right direction would be appreciated.

    #2 Jan 28, 2013 at 07:27 UTC - 0 likes

    @dragonre: Go

    Please use the search next time as there are mutliple answers on the first page such as http://www.sc2mapster.com/forums/development/map-development/24313-how-to-make-a-custom-resource-start-to-finsh/ and http://www.sc2mapster.com/forums/resources/tutorials/14933-texture-how-to-change-resource-icon/#posts

    As for an automatd refinery you can look at the original by enable dependencies. You can do your own by using a behaviour applied to the unit that runs a periodic that modifies players resources.

    Last edited Jan 28, 2013 by hobbidude

    When I want your opinion...I'll give it to you!

    http://www.sc2pod.com/achievement.php?id=13361

  • 2 posts

You must login to post a comment. Don't have an account? Register to get one!