Hi, I'm looking to create auto-collecting Extractors/Assimilators/Refineries, like the "Automated Refinery" in the campaign, but for a custom melee map.
<<First Procces>>
I was able to simply replace the Terrain Refinery with "Automated Refinery" in the Build-Menu of the SCV-Data; worked perfectly. Although, for both Zerg Extractor and Protoss Assimilators I cant just simply replace the Extractor and Assimilator in the Drone and Probe Build-Menu for reasons of...
There are different Build-Menus (SCV-Build, Drone-Mutate Building, Probe-Warp Building). Automated Refinery is already/parented in SCV-build.
Models of Extractor and Assimilators may have same model/actor as "Automated Refinery" (a Drone/Probe will look like if it is building a Terran Building as an SCV does) if I changed it to Drone-Mutate Building-Automated Refinery and Probe-Warp Building-Automated Refinery.
<<Second Process>>
So, instead...
For both Zerg Extractor and Protoss Assimilators I simply replaced only behaviors and effects of the "Automated Refinery"'s behaviors and effects while keeping original Zerg Extractor's and Protoss Assimilator's actors and models ; didn't work (didn't collected vespene, didn't deplete any vespene).
<<Third Process>>
Then, I reseted vaules and...
For both Zerg Extractor and Protoss Assimilators I simply modfiy/copy parent vaules to "Automated Refinery"; didn't work (this also kept all models and actors of Extractor and Assimilators but had the extact same issues as the second proccess: no vespene gas was being collected or/and depleted).
Although, when I tested the third process in-game, Zerg Extractors and Protoss Assimilators worked perfectly as the "Automated Refinery" only when I started as all three races (SCV and Command Center: Drone and Hatchery: Probe and Nexus). It felt as if Zerg Extractors and Protoss Assimilators was working as "Automated Refinery" because I had a Command Center or/and SCV. Like if "Automated Refinery" vaules was tied/active towards Terran's main returned resource location/building (Command Center)
Without using triggers, does any1 know a way of doing this? Or am I on the right track but have missed something? Again, I'm looking to create auto-collecting Extractors/Assimilators/Refineries, like the "Automated Refinery" in the campaign, but for a custom melee map. Excuse me for being abit wordy :)
You need to add the structures to the Build type ability used by the units and then add Requirements to alter the showing of the buttons. It will only have the same model if you use the same actor for the unit that uses the same model.
Are you trying to use the same unit? If so just get the actor events to have on Actor Creation to use the Validate Unit term before a Model Swap event action
Your second/third process is flawed in that the default behaviour for the automated refinery that does the mining is disabled if you lack a command center via the validator AutoHarvesterHarvest.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Are you trying to use the same unit? If so just get the actor events to have on Actor Creation to use the Validate Unit term before a Model Swap event action
yea, i want the same unit but i just dont want workers to harvest vespene gas from the Refinery, Extractor, and Assimilator. I wanted the Refinery, Extractor, and Assimilator to work as Automated Refinery
Hi, I'm looking to create auto-collecting Extractors/Assimilators/Refineries, like the "Automated Refinery" in the campaign, but for a custom melee map.
<<First Procces>>
I was able to simply replace the Terrain Refinery with "Automated Refinery" in the Build-Menu of the SCV-Data; worked perfectly. Although, for both Zerg Extractor and Protoss Assimilators I cant just simply replace the Extractor and Assimilator in the Drone and Probe Build-Menu for reasons of...<<Second Process>>
So, instead... For both Zerg Extractor and Protoss Assimilators I simply replaced only behaviors and effects of the "Automated Refinery"'s behaviors and effects while keeping original Zerg Extractor's and Protoss Assimilator's actors and models ; didn't work (didn't collected vespene, didn't deplete any vespene).<<Third Process>>
Then, I reseted vaules and... For both Zerg Extractor and Protoss Assimilators I simply modfiy/copy parent vaules to "Automated Refinery"; didn't work (this also kept all models and actors of Extractor and Assimilators but had the extact same issues as the second proccess: no vespene gas was being collected or/and depleted).Although, when I tested the third process in-game, Zerg Extractors and Protoss Assimilators worked perfectly as the "Automated Refinery" only when I started as all three races (SCV and Command Center: Drone and Hatchery: Probe and Nexus). It felt as if Zerg Extractors and Protoss Assimilators was working as "Automated Refinery" because I had a Command Center or/and SCV. Like if "Automated Refinery" vaules was tied/active towards Terran's main returned resource location/building (Command Center)
Without using triggers, does any1 know a way of doing this? Or am I on the right track but have missed something? Again, I'm looking to create auto-collecting Extractors/Assimilators/Refineries, like the "Automated Refinery" in the campaign, but for a custom melee map. Excuse me for being abit wordy :)
(I do have all Starcraft 2 dependencies)
You need to add the structures to the Build type ability used by the units and then add Requirements to alter the showing of the buttons. It will only have the same model if you use the same actor for the unit that uses the same model.
Are you trying to use the same unit? If so just get the actor events to have on Actor Creation to use the Validate Unit term before a Model Swap event action
Your second/third process is flawed in that the default behaviour for the automated refinery that does the mining is disabled if you lack a command center via the validator AutoHarvesterHarvest.
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
ahhh, i c. I thought i just needed to duplicate the behaviors and effect from Automated Refinery to Extractor and Assimilator.
yea, i want the same unit but i just dont want workers to harvest vespene gas from the Refinery, Extractor, and Assimilator. I wanted the Refinery, Extractor, and Assimilator to work as Automated Refinery
bump
Just give them a modified version of the autoharvester behaviour except the requirement for each needs the command structure of that race.
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
nice, i got it working. it was just the requirements i had to disable from campaign