For future reference to anyone:
You can link any structure to any add-on by using the "Behavior - Added On Units +" parameter in the Units tab. You'll need to turn on Advanced Values to see this. You will also need a Behavior to link the two structures together; dupe it from a pre-existing one such as "Tech Lab - Barracks". There's more to it if you want to Morph the Tech Lab through Requirements which can make it a unique add-on for a specific structure, disable itself when no matching structure is attached, etc...
Holy crap, that simple function took me 3 hours to find, under the Units tab of all places. I've been plowing through Behaviors, Abilities, Buttons, Models, Actors, you name it, except for Units 'cause I thought it'd be somewhere else. There was not any threads about this on here, to my knowledge.
Hopefully this helps someone. lol
I guess I might as well always show Advanced Values. Can't believe I overlooked this stupid thing.
I managed to get the structure to build an add-on if you order it to in mid-air (Lift Off). It still can't build the add-on from the ground, which has got me scratching my head.
There also seems to be a problem with the Tech Lab Morph ability detecting the structure in question. It's either that or the structure isn't being recognized as a parent of add-ons to begin with. Halp!
This might be a stupid question but it seems easy to overlook. What I am trying to accomplish is a custom Terran structure that can construct add-ons akin to the Barracks, Factory, and Starport. I've got everything working great so far, but there's one last detail that's eluding me from achieving full functionality:
The custom structure is not being recognized as an add-on parent. :| Whenever I attempt to build an add-on and there's space, it won't perform the action. If I place it next to the add-on that it constructs in the editor, it won't attach. What gives? I've made custom add-ons for the Starport and Factory and they work perfectly. I removed the add-ons from the Barracks and that works fine too.
[Edit] I also wanted to add that the custom structure could not land next to a pre-placed add-on that it builds. Weird behavior.
I first worked from an original unit (the Fusion Core) and modified it to build add-ons. This didn't work. Is there a flag/ability for "Add-on Parent" that I'm totally overlooking? I then attempted to duplicate the Barracks, then changed the model and actor to the Fusion Core again. Still the same problem. I'm believing that it's something hard-coded (through Events maybe) into the Barracks, Factory, and Starport actors/models, but I can't find where it is.
Has anybody attempted this before and pulled it off and can enlighten me a little?
Derp. I figured it out myself.
For future reference to anyone: You can link any structure to any add-on by using the "Behavior - Added On Units +" parameter in the Units tab. You'll need to turn on Advanced Values to see this. You will also need a Behavior to link the two structures together; dupe it from a pre-existing one such as "Tech Lab - Barracks". There's more to it if you want to Morph the Tech Lab through Requirements which can make it a unique add-on for a specific structure, disable itself when no matching structure is attached, etc...
Holy crap, that simple function took me 3 hours to find, under the Units tab of all places. I've been plowing through Behaviors, Abilities, Buttons, Models, Actors, you name it, except for Units 'cause I thought it'd be somewhere else. There was not any threads about this on here, to my knowledge.
Hopefully this helps someone. lol
I guess I might as well always show Advanced Values. Can't believe I overlooked this stupid thing.
/thread
Bump.
I managed to get the structure to build an add-on if you order it to in mid-air (Lift Off). It still can't build the add-on from the ground, which has got me scratching my head.
There also seems to be a problem with the Tech Lab Morph ability detecting the structure in question. It's either that or the structure isn't being recognized as a parent of add-ons to begin with. Halp!
This might be a stupid question but it seems easy to overlook. What I am trying to accomplish is a custom Terran structure that can construct add-ons akin to the Barracks, Factory, and Starport. I've got everything working great so far, but there's one last detail that's eluding me from achieving full functionality:
The custom structure is not being recognized as an add-on parent. :| Whenever I attempt to build an add-on and there's space, it won't perform the action. If I place it next to the add-on that it constructs in the editor, it won't attach. What gives? I've made custom add-ons for the Starport and Factory and they work perfectly. I removed the add-ons from the Barracks and that works fine too.
[Edit] I also wanted to add that the custom structure could not land next to a pre-placed add-on that it builds. Weird behavior.
I first worked from an original unit (the Fusion Core) and modified it to build add-ons. This didn't work. Is there a flag/ability for "Add-on Parent" that I'm totally overlooking? I then attempted to duplicate the Barracks, then changed the model and actor to the Fusion Core again. Still the same problem. I'm believing that it's something hard-coded (through Events maybe) into the Barracks, Factory, and Starport actors/models, but I can't find where it is.
Has anybody attempted this before and pulled it off and can enlighten me a little?