Is it possible to modify the same unit differently for each player? For example. player 1's Zergling has 4 attack damage and 5 HP, Player 2's Zergling has 10 attack damage and 20 HP etc...
It's not possible to hard-reference any of the "regular" players in data though, so your options for applying these upgrades are preplaced units, manual research choices, or triggers.
You can still setup a central "auto-research" facility per player, but you need at least one unique identifier unit preplaced on the map to say "this unit=this player". With long-range search effects you can limit it to 1 identifier per player though and reuse it for any other system you might implement in the future.
Applying the upgrades through triggers is the simplest solution for your concrete problem.
Is it possible to modify the same unit differently for each player? For example. player 1's Zergling has 4 attack damage and 5 HP, Player 2's Zergling has 10 attack damage and 20 HP etc...
With upgrades, sure.
It's not possible to hard-reference any of the "regular" players in data though, so your options for applying these upgrades are preplaced units, manual research choices, or triggers.
You can still setup a central "auto-research" facility per player, but you need at least one unique identifier unit preplaced on the map to say "this unit=this player". With long-range search effects you can limit it to 1 identifier per player though and reuse it for any other system you might implement in the future.
Applying the upgrades through triggers is the simplest solution for your concrete problem.
I would suggest using catalog triggers for those kinds of on the fly modification.
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