is it possible to separate the population of units, like in SC1 if you had toss, terran and zerg bases, you had different population for each army, can something like that be done in the editor?
I don't know MB it's not answear to ur question becuz it's trigger way, not data but only idea it have: Just create 3 diff integer variables for current number of used supplies for each race, find unit by type, set variable value to 0 at beginning of trigger and then modif it for number of supply for each picked unit like if unit is carrier modif it +8 if zealot modif it +2 and etc, then at end of same trigger check if variable value is under u supply max variable that u have to update same way with supply units like pick each pylon and update ur Protoss max supply variable +10 for each picked unit pylon, and at end of trigger check for each type of trainable unit if there's enough supplies to build it like If current number of used supplies < than max number of supplies - 2, enable buttons to train units that needs 2 supplies, else disable it and do it for each type of trainable units with periodic event, I don't know if it's good way, to do it, cuz it sounds like a lot of work, but in theory it looks like a way, u also can update custom dialog to show player how much supplies he has and used
Or if u want to make it look more like original SC u can not just disable buttons but add and remove custom requirements for each type of unit
And don't forget to remove supply cost for each unit in data editor
yeah that is what I was thinking, but getting the supply to restore correctly after a unit dies sounds like a nightmare- especially for things like drone morph
yeah that is what I was thinking, but getting the supply to restore correctly after a unit dies sounds like a nightmare- especially for things like drone morph
With periodic event that shouldn't be a problem? U always can check units that able to morph with More condition? Like if unit drone is morphing don't count it, I mean count it If it's not morphing :)
is it possible to separate the population of units, like in SC1 if you had toss, terran and zerg bases, you had different population for each army, can something like that be done in the editor?
as far as I know that isn't possible, you may be able to do a work around though. don't ask me how tho haha
I don't know MB it's not answear to ur question becuz it's trigger way, not data but only idea it have: Just create 3 diff integer variables for current number of used supplies for each race, find unit by type, set variable value to 0 at beginning of trigger and then modif it for number of supply for each picked unit like if unit is carrier modif it +8 if zealot modif it +2 and etc, then at end of same trigger check if variable value is under u supply max variable that u have to update same way with supply units like pick each pylon and update ur Protoss max supply variable +10 for each picked unit pylon, and at end of trigger check for each type of trainable unit if there's enough supplies to build it like If current number of used supplies < than max number of supplies - 2, enable buttons to train units that needs 2 supplies, else disable it and do it for each type of trainable units with periodic event, I don't know if it's good way, to do it, cuz it sounds like a lot of work, but in theory it looks like a way, u also can update custom dialog to show player how much supplies he has and used
Or if u want to make it look more like original SC u can not just disable buttons but add and remove custom requirements for each type of unit
And don't forget to remove supply cost for each unit in data editor
@uroboros1987: Go
yeah that is what I was thinking, but getting the supply to restore correctly after a unit dies sounds like a nightmare- especially for things like drone morph
With periodic event that shouldn't be a problem? U always can check units that able to morph with More condition? Like if unit drone is morphing don't count it, I mean count it If it's not morphing :)