EpochModTeam / DayZ-Epoch

Experimental DayZ Mod for Arma 2
http://epochmodteam.github.io/DayZ-Epoch
226 stars 399 forks source link

make UI for building upgrades #639

Open vbawol opened 11 years ago

vbawol commented 10 years ago

Still looking to do this if anyone is interested.

maca134 commented 10 years ago

What did you have in mind?

vbawol commented 10 years ago

Simple interface that would allow choosing your upgrade from a list with a "Upgrade" and "Cancel" button.

maca134 commented 10 years ago

erm, prob have something knocked up in a day or so

maca134 commented 10 years ago

Just checked and cant find any objects that have more than 1 update grade path.

vbawol commented 10 years ago

Yes, current there is not but we do plan on adding a few options and want to use this as a preview of the action to be performed.

To add multiple upgrades we will just add another nesting of the array. upgradeBuilding[] = {"Land_DZE_GarageWoodDoorLocked",{{"ItemComboLock",1}}}; will become: upgradeBuilding[] = {{"Land_DZE_GarageWoodDoorLocked",{{"ItemComboLock",1}}}};