Thanks guys. Everything worked out fine! Im now checking the current mineral and vespene score, add and substarct the Unit score whenever a unit enters or leaves the region (entire Map) and track the score of any upgrade that finishes. This way i'm getting a complete score of each player which updates every couple of seconds, so i can compare both (all) players.
Its a very simple trigger, that should only grant me the "ScoreMake" value. Currently that trigger is empty. I've checked Field Value Get but my problem is that for Field Value Get, i need the specific Unit for that. I believe using the Field Value Get, i cannot use Triggering Unit when my event is either "Unit dies" or "Unit Enters/Leaves Region".
Thanks so much for the help guys, the cataloge function hint really helped me. I'm now checking the score amount of the Upgrade via the catalog function and save the value in a variable.
However i'm still trying to figure out how to track unspent resources. Where and how do i use the Player Property (integer) function? I can only find the Player Property Changed event and the Modify Player Property (intereger) action.
EDIT: Turns out, i cannot get the solution i used for Upgrades working for Units.
Why can't i use the Catalog Field Value Get As Integer action for units, the same as i used it for Upgrades? When i use this action, i simply cannot use the "Triggering Unit" in the "Entry" part. Does anyone know why this is the case? Also is there another way to get the values of the Units Data Catalog (especcially the CUnit_ScoreMake Value)?
Thanks for this fast reply, i'll try these things out. And i agree, categorising units by supply usages seems like a nice idea or just using the resource costs as a value to weight the different units, same for upgrades.
Hey guys, I'm fairly new to the StarCraft editor and I'm currently writing a bachelor's thesis for a dynamic player handicap. I've been searching for a while now and couldn't figure it out myself how to check a players current resources, units, etc in runtime.
Basically I'm trying to adjust the StarCraft map in terms of symmetry and asymmetry to help a struggling player and give him better chances of coming back and maybe even be able to compete with a better player. To do this, I wanted to take a look at the current resources, units, etc. of both players and compare them and find the weaker player. This should occured every couple of minutes (I already got all that running but I don't know how to get the current resources, units, etc. Of a player.) Additionally, is it possible to check the all already spent resources aswell?
It would be pretty helpful to me if someone could help me with that?
0
Sorry for replying this late, yes everything is solved! Thanks guys!
0
Thanks guys. Everything worked out fine! Im now checking the current mineral and vespene score, add and substarct the Unit score whenever a unit enters or leaves the region (entire Map) and track the score of any upgrade that finishes. This way i'm getting a complete score of each player which updates every couple of seconds, so i can compare both (all) players.
You guys helped me a ton!
0
Okay, i will give these things a go today. Let's hope i can make this work now.
0
Its a very simple trigger, that should only grant me the "ScoreMake" value. Currently that trigger is empty. I've checked Field Value Get but my problem is that for Field Value Get, i need the specific Unit for that. I believe using the Field Value Get, i cannot use Triggering Unit when my event is either "Unit dies" or "Unit Enters/Leaves Region".
0
Thanks so much for the help guys, the cataloge function hint really helped me. I'm now checking the score amount of the Upgrade via the catalog function and save the value in a variable.
However i'm still trying to figure out how to track unspent resources. Where and how do i use the Player Property (integer) function? I can only find the Player Property Changed event and the Modify Player Property (intereger) action.
EDIT: Turns out, i cannot get the solution i used for Upgrades working for Units.
Why can't i use the Catalog Field Value Get As Integer action for units, the same as i used it for Upgrades? When i use this action, i simply cannot use the "Triggering Unit" in the "Entry" part. Does anyone know why this is the case? Also is there another way to get the values of the Units Data Catalog (especcially the CUnit_ScoreMake Value)?
0
Thanks for this fast reply, i'll try these things out.
And i agree, categorising units by supply usages seems like a nice idea or just using the resource costs as a value to weight the different units, same for upgrades.
0
Hey guys, I'm fairly new to the StarCraft editor and I'm currently writing a bachelor's thesis for a dynamic player handicap. I've been searching for a while now and couldn't figure it out myself how to check a players current resources, units, etc in runtime.
Basically I'm trying to adjust the StarCraft map in terms of symmetry and asymmetry to help a struggling player and give him better chances of coming back and maybe even be able to compete with a better player. To do this, I wanted to take a look at the current resources, units, etc. of both players and compare them and find the weaker player. This should occured every couple of minutes (I already got all that running but I don't know how to get the current resources, units, etc. Of a player.) Additionally, is it possible to check the all already spent resources aswell?
It would be pretty helpful to me if someone could help me with that?