Hi, I'v been making a map with items but i had an idea on how to make them in a better way, instead of spending all that time making items I would like my shop to sell upgrades that give +1 to one of my behaviors (ex: strength for damage), i already have my behaviors but i have no idea how to make the upgrades (i don't mind if the behavior stack as my game resets after each game), if you don't get what I'm talking about its basically like the weapon/armor upgrades except they give behaviors.
there isn't an item you just buy an upgrade like you would in a regular game that give a behavior but i dont know how to connect the behavior to the upgrade
Make the unit have the behaviour by default and the upgrade enables it. Or for a more smooth reveal have a hidden disabled behaviour apply the desired behaviour and remove itself.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
i gave my unit the behavior that i want to give but i don't know how to make an upgrade give a behavior, and how could i set the value it give as i want some of my upgrades to give more than 1 strength
Make a requirement that counts the upgrade and put that in the requirements field of the behaviour. There should be a points field just below that for the attribute, that sets how many points are given..
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hi, I'v been making a map with items but i had an idea on how to make them in a better way, instead of spending all that time making items I would like my shop to sell upgrades that give +1 to one of my behaviors (ex: strength for damage), i already have my behaviors but i have no idea how to make the upgrades (i don't mind if the behavior stack as my game resets after each game), if you don't get what I'm talking about its basically like the weapon/armor upgrades except they give behaviors.
Thanks for helping me and my map.
Have the item give the second behaviour but it is disabled by a requirement that counts the upgrade?
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
there isn't an item you just buy an upgrade like you would in a regular game that give a behavior but i dont know how to connect the behavior to the upgrade
Make the unit have the behaviour by default and the upgrade enables it. Or for a more smooth reveal have a hidden disabled behaviour apply the desired behaviour and remove itself.
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
i gave my unit the behavior that i want to give but i don't know how to make an upgrade give a behavior, and how could i set the value it give as i want some of my upgrades to give more than 1 strength
Make a requirement that counts the upgrade and put that in the requirements field of the behaviour. There should be a points field just below that for the attribute, that sets how many points are given..
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
If you have the time could you explain to me how to make this from scratch because i can't find how to make this.
Thanks if you take the time to help
If the behavior is not hidden, then you can add in the requirement: Show -> Count Upgrade -> Name of the upgrade -> Completed
This makes it so the behavior is only visible after the upgrade is done
@LMG3864: Go
Did not know requirements could hide behaviours.
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
thanks for your help