I have three different units; eggs, pylons and supply depots.
These units are responsible for researching upgrades in my custom map.
I did not duplicate the units, merely adjusted their stats, behaviors and abilities.
The result is that changing anyone of those three unit's abilities or command card will make the same changes on all three... as though they were the same unit.
Duping actors causes even more problems. Because some abilities are copied from a parent ability when you alter the parent the fields in the offspring are also changed. That is why altering alot of the stuff beginning with a c can cause problems.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
The best way I found is duplicating all the needed parts, in other words, the only part I actually needed to modify. Don't duplicate everything at once, because you will probably duplicate sone unneeded stuff and eventually completely clog up your data editor with junk.
For example, duplicating the whole marine will duplicate it's ability in it's whole (making a stim pack 2 ability, a stimp pack 2 behaviour, a stim pack 2 button, a stim pack 2 model, a stim pack 2 actor and so on...), which I wanted to remove because I didn't needed stim pack in my map.
One last thing you need to remember is that 2 units can't share the same actor, even tho you don't modify it. In all basic unit duplication, consider duplicating the unit and the unit actor (which contains the model) at last.
By two units cannot share the same actor do you mean two units of the same type trying to share a single actor or that one actor cannot link to multiple units?
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
The second one. one actor can not refer to multiple units. I have no idea why, but I'm pretty sure there is a good reason for it.
You can only specify one unit token, but you can easily add additional events to use the same actor for multiple unit types (at least it used to be possible, did something change here?). Not recommended, though.
My problem is this:
I have three different units; eggs, pylons and supply depots.
These units are responsible for researching upgrades in my custom map.
I did not duplicate the units, merely adjusted their stats, behaviors and abilities.
The result is that changing anyone of those three unit's abilities or command card will make the same changes on all three... as though they were the same unit.
Any thoughts?
Bump!
Thats why it is best to just create a new unit from scratch
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
I would think that by duplicating the units there would be a high chance that their abilities would be linked... rather than the other way around.
Duping actors causes even more problems. Because some abilities are copied from a parent ability when you alter the parent the fields in the offspring are also changed. That is why altering alot of the stuff beginning with a c can cause problems.
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
So are you saying I have to make an entirely new unit?
@RaGeOrRiSe: Go
The best way I found is duplicating all the needed parts, in other words, the only part I actually needed to modify. Don't duplicate everything at once, because you will probably duplicate sone unneeded stuff and eventually completely clog up your data editor with junk.
For example, duplicating the whole marine will duplicate it's ability in it's whole (making a stim pack 2 ability, a stimp pack 2 behaviour, a stim pack 2 button, a stim pack 2 model, a stim pack 2 actor and so on...), which I wanted to remove because I didn't needed stim pack in my map.
One last thing you need to remember is that 2 units can't share the same actor, even tho you don't modify it. In all basic unit duplication, consider duplicating the unit and the unit actor (which contains the model) at last.
By two units cannot share the same actor do you mean two units of the same type trying to share a single actor or that one actor cannot link to multiple units?
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
@DrSuperEvil: Go
The second one. one actor can not refer to multiple units. I have no idea why, but I'm pretty sure there is a good reason for it.
You can only specify one unit token, but you can easily add additional events to use the same actor for multiple unit types (at least it used to be possible, did something change here?). Not recommended, though.
Infact ingame there are several actors that refer to multiple units. A good example is TerranFlamesLargeBuilding (Unnamed).
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