Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
ItemUpgrader - System Testmap.w3x
Variables
Documentation
Implementation
Adding more items
Advanced
Other
Misc
Init
Items - Upgrading
UpgradeBasicCannon
UpgradeBasicLaser
UpgradePlasmaCannon
Name
Type
is_array
initial_value
ItemUpgrading
item
Yes
ItemNull
tempGroup
force
No
tempInt
integer
Yes
To import this system into your map, follow the below instructions:
1. Go to File > Preferences in the map that you wish to import into.
2. Open the general tab in the window that appears. This is the default so you may not need to do this.
3. Check the box that says "Automatically Create Unknown Variables when pasting triggers"
4. Close the preferences window.
5. Open this map.
6. Export the item and abilty data. Import them into your map.
7. Copy the trigger folder called "Items - Upgrading" into your map.
8. Not you should be able to edit each upgradeable item. If you want more than the default 3 upgradeable items, simply
copy and paste new triggers, naming each one. Then change each of the items in the triggers, and set tempInt values
to the gold cost for each upgrade.
To add more items to be upgraded, do the folowing:
1. Copy one of the triggers in the Items - Upgrading Folder
2. Rename the folder
3. Now change each item in the list to the new item of the respected level.
4. tempInt is used to check whether the player has enough money for the upgrade, if your upgrades has different
costs to the ones I've used change this:
tempInt[0] Greater than or equal to 800
to something like this
tempInt[0] Greater than or equal to <your value here>
there is a different cost for each upgrade.
5.If you want more levels for each item, read the advanced section.
In theory, with a little bit of playing around with the trigger, you should be able to do the following:
> Add more levels to each item.
> Make a configurations section where you can easily change the items.
> Add special effects when each item is upgraded.
> Add a progress bar to a multiboard.
Thanks for using my trigger, I hope it makes your map more attractive to use. Please give me credit (or +rep if
you found this from www.thehelper.net, www.wc3campaigns.net or www.hiveworkshop.com).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.